• Home
  • Raw
  • Download

Lines Matching refs:vb

181 				   struct ocfs2_xattr_value_buf *vb);
703 struct ocfs2_xattr_value_buf *vb, in ocfs2_xattr_extend_allocation() argument
709 u32 prev_clusters, logical_start = le32_to_cpu(vb->vb_xv->xr_clusters); in ocfs2_xattr_extend_allocation()
712 ocfs2_init_xattr_value_extent_tree(&et, INODE_CACHE(inode), vb); in ocfs2_xattr_extend_allocation()
717 status = vb->vb_access(handle, INODE_CACHE(inode), vb->vb_bh, in ocfs2_xattr_extend_allocation()
724 prev_clusters = le32_to_cpu(vb->vb_xv->xr_clusters); in ocfs2_xattr_extend_allocation()
739 ocfs2_journal_dirty(handle, vb->vb_bh); in ocfs2_xattr_extend_allocation()
741 clusters_to_add -= le32_to_cpu(vb->vb_xv->xr_clusters) - in ocfs2_xattr_extend_allocation()
752 &vb->vb_xv->xr_list); in ocfs2_xattr_extend_allocation()
766 struct ocfs2_xattr_value_buf *vb, in __ocfs2_remove_xattr_range() argument
776 ocfs2_init_xattr_value_extent_tree(&et, INODE_CACHE(inode), vb); in __ocfs2_remove_xattr_range()
778 ret = vb->vb_access(handle, INODE_CACHE(inode), vb->vb_bh, in __ocfs2_remove_xattr_range()
792 le32_add_cpu(&vb->vb_xv->xr_clusters, -len); in __ocfs2_remove_xattr_range()
793 ocfs2_journal_dirty(handle, vb->vb_bh); in __ocfs2_remove_xattr_range()
813 struct ocfs2_xattr_value_buf *vb, in ocfs2_xattr_shrink_size() argument
829 &vb->vb_xv->xr_list, &ext_flags); in ocfs2_xattr_shrink_size()
838 ret = __ocfs2_remove_xattr_range(inode, vb, cpos, in ocfs2_xattr_shrink_size()
858 struct ocfs2_xattr_value_buf *vb, in ocfs2_xattr_value_truncate() argument
864 u32 old_clusters = le32_to_cpu(vb->vb_xv->xr_clusters); in ocfs2_xattr_value_truncate()
872 vb, ctxt); in ocfs2_xattr_value_truncate()
876 vb, ctxt); in ocfs2_xattr_value_truncate()
1349 struct ocfs2_xattr_value_buf *vb, in __ocfs2_xattr_set_value_outside() argument
1361 struct ocfs2_xattr_value_root *xv = vb->vb_xv; in __ocfs2_xattr_set_value_outside()
1526 struct ocfs2_xattr_value_buf *vb) in ocfs2_xa_fill_value_buf() argument
1536 loc->xl_ops->xlo_fill_value_buf(loc, vb); in ocfs2_xa_fill_value_buf()
1537 vb->vb_xv = in ocfs2_xa_fill_value_buf()
1674 struct ocfs2_xattr_value_buf *vb) in ocfs2_xa_block_fill_value_buf() argument
1681 vb->vb_access = ocfs2_journal_access_xb; in ocfs2_xa_block_fill_value_buf()
1683 vb->vb_access = ocfs2_journal_access_di; in ocfs2_xa_block_fill_value_buf()
1684 vb->vb_bh = bh; in ocfs2_xa_block_fill_value_buf()
1862 struct ocfs2_xattr_value_buf *vb) in ocfs2_xa_bucket_fill_value_buf() argument
1876 vb->vb_access = ocfs2_journal_access; in ocfs2_xa_bucket_fill_value_buf()
1877 vb->vb_bh = bucket->bu_bhs[block_offset]; in ocfs2_xa_bucket_fill_value_buf()
1896 struct ocfs2_xattr_value_buf vb; in ocfs2_xa_value_clusters() local
1901 ocfs2_xa_fill_value_buf(loc, &vb); in ocfs2_xa_value_clusters()
1902 return le32_to_cpu(vb.vb_xv->xr_clusters); in ocfs2_xa_value_clusters()
1909 struct ocfs2_xattr_value_buf vb; in ocfs2_xa_value_truncate() local
1911 ocfs2_xa_fill_value_buf(loc, &vb); in ocfs2_xa_value_truncate()
1912 trunc_rc = ocfs2_xattr_value_truncate(loc->xl_inode, &vb, bytes, in ocfs2_xa_value_truncate()
2207 struct ocfs2_xattr_value_buf vb; in ocfs2_xa_store_value() local
2211 ocfs2_xa_fill_value_buf(loc, &vb); in ocfs2_xa_store_value()
2213 ctxt->handle, &vb, in ocfs2_xa_store_value()
2363 struct ocfs2_xattr_value_buf *vb, in ocfs2_remove_value_outside() argument
2383 vb->vb_xv = (struct ocfs2_xattr_value_root *) in ocfs2_remove_value_outside()
2386 ret = ocfs2_lock_xattr_remove_allocators(inode, vb->vb_xv, in ocfs2_remove_value_outside()
2399 ret = ocfs2_xattr_value_truncate(inode, vb, 0, &ctxt); in ocfs2_remove_value_outside()
2430 struct ocfs2_xattr_value_buf vb = { in ocfs2_xattr_ibody_remove() local
2439 ret = ocfs2_remove_value_outside(inode, &vb, header, in ocfs2_xattr_ibody_remove()
2457 struct ocfs2_xattr_value_buf vb = { in ocfs2_xattr_block_remove() local
2469 ret = ocfs2_remove_value_outside(inode, &vb, header, in ocfs2_xattr_block_remove()
5365 struct ocfs2_xattr_value_buf vb = { in ocfs2_xattr_bucket_value_truncate() local
5381 vb.vb_bh = bucket->bu_bhs[value_blk]; in ocfs2_xattr_bucket_value_truncate()
5382 BUG_ON(!vb.vb_bh); in ocfs2_xattr_bucket_value_truncate()
5384 vb.vb_xv = (struct ocfs2_xattr_value_root *) in ocfs2_xattr_bucket_value_truncate()
5385 (vb.vb_bh->b_data + offset % blocksize); in ocfs2_xattr_bucket_value_truncate()
5396 ret = ocfs2_xattr_value_truncate(inode, &vb, len, ctxt); in ocfs2_xattr_bucket_value_truncate()
5775 struct ocfs2_xattr_value_buf vb; in ocfs2_prepare_refcount_xattr() local
5787 vb.vb_bh = xis->inode_bh; in ocfs2_prepare_refcount_xattr()
5788 vb.vb_access = ocfs2_journal_access_di; in ocfs2_prepare_refcount_xattr()
5807 vb.vb_bh = xbs->bucket->bu_bhs[block_off]; in ocfs2_prepare_refcount_xattr()
5808 vb.vb_access = ocfs2_journal_access; in ocfs2_prepare_refcount_xattr()
5821 vb.vb_bh = xbs->xattr_bh; in ocfs2_prepare_refcount_xattr()
5822 vb.vb_access = ocfs2_journal_access_xb; in ocfs2_prepare_refcount_xattr()
5829 vb.vb_xv = (struct ocfs2_xattr_value_root *) in ocfs2_prepare_refcount_xattr()
5833 &num_clusters, &vb.vb_xv->xr_list, in ocfs2_prepare_refcount_xattr()
5867 ref_root_bh, vb.vb_xv, in ocfs2_prepare_refcount_xattr()
5874 ret = ocfs2_refcount_cow_xattr(inode, di, &vb, in ocfs2_prepare_refcount_xattr()
5876 le32_to_cpu(vb.vb_xv->xr_clusters), p); in ocfs2_prepare_refcount_xattr()
5938 struct ocfs2_xattr_value_buf *vb, in ocfs2_xattr_attach_refcount_normal() argument
5960 vb->vb_xv = xv; in ocfs2_xattr_attach_refcount_normal()
5961 ocfs2_init_xattr_value_extent_tree(&et, INODE_CACHE(inode), vb); in ocfs2_xattr_attach_refcount_normal()
5985 struct ocfs2_xattr_value_buf vb = { in ocfs2_xattr_inline_attach_refcount() local
5990 return ocfs2_xattr_attach_refcount_normal(inode, &vb, header, in ocfs2_xattr_inline_attach_refcount()
6047 struct ocfs2_xattr_value_buf vb = { in ocfs2_xattr_bucket_value_refcount() local
6071 &vb.vb_xv, &vb.vb_bh); in ocfs2_xattr_bucket_value_refcount()
6078 INODE_CACHE(inode), &vb); in ocfs2_xattr_bucket_value_refcount()
6080 ret = ocfs2_xattr_value_attach_refcount(inode, vb.vb_xv, in ocfs2_xattr_bucket_value_refcount()
6115 struct ocfs2_xattr_value_buf vb = { in ocfs2_xattr_block_attach_refcount() local
6120 ret = ocfs2_xattr_attach_refcount_normal(inode, &vb, header, in ocfs2_xattr_block_attach_refcount()
6344 struct ocfs2_xattr_value_buf *vb, in ocfs2_reflink_xattr_header() argument
6411 vb->vb_xv = new_xv; in ocfs2_reflink_xattr_header()
6412 vb->vb_bh = value_bh; in ocfs2_reflink_xattr_header()
6414 INODE_CACHE(args->new_inode), vb); in ocfs2_reflink_xattr_header()
6479 struct ocfs2_xattr_value_buf vb = { in ocfs2_reflink_xattr_inline() local
6512 args->new_bh, new_xh, &vb, meta_ac, in ocfs2_reflink_xattr_inline()
6599 struct ocfs2_xattr_value_buf vb = { in ocfs2_reflink_xattr_block() local
6641 new_blk_bh, new_xh, &vb, meta_ac, in ocfs2_reflink_xattr_block()
6843 struct ocfs2_xattr_value_buf vb = { in ocfs2_reflink_xattr_bucket() local
6892 &vb, meta_ac, in ocfs2_reflink_xattr_bucket()