H A D | xattr.c | 62 struct ocfs2_xattr_value_root xv; member in struct:ocfs2_xattr_def_value_root 97 .xv.xr_list.l_count = cpu_to_le16(1), 186 * ocfs2_xa_fill_value_buf() will handle the xv pointer. 313 struct ocfs2_xattr_value_root **xv, 1092 struct ocfs2_xattr_value_root *xv, ocfs2_xattr_get_value_outside() 1103 el = &xv->xr_list; ocfs2_xattr_get_value_outside() 1104 clusters = le32_to_cpu(xv->xr_clusters); ocfs2_xattr_get_value_outside() 1152 struct ocfs2_xattr_value_root *xv; ocfs2_xattr_ibody_get() local 1177 xv = (struct ocfs2_xattr_value_root *) ocfs2_xattr_ibody_get() 1181 ret = ocfs2_xattr_get_value_outside(inode, xv, ocfs2_xattr_ibody_get() 1201 struct ocfs2_xattr_value_root *xv; ocfs2_xattr_block_get() local 1251 xv = (struct ocfs2_xattr_value_root *) ocfs2_xattr_block_get() 1253 ret = ocfs2_xattr_get_value_outside(inode, xv, ocfs2_xattr_block_get() 1350 struct ocfs2_xattr_value_root *xv = vb->vb_xv; __ocfs2_xattr_set_value_outside() local 1352 BUG_ON(clusters > le32_to_cpu(xv->xr_clusters)); __ocfs2_xattr_set_value_outside() 1356 &num_clusters, &xv->xr_list, __ocfs2_xattr_set_value_outside() 2311 struct ocfs2_xattr_value_root *xv, ocfs2_lock_xattr_remove_allocators() 2324 &xv->xr_list, ocfs2_lock_xattr_remove_allocators() 2335 ref_root_bh, xv, ocfs2_lock_xattr_remove_allocators() 3038 struct ocfs2_xattr_value_root *xv = NULL; ocfs2_calc_xattr_set_need() local 3060 &def_xv.xv.xr_list); ocfs2_calc_xattr_set_need() 3125 &def_xv.xv.xr_list); ocfs2_calc_xattr_set_need() 3137 xv = (struct ocfs2_xattr_value_root *) ocfs2_calc_xattr_set_need() 3141 xv = &def_xv.xv; ocfs2_calc_xattr_set_need() 3147 meta_add += ocfs2_extend_meta_needed(&xv->xr_list); ocfs2_calc_xattr_set_need() 3150 &xv->xr_list); ocfs2_calc_xattr_set_need() 3217 struct ocfs2_extent_list *el = &def_xv.xv.xr_list; ocfs2_calc_xattr_set_need() 5659 struct ocfs2_xattr_value_root *xv; ocfs2_delete_xattr_in_bucket() local 5671 i, &xv, NULL); ocfs2_delete_xattr_in_bucket() 5677 ret = ocfs2_lock_xattr_remove_allocators(inode, xv, ocfs2_delete_xattr_in_bucket() 5884 struct ocfs2_xattr_value_root *xv, ocfs2_xattr_value_attach_refcount() 5892 u32 clusters = le32_to_cpu(xv->xr_clusters); ocfs2_xattr_value_attach_refcount() 5894 struct ocfs2_extent_list *el = &xv->xr_list; ocfs2_xattr_value_attach_refcount() 5940 struct ocfs2_xattr_value_root *xv; ocfs2_xattr_attach_refcount_normal() local 5950 xv = (struct ocfs2_xattr_value_root *)((void *)header + ocfs2_xattr_attach_refcount_normal() 5954 vb->vb_xv = xv; ocfs2_xattr_attach_refcount_normal() 5957 ret = ocfs2_xattr_value_attach_refcount(inode, xv, &et, ocfs2_xattr_attach_refcount_normal() 5997 struct ocfs2_xattr_value_root **xv, ocfs2_get_xattr_tree_value_root() 6017 *xv = (struct ocfs2_xattr_value_root *)(base + name_offset + ocfs2_get_xattr_tree_value_root() 6192 * return the proper xv and the corresponding bh. 6199 struct ocfs2_xattr_value_root **xv, 6217 struct ocfs2_xattr_value_root *xv; ocfs2_value_metas_in_xattr_header() local 6225 ret = func(sb, bh, xh, i, &xv, NULL, para); ocfs2_value_metas_in_xattr_header() 6231 *metas += le16_to_cpu(xv->xr_list.l_tree_depth) * ocfs2_value_metas_in_xattr_header() 6232 le16_to_cpu(xv->xr_list.l_next_free_rec); ocfs2_value_metas_in_xattr_header() 6235 &def_xv.xv.xr_list); ocfs2_value_metas_in_xattr_header() 6241 if (!xv->xr_list.l_tree_depth) ocfs2_value_metas_in_xattr_header() 6242 *num_recs += le16_to_cpu(xv->xr_list.l_next_free_rec); ocfs2_value_metas_in_xattr_header() 6251 /* Used by xattr inode and block to return the right xv and buffer_head. */ ocfs2_get_xattr_value_root() 6256 struct ocfs2_xattr_value_root **xv, ocfs2_get_xattr_value_root() 6262 *xv = (struct ocfs2_xattr_value_root *)((void *)xh + ocfs2_get_xattr_value_root() 6347 struct ocfs2_xattr_value_root *xv, *new_xv; ocfs2_reflink_xattr_header() local 6381 ret = func(sb, old_bh, xh, i, &xv, NULL, para); ocfs2_reflink_xattr_header() 6403 if (xv->xr_list.l_tree_depth) { ocfs2_reflink_xattr_header() 6411 clusters = le32_to_cpu(xv->xr_clusters); ocfs2_reflink_xattr_header() 6418 &xv->xr_list, ocfs2_reflink_xattr_header() 6427 if (xv->xr_list.l_tree_depth) { ocfs2_reflink_xattr_header() 6680 struct ocfs2_xattr_value_root **xv, ocfs2_get_reflink_xattr_value_root() 6694 xv, ret_bh); ocfs2_get_reflink_xattr_value_root() 6707 struct ocfs2_xattr_value_root **xv, ocfs2_value_tree_metas_in_bucket() 6715 xv, ret_bh); ocfs2_value_tree_metas_in_bucket() 1091 ocfs2_xattr_get_value_outside(struct inode *inode, struct ocfs2_xattr_value_root *xv, void *buffer, size_t len) ocfs2_xattr_get_value_outside() argument 2310 ocfs2_lock_xattr_remove_allocators(struct inode *inode, struct ocfs2_xattr_value_root *xv, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_alloc_context **meta_ac, int *ref_credits) ocfs2_lock_xattr_remove_allocators() argument 5883 ocfs2_xattr_value_attach_refcount(struct inode *inode, struct ocfs2_xattr_value_root *xv, struct ocfs2_extent_tree *value_et, struct ocfs2_caching_info *ref_ci, struct buffer_head *ref_root_bh, struct ocfs2_cached_dealloc_ctxt *dealloc, struct ocfs2_post_refcount *refcount) ocfs2_xattr_value_attach_refcount() argument 5994 ocfs2_get_xattr_tree_value_root(struct super_block *sb, struct ocfs2_xattr_bucket *bucket, int offset, struct ocfs2_xattr_value_root **xv, struct buffer_head **bh) ocfs2_get_xattr_tree_value_root() argument 6252 ocfs2_get_xattr_value_root(struct super_block *sb, struct buffer_head *bh, struct ocfs2_xattr_header *xh, int offset, struct ocfs2_xattr_value_root **xv, struct buffer_head **ret_bh, void *para) ocfs2_get_xattr_value_root() argument 6676 ocfs2_get_reflink_xattr_value_root(struct super_block *sb, struct buffer_head *bh, struct ocfs2_xattr_header *xh, int offset, struct ocfs2_xattr_value_root **xv, struct buffer_head **ret_bh, void *para) ocfs2_get_reflink_xattr_value_root() argument 6703 ocfs2_value_tree_metas_in_bucket(struct super_block *sb, struct buffer_head *bh, struct ocfs2_xattr_header *xh, int offset, struct ocfs2_xattr_value_root **xv, struct buffer_head **ret_bh, void *para) ocfs2_value_tree_metas_in_bucket() argument
|