Searched refs:qbh (Results 1 - 9 of 9) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hpfs/
H A Dbuffer.c67 void *hpfs_map_4sectors(struct super_block *s, unsigned secno, struct quad_buffer_head *qbh, argument
80 qbh->data = data = kmalloc(2048, GFP_NOFS);
86 qbh->bh[0] = bh = sb_bread(s, secno);
91 qbh->bh[1] = bh = sb_bread(s, secno + 1);
96 qbh->bh[2] = bh = sb_bread(s, secno + 2);
101 qbh->bh[3] = bh = sb_bread(s, secno + 3);
109 brelse(qbh->bh[2]);
111 brelse(qbh->bh[1]);
113 brelse(qbh->bh[0]);
124 struct quad_buffer_head *qbh)
123 hpfs_get_4sectors(struct super_block *s, unsigned secno, struct quad_buffer_head *qbh) argument
156 hpfs_brelse4(struct quad_buffer_head *qbh) argument
165 hpfs_mark_4buffers_dirty(struct quad_buffer_head *qbh) argument
[all...]
H A Dalloc.c20 struct quad_buffer_head qbh; local
22 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail;
27 hpfs_brelse4(&qbh);
30 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto fail;
35 hpfs_brelse4(&qbh);
39 hpfs_brelse4(&qbh);
66 struct quad_buffer_head qbh; local
80 if (!(bmp = hpfs_map_bitmap(s, near >> 14, &qbh, "aib"))) goto uls;
82 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto uls;
141 hpfs_mark_4buffers_dirty(&qbh);
250 struct quad_buffer_head qbh; local
280 struct quad_buffer_head qbh; local
331 struct quad_buffer_head qbh; local
381 struct quad_buffer_head qbh; local
396 hpfs_alloc_dnode(struct super_block *s, secno near, dnode_secno *dno, struct quad_buffer_head *qbh, int lock) argument
[all...]
H A Ddnode.c211 struct quad_buffer_head qbh; local
213 if ((dd = hpfs_map_dnode(s, de_down_pointer(de), &qbh))) {
217 hpfs_mark_4buffers_dirty(&qbh);
219 hpfs_brelse4(&qbh);
230 struct quad_buffer_head qbh, qbh1, qbh2; local
252 if (!(d = hpfs_map_dnode(i->i_sb, dno, &qbh))) {
260 hpfs_brelse4(&qbh);
272 hpfs_mark_4buffers_dirty(&qbh);
273 hpfs_brelse4(&qbh);
285 hpfs_brelse4(&qbh);
381 struct quad_buffer_head qbh; local
428 struct quad_buffer_head qbh; local
511 struct quad_buffer_head qbh; local
699 hpfs_remove_dirent(struct inode *i, dnode_secno dno, struct hpfs_dirent *de, struct quad_buffer_head *qbh, int depth) argument
742 struct quad_buffer_head qbh; local
791 map_nth_dirent(struct super_block *s, dnode_secno dno, int n, struct quad_buffer_head *qbh, struct dnode **dn) argument
815 struct quad_buffer_head qbh; local
839 map_pos_dirent(struct inode *inode, loff_t *posp, struct quad_buffer_head *qbh) argument
904 map_dirent(struct inode *inode, dnode_secno dno, const unsigned char *name, unsigned len, dnode_secno *dd, struct quad_buffer_head *qbh) argument
947 struct quad_buffer_head qbh; local
993 map_fnode_dirent(struct super_block *s, fnode_secno fno, struct fnode *f, struct quad_buffer_head *qbh) argument
[all...]
H A Ddir.c28 struct quad_buffer_head qbh; local
40 if (map_pos_dirent(i, &pos, &qbh)) hpfs_brelse4(&qbh);
59 struct quad_buffer_head qbh; local
144 if (!(de = map_pos_dirent(inode, &filp->f_pos, &qbh))) {
156 hpfs_brelse4(&qbh);
163 hpfs_brelse4(&qbh);
167 hpfs_brelse4(&qbh);
193 struct quad_buffer_head qbh; local
213 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, NULL, &qbh);
[all...]
H A Dmap.c11 unsigned *hpfs_map_dnode_bitmap(struct super_block *s, struct quad_buffer_head *qbh) argument
13 return hpfs_map_4sectors(s, hpfs_sb(s)->sb_dmap, qbh, 0);
17 struct quad_buffer_head *qbh, char *id)
29 return hpfs_map_4sectors(s, sec, qbh, 4);
207 struct quad_buffer_head *qbh)
217 if ((dnode = hpfs_map_4sectors(s, secno, qbh, DNODE_RD_AHEAD)))
266 hpfs_brelse4(qbh);
16 hpfs_map_bitmap(struct super_block *s, unsigned bmp_block, struct quad_buffer_head *qbh, char *id) argument
206 hpfs_map_dnode(struct super_block *s, unsigned secno, struct quad_buffer_head *qbh) argument
H A Dinode.c219 struct quad_buffer_head qbh; local
224 if (!(de = map_fnode_dirent(i->i_sb, i->i_ino, fnode, &qbh))) {
243 hpfs_mark_4buffers_dirty(&qbh);
244 hpfs_brelse4(&qbh);
247 if ((de = map_dirent(i, hpfs_inode->i_dno, "\001\001", 2, NULL, &qbh))) {
254 hpfs_mark_4buffers_dirty(&qbh);
255 hpfs_brelse4(&qbh);
H A Dnamei.c374 struct quad_buffer_head qbh; local
389 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh);
402 r = hpfs_remove_dirent(dir, dno, de, &qbh, 1);
447 hpfs_brelse4(&qbh);
459 struct quad_buffer_head qbh; local
473 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh);
491 r = hpfs_remove_dirent(dir, dno, de, &qbh, 1);
507 hpfs_brelse4(&qbh);
558 struct quad_buffer_head qbh, qbh1; local
585 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) {
[all...]
H A Dsuper.c119 struct quad_buffer_head qbh; local
123 bits = hpfs_map_4sectors(s, secno, &qbh, 4);
127 hpfs_brelse4(&qbh);
476 struct quad_buffer_head qbh; local
651 de = map_dirent(root, root_dno, "\001\001", 2, NULL, &qbh);
667 hpfs_brelse4(&qbh);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/
H A Dquota_local.c472 struct buffer_head *hbh = NULL, *qbh = NULL; local
492 qbh = NULL;
495 &qbh);
500 dqblk = (struct ocfs2_local_disk_dqblk *)(qbh->b_data +
546 qbh, OCFS2_JOURNAL_ACCESS_WRITE);
551 lock_buffer(qbh);
555 unlock_buffer(qbh);
556 ocfs2_journal_dirty(handle, qbh);
565 brelse(qbh);

Completed in 38 milliseconds