Lines Matching refs:bu_bhs
61 struct buffer_head *bu_bhs[OCFS2_XATTR_MAX_BLOCKS_PER_BUCKET]; member
312 #define bucket_blkno(_b) ((_b)->bu_bhs[0]->b_blocknr)
313 #define bucket_block(_b, _n) ((_b)->bu_bhs[(_n)]->b_data)
337 brelse(bucket->bu_bhs[i]); in ocfs2_xattr_bucket_relse()
338 bucket->bu_bhs[i] = NULL; in ocfs2_xattr_bucket_relse()
363 bucket->bu_bhs[i] = sb_getblk(bucket->bu_inode->i_sb, in ocfs2_init_xattr_bucket()
365 if (!bucket->bu_bhs[i]) { in ocfs2_init_xattr_bucket()
372 bucket->bu_bhs[i])) { in ocfs2_init_xattr_bucket()
375 bucket->bu_bhs[i]); in ocfs2_init_xattr_bucket()
377 set_buffer_uptodate(bucket->bu_bhs[i]); in ocfs2_init_xattr_bucket()
379 bucket->bu_bhs[i]); in ocfs2_init_xattr_bucket()
396 bucket->bu_blocks, bucket->bu_bhs, 0, in ocfs2_read_xattr_bucket()
401 bucket->bu_bhs, in ocfs2_read_xattr_bucket()
423 bucket->bu_bhs[i], type); in ocfs2_xattr_bucket_journal_access()
440 bucket->bu_bhs, bucket->bu_blocks, in ocfs2_xattr_bucket_journal_dirty()
445 ocfs2_journal_dirty(handle, bucket->bu_bhs[i]); in ocfs2_xattr_bucket_journal_dirty()
1877 BUG_ON(!bucket->bu_bhs[block_offset]); in ocfs2_xa_bucket_fill_value_buf()
1880 vb->vb_bh = bucket->bu_bhs[block_offset]; in ocfs2_xa_bucket_fill_value_buf()
5374 vb.vb_bh = bucket->bu_bhs[value_blk]; in ocfs2_xattr_bucket_value_truncate()
5800 vb.vb_bh = xbs->bucket->bu_bhs[block_off]; in ocfs2_prepare_refcount_xattr()
6020 *bh = bucket->bu_bhs[block_off]; in ocfs2_get_xattr_tree_value_root()
6038 (struct ocfs2_xattr_header *)bucket->bu_bhs[0]->b_data; in ocfs2_xattr_bucket_value_refcount()
6678 if (bh == args->old_bucket->bu_bhs[0]) in ocfs2_get_reflink_xattr_value_root()
6715 (struct ocfs2_xattr_header *)bucket->bu_bhs[0]->b_data; in ocfs2_calc_value_tree_metas()
6719 return ocfs2_value_metas_in_xattr_header(inode->i_sb, bucket->bu_bhs[0], in ocfs2_calc_value_tree_metas()
6872 args->old_bucket->bu_bhs[0], in ocfs2_reflink_xattr_bucket()
6874 args->new_bucket->bu_bhs[0], in ocfs2_reflink_xattr_bucket()