Lines Matching refs:vb

189 				   struct ocfs2_xattr_value_buf *vb);
715 struct ocfs2_xattr_value_buf *vb, in ocfs2_xattr_extend_allocation() argument
721 u32 prev_clusters, logical_start = le32_to_cpu(vb->vb_xv->xr_clusters); in ocfs2_xattr_extend_allocation()
724 ocfs2_init_xattr_value_extent_tree(&et, INODE_CACHE(inode), vb); in ocfs2_xattr_extend_allocation()
729 status = vb->vb_access(handle, INODE_CACHE(inode), vb->vb_bh, in ocfs2_xattr_extend_allocation()
736 prev_clusters = le32_to_cpu(vb->vb_xv->xr_clusters); in ocfs2_xattr_extend_allocation()
751 ocfs2_journal_dirty(handle, vb->vb_bh); in ocfs2_xattr_extend_allocation()
753 clusters_to_add -= le32_to_cpu(vb->vb_xv->xr_clusters) - in ocfs2_xattr_extend_allocation()
764 &vb->vb_xv->xr_list); in ocfs2_xattr_extend_allocation()
778 struct ocfs2_xattr_value_buf *vb, in __ocfs2_remove_xattr_range() argument
788 ocfs2_init_xattr_value_extent_tree(&et, INODE_CACHE(inode), vb); in __ocfs2_remove_xattr_range()
790 ret = vb->vb_access(handle, INODE_CACHE(inode), vb->vb_bh, in __ocfs2_remove_xattr_range()
804 le32_add_cpu(&vb->vb_xv->xr_clusters, -len); in __ocfs2_remove_xattr_range()
805 ocfs2_journal_dirty(handle, vb->vb_bh); in __ocfs2_remove_xattr_range()
825 struct ocfs2_xattr_value_buf *vb, in ocfs2_xattr_shrink_size() argument
841 &vb->vb_xv->xr_list, &ext_flags); in ocfs2_xattr_shrink_size()
850 ret = __ocfs2_remove_xattr_range(inode, vb, cpos, in ocfs2_xattr_shrink_size()
870 struct ocfs2_xattr_value_buf *vb, in ocfs2_xattr_value_truncate() argument
876 u32 old_clusters = le32_to_cpu(vb->vb_xv->xr_clusters); in ocfs2_xattr_value_truncate()
884 vb, ctxt); in ocfs2_xattr_value_truncate()
888 vb, ctxt); in ocfs2_xattr_value_truncate()
1338 struct ocfs2_xattr_value_buf *vb, in __ocfs2_xattr_set_value_outside() argument
1350 struct ocfs2_xattr_value_root *xv = vb->vb_xv; in __ocfs2_xattr_set_value_outside()
1515 struct ocfs2_xattr_value_buf *vb) in ocfs2_xa_fill_value_buf() argument
1525 loc->xl_ops->xlo_fill_value_buf(loc, vb); in ocfs2_xa_fill_value_buf()
1526 vb->vb_xv = in ocfs2_xa_fill_value_buf()
1663 struct ocfs2_xattr_value_buf *vb) in ocfs2_xa_block_fill_value_buf() argument
1670 vb->vb_access = ocfs2_journal_access_xb; in ocfs2_xa_block_fill_value_buf()
1672 vb->vb_access = ocfs2_journal_access_di; in ocfs2_xa_block_fill_value_buf()
1673 vb->vb_bh = bh; in ocfs2_xa_block_fill_value_buf()
1851 struct ocfs2_xattr_value_buf *vb) in ocfs2_xa_bucket_fill_value_buf() argument
1865 vb->vb_access = ocfs2_journal_access; in ocfs2_xa_bucket_fill_value_buf()
1866 vb->vb_bh = bucket->bu_bhs[block_offset]; in ocfs2_xa_bucket_fill_value_buf()
1885 struct ocfs2_xattr_value_buf vb; in ocfs2_xa_value_clusters() local
1890 ocfs2_xa_fill_value_buf(loc, &vb); in ocfs2_xa_value_clusters()
1891 return le32_to_cpu(vb.vb_xv->xr_clusters); in ocfs2_xa_value_clusters()
1898 struct ocfs2_xattr_value_buf vb; in ocfs2_xa_value_truncate() local
1900 ocfs2_xa_fill_value_buf(loc, &vb); in ocfs2_xa_value_truncate()
1901 trunc_rc = ocfs2_xattr_value_truncate(loc->xl_inode, &vb, bytes, in ocfs2_xa_value_truncate()
2196 struct ocfs2_xattr_value_buf vb; in ocfs2_xa_store_value() local
2200 ocfs2_xa_fill_value_buf(loc, &vb); in ocfs2_xa_store_value()
2202 ctxt->handle, &vb, in ocfs2_xa_store_value()
2352 struct ocfs2_xattr_value_buf *vb, in ocfs2_remove_value_outside() argument
2372 vb->vb_xv = (struct ocfs2_xattr_value_root *) in ocfs2_remove_value_outside()
2375 ret = ocfs2_lock_xattr_remove_allocators(inode, vb->vb_xv, in ocfs2_remove_value_outside()
2388 ret = ocfs2_xattr_value_truncate(inode, vb, 0, &ctxt); in ocfs2_remove_value_outside()
2419 struct ocfs2_xattr_value_buf vb = { in ocfs2_xattr_ibody_remove() local
2428 ret = ocfs2_remove_value_outside(inode, &vb, header, in ocfs2_xattr_ibody_remove()
2446 struct ocfs2_xattr_value_buf vb = { in ocfs2_xattr_block_remove() local
2458 ret = ocfs2_remove_value_outside(inode, &vb, header, in ocfs2_xattr_block_remove()
5359 struct ocfs2_xattr_value_buf vb = { in ocfs2_xattr_bucket_value_truncate() local
5375 vb.vb_bh = bucket->bu_bhs[value_blk]; in ocfs2_xattr_bucket_value_truncate()
5376 BUG_ON(!vb.vb_bh); in ocfs2_xattr_bucket_value_truncate()
5378 vb.vb_xv = (struct ocfs2_xattr_value_root *) in ocfs2_xattr_bucket_value_truncate()
5379 (vb.vb_bh->b_data + offset % blocksize); in ocfs2_xattr_bucket_value_truncate()
5390 ret = ocfs2_xattr_value_truncate(inode, &vb, len, ctxt); in ocfs2_xattr_bucket_value_truncate()
5769 struct ocfs2_xattr_value_buf vb; in ocfs2_prepare_refcount_xattr() local
5781 vb.vb_bh = xis->inode_bh; in ocfs2_prepare_refcount_xattr()
5782 vb.vb_access = ocfs2_journal_access_di; in ocfs2_prepare_refcount_xattr()
5801 vb.vb_bh = xbs->bucket->bu_bhs[block_off]; in ocfs2_prepare_refcount_xattr()
5802 vb.vb_access = ocfs2_journal_access; in ocfs2_prepare_refcount_xattr()
5815 vb.vb_bh = xbs->xattr_bh; in ocfs2_prepare_refcount_xattr()
5816 vb.vb_access = ocfs2_journal_access_xb; in ocfs2_prepare_refcount_xattr()
5823 vb.vb_xv = (struct ocfs2_xattr_value_root *) in ocfs2_prepare_refcount_xattr()
5827 &num_clusters, &vb.vb_xv->xr_list, in ocfs2_prepare_refcount_xattr()
5861 ref_root_bh, vb.vb_xv, in ocfs2_prepare_refcount_xattr()
5868 ret = ocfs2_refcount_cow_xattr(inode, di, &vb, in ocfs2_prepare_refcount_xattr()
5870 le32_to_cpu(vb.vb_xv->xr_clusters), p); in ocfs2_prepare_refcount_xattr()
5932 struct ocfs2_xattr_value_buf *vb, in ocfs2_xattr_attach_refcount_normal() argument
5954 vb->vb_xv = xv; in ocfs2_xattr_attach_refcount_normal()
5955 ocfs2_init_xattr_value_extent_tree(&et, INODE_CACHE(inode), vb); in ocfs2_xattr_attach_refcount_normal()
5979 struct ocfs2_xattr_value_buf vb = { in ocfs2_xattr_inline_attach_refcount() local
5984 return ocfs2_xattr_attach_refcount_normal(inode, &vb, header, in ocfs2_xattr_inline_attach_refcount()
6041 struct ocfs2_xattr_value_buf vb = { in ocfs2_xattr_bucket_value_refcount() local
6065 &vb.vb_xv, &vb.vb_bh); in ocfs2_xattr_bucket_value_refcount()
6072 INODE_CACHE(inode), &vb); in ocfs2_xattr_bucket_value_refcount()
6074 ret = ocfs2_xattr_value_attach_refcount(inode, vb.vb_xv, in ocfs2_xattr_bucket_value_refcount()
6109 struct ocfs2_xattr_value_buf vb = { in ocfs2_xattr_block_attach_refcount() local
6114 ret = ocfs2_xattr_attach_refcount_normal(inode, &vb, header, in ocfs2_xattr_block_attach_refcount()
6338 struct ocfs2_xattr_value_buf *vb, in ocfs2_reflink_xattr_header() argument
6405 vb->vb_xv = new_xv; in ocfs2_reflink_xattr_header()
6406 vb->vb_bh = value_bh; in ocfs2_reflink_xattr_header()
6408 INODE_CACHE(args->new_inode), vb); in ocfs2_reflink_xattr_header()
6473 struct ocfs2_xattr_value_buf vb = { in ocfs2_reflink_xattr_inline() local
6506 args->new_bh, new_xh, &vb, meta_ac, in ocfs2_reflink_xattr_inline()
6593 struct ocfs2_xattr_value_buf vb = { in ocfs2_reflink_xattr_block() local
6635 new_blk_bh, new_xh, &vb, meta_ac, in ocfs2_reflink_xattr_block()
6837 struct ocfs2_xattr_value_buf vb = { in ocfs2_reflink_xattr_bucket() local
6886 &vb, meta_ac, in ocfs2_reflink_xattr_bucket()