Lines Matching refs:dirdata_bh
153 struct buffer_head *dirdata_bh) in ocfs2_dx_dir_link_trailer() argument
165 trailer = ocfs2_trailer_from_bh(dirdata_bh, dir->i_sb); in ocfs2_dx_dir_link_trailer()
169 dx_root->dr_free_blk = cpu_to_le64(dirdata_bh->b_blocknr); in ocfs2_dx_dir_link_trailer()
2293 struct buffer_head *dirdata_bh, in ocfs2_dx_dir_attach_index() argument
2306 ocfs2_trailer_from_bh(dirdata_bh, dir->i_sb); in ocfs2_dx_dir_attach_index()
2344 dx_root->dr_free_blk = cpu_to_le64(dirdata_bh->b_blocknr); in ocfs2_dx_dir_attach_index()
2787 struct buffer_head *dirdata_bh = NULL; in ocfs2_expand_inline_dir() local
2899 dirdata_bh = sb_getblk(sb, blkno); in ocfs2_expand_inline_dir()
2900 if (!dirdata_bh) { in ocfs2_expand_inline_dir()
2906 ocfs2_set_new_buffer_uptodate(INODE_CACHE(dir), dirdata_bh); in ocfs2_expand_inline_dir()
2908 ret = ocfs2_journal_access_db(handle, INODE_CACHE(dir), dirdata_bh, in ocfs2_expand_inline_dir()
2915 memcpy(dirdata_bh->b_data, di->id2.i_data.id_data, i_size_read(dir)); in ocfs2_expand_inline_dir()
2916 memset(dirdata_bh->b_data + i_size_read(dir), 0, in ocfs2_expand_inline_dir()
2918 i = ocfs2_expand_last_dirent(dirdata_bh->b_data, i_size_read(dir), dir); in ocfs2_expand_inline_dir()
2926 ocfs2_init_dir_trailer(dir, dirdata_bh, i); in ocfs2_expand_inline_dir()
2930 ocfs2_journal_dirty(handle, dirdata_bh); in ocfs2_expand_inline_dir()
2943 dirdata_bh); in ocfs2_expand_inline_dir()
3001 dirdata_bh, meta_ac, dx_inline, in ocfs2_expand_inline_dir()
3010 dirdata_bh); in ocfs2_expand_inline_dir()
3044 *first_block_bh = dirdata_bh; in ocfs2_expand_inline_dir()
3045 dirdata_bh = NULL; in ocfs2_expand_inline_dir()
3082 brelse(dirdata_bh); in ocfs2_expand_inline_dir()