/fs/hpfs/ |
H A D | buffer.c | 86 void *hpfs_map_4sectors(struct super_block *s, unsigned secno, struct quad_buffer_head *qbh, argument 102 if (!(qbh->bh[0] = sb_bread(s, secno + 0))) goto bail0; 103 if (!(qbh->bh[1] = sb_bread(s, secno + 1))) goto bail1; 104 if (!(qbh->bh[2] = sb_bread(s, secno + 2))) goto bail2; 105 if (!(qbh->bh[3] = sb_bread(s, secno + 3))) goto bail3; 107 if (likely(qbh->bh[1]->b_data == qbh->bh[0]->b_data + 1 * 512) && 108 likely(qbh->bh[2]->b_data == qbh->bh[0]->b_data + 2 * 512) && 109 likely(qbh 140 hpfs_get_4sectors(struct super_block *s, unsigned secno, struct quad_buffer_head *qbh) argument 182 hpfs_brelse4(struct quad_buffer_head *qbh) argument 192 hpfs_mark_4buffers_dirty(struct quad_buffer_head *qbh) argument [all...] |
H A D | inode.c | 212 struct quad_buffer_head qbh; local 217 if (!(de = map_fnode_dirent(i->i_sb, i->i_ino, fnode, &qbh))) { 236 hpfs_mark_4buffers_dirty(&qbh); 237 hpfs_brelse4(&qbh); 240 if ((de = map_dirent(i, hpfs_inode->i_dno, "\001\001", 2, NULL, &qbh))) { 247 hpfs_mark_4buffers_dirty(&qbh); 248 hpfs_brelse4(&qbh);
|
H A D | dir.c | 27 struct quad_buffer_head qbh; local 43 if (map_pos_dirent(i, &pos, &qbh)) hpfs_brelse4(&qbh); 64 struct quad_buffer_head qbh; local 149 if (!(de = map_pos_dirent(inode, &next_pos, &qbh))) { 162 hpfs_brelse4(&qbh); 169 hpfs_brelse4(&qbh); 174 hpfs_brelse4(&qbh); 200 struct quad_buffer_head qbh; local 220 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, NULL, &qbh); [all...] |
H A D | alloc.c | 70 struct quad_buffer_head qbh; local 72 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; 77 hpfs_brelse4(&qbh); 80 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto fail; 85 hpfs_brelse4(&qbh); 89 hpfs_brelse4(&qbh); 116 struct quad_buffer_head qbh; local 129 if (!(bmp = hpfs_map_bitmap(s, near >> 14, &qbh, "aib"))) goto uls; 131 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto uls; 186 hpfs_mark_4buffers_dirty(&qbh); 297 struct quad_buffer_head qbh; local 316 struct quad_buffer_head qbh; local 364 struct quad_buffer_head qbh; local 414 struct quad_buffer_head qbh; local 427 hpfs_alloc_dnode(struct super_block *s, secno near, dnode_secno *dno, struct quad_buffer_head *qbh) argument [all...] |
H A D | map.c | 11 __le32 *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) 31 ret = hpfs_map_4sectors(s, sec, qbh, 4); 230 struct quad_buffer_head *qbh) 240 if ((dnode = hpfs_map_4sectors(s, secno, qbh, DNODE_RD_AHEAD))) 291 hpfs_brelse4(qbh); 16 hpfs_map_bitmap(struct super_block *s, unsigned bmp_block, struct quad_buffer_head *qbh, char *id) argument 229 hpfs_map_dnode(struct super_block *s, unsigned secno, struct quad_buffer_head *qbh) argument
|
H A D | namei.c | 360 struct quad_buffer_head qbh; local 372 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh); 384 r = hpfs_remove_dirent(dir, dno, de, &qbh, 1); 424 hpfs_brelse4(&qbh); 434 struct quad_buffer_head qbh; local 445 de = map_dirent(dir, hpfs_i(dir)->i_dno, name, len, &dno, &qbh); 462 r = hpfs_remove_dirent(dir, dno, de, &qbh, 1); 478 hpfs_brelse4(&qbh); 527 struct quad_buffer_head qbh, qbh1; local 549 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { [all...] |
H A D | dnode.c | 218 struct quad_buffer_head qbh; local 220 if ((dd = hpfs_map_dnode(s, de_down_pointer(de), &qbh))) { 224 hpfs_mark_4buffers_dirty(&qbh); 226 hpfs_brelse4(&qbh); 237 struct quad_buffer_head qbh, qbh1, qbh2; local 259 if (!(d = hpfs_map_dnode(i->i_sb, dno, &qbh))) { 267 hpfs_brelse4(&qbh); 279 hpfs_mark_4buffers_dirty(&qbh); 280 hpfs_brelse4(&qbh); 292 hpfs_brelse4(&qbh); 390 struct quad_buffer_head qbh; local 435 struct quad_buffer_head qbh; local 518 struct quad_buffer_head qbh; local 708 hpfs_remove_dirent(struct inode *i, dnode_secno dno, struct hpfs_dirent *de, struct quad_buffer_head *qbh, int depth) argument 745 struct quad_buffer_head qbh; local 794 map_nth_dirent(struct super_block *s, dnode_secno dno, int n, struct quad_buffer_head *qbh, struct dnode **dn) argument 818 struct quad_buffer_head qbh; local 842 map_pos_dirent(struct inode *inode, loff_t *posp, struct quad_buffer_head *qbh) argument 907 map_dirent(struct inode *inode, dnode_secno dno, const unsigned char *name, unsigned len, dnode_secno *dd, struct quad_buffer_head *qbh) argument 950 struct quad_buffer_head qbh; local 996 map_fnode_dirent(struct super_block *s, fnode_secno fno, struct fnode *f, struct quad_buffer_head *qbh) argument [all...] |
H A D | super.c | 130 struct quad_buffer_head qbh; local 134 bits = hpfs_map_4sectors(s, secno, &qbh, 0); 138 hpfs_brelse4(&qbh); 503 struct quad_buffer_head qbh; local 684 de = map_dirent(root, root_dno, "\001\001", 2, NULL, &qbh); 700 hpfs_brelse4(&qbh);
|
/fs/ocfs2/ |
H A D | quota_local.c | 475 struct buffer_head *hbh = NULL, *qbh = NULL; local 495 qbh = NULL; 498 &qbh); 503 dqblk = (struct ocfs2_local_disk_dqblk *)(qbh->b_data + 551 qbh, OCFS2_JOURNAL_ACCESS_WRITE); 556 lock_buffer(qbh); 560 unlock_buffer(qbh); 561 ocfs2_journal_dirty(handle, qbh); 570 brelse(qbh);
|