Lines Matching refs:dirdata_bh

155 				     struct buffer_head *dirdata_bh)  in ocfs2_dx_dir_link_trailer()  argument
167 trailer = ocfs2_trailer_from_bh(dirdata_bh, dir->i_sb); in ocfs2_dx_dir_link_trailer()
171 dx_root->dr_free_blk = cpu_to_le64(dirdata_bh->b_blocknr); in ocfs2_dx_dir_link_trailer()
2287 struct buffer_head *dirdata_bh, in ocfs2_dx_dir_attach_index() argument
2300 ocfs2_trailer_from_bh(dirdata_bh, dir->i_sb); in ocfs2_dx_dir_attach_index()
2338 dx_root->dr_free_blk = cpu_to_le64(dirdata_bh->b_blocknr); in ocfs2_dx_dir_attach_index()
2781 struct buffer_head *dirdata_bh = NULL; in ocfs2_expand_inline_dir() local
2893 dirdata_bh = sb_getblk(sb, blkno); in ocfs2_expand_inline_dir()
2894 if (!dirdata_bh) { in ocfs2_expand_inline_dir()
2900 ocfs2_set_new_buffer_uptodate(INODE_CACHE(dir), dirdata_bh); in ocfs2_expand_inline_dir()
2902 ret = ocfs2_journal_access_db(handle, INODE_CACHE(dir), dirdata_bh, in ocfs2_expand_inline_dir()
2909 memcpy(dirdata_bh->b_data, di->id2.i_data.id_data, i_size_read(dir)); in ocfs2_expand_inline_dir()
2910 memset(dirdata_bh->b_data + i_size_read(dir), 0, in ocfs2_expand_inline_dir()
2912 i = ocfs2_expand_last_dirent(dirdata_bh->b_data, i_size_read(dir), dir); in ocfs2_expand_inline_dir()
2920 ocfs2_init_dir_trailer(dir, dirdata_bh, i); in ocfs2_expand_inline_dir()
2924 ocfs2_journal_dirty(handle, dirdata_bh); in ocfs2_expand_inline_dir()
2937 dirdata_bh); in ocfs2_expand_inline_dir()
2995 dirdata_bh, meta_ac, dx_inline, in ocfs2_expand_inline_dir()
3004 dirdata_bh); in ocfs2_expand_inline_dir()
3038 *first_block_bh = dirdata_bh; in ocfs2_expand_inline_dir()
3039 dirdata_bh = NULL; in ocfs2_expand_inline_dir()
3076 brelse(dirdata_bh); in ocfs2_expand_inline_dir()