Home
last modified time | relevance | path

Searched refs:valuelen (Results 1 – 15 of 15) sorted by relevance

/fs/xfs/libxfs/
Dxfs_attr_remote.c254 int *valuelen, in xfs_attr_rmtval_copyout() argument
264 while (len > 0 && *valuelen > 0) { in xfs_attr_rmtval_copyout()
268 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyout()
289 *valuelen -= byte_cnt; in xfs_attr_rmtval_copyout()
302 int *valuelen, in xfs_attr_rmtval_copyin() argument
312 while (len > 0 && *valuelen > 0) { in xfs_attr_rmtval_copyin()
316 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyin()
327 ASSERT(*valuelen - byte_cnt == 0); in xfs_attr_rmtval_copyin()
339 *valuelen -= byte_cnt; in xfs_attr_rmtval_copyin()
358 int valuelen; in xfs_attr_rmtval_get() local
[all …]
Dxfs_attr_leaf.c560 size = XFS_ATTR_SF_ENTSIZE_BYNAME(args->namelen, args->valuelen); in xfs_attr_shortform_add()
566 sfe->valuelen = args->valuelen; in xfs_attr_shortform_add()
569 memcpy(&sfe->nameval[args->namelen], args->value, args->valuelen); in xfs_attr_shortform_add()
720 args->valuelen = sfe->valuelen; in xfs_attr_shortform_getvalue()
723 if (args->valuelen < sfe->valuelen) { in xfs_attr_shortform_getvalue()
724 args->valuelen = sfe->valuelen; in xfs_attr_shortform_getvalue()
727 args->valuelen = sfe->valuelen; in xfs_attr_shortform_getvalue()
729 args->valuelen); in xfs_attr_shortform_getvalue()
805 nargs.valuelen = sfe->valuelen; in xfs_attr_shortform_to_leaf()
854 if (be16_to_cpu(name_loc->valuelen) >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_allfit()
[all …]
Dxfs_attr_sf.h38 __uint8_t valuelen; /* actual length of value (no NULL) */ member
52 __uint8_t valuelen; /* length of value */ member
63 ((int)sizeof(xfs_attr_sf_entry_t)-1 + (sfep)->namelen+(sfep)->valuelen)
Dxfs_attr.c138 args.valuelen = *valuelenp; in xfs_attr_get()
153 *valuelenp = args.valuelen; in xfs_attr_get()
185 uint dblocks = xfs_attr3_rmt_blocks(mp, args->valuelen); in xfs_attr_calc_size()
198 int valuelen, in xfs_attr_set() argument
219 args.valuelen = valuelen; in xfs_attr_set()
235 XFS_ATTR_SF_ENTSIZE_BYNAME(args.namelen, valuelen); in xfs_attr_set()
542 args->valuelen >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_addname()
546 newsize += XFS_ATTR_SF_ENTSIZE_BYNAME(args->namelen, args->valuelen); in xfs_attr_shortform_addname()
Dxfs_da_format.h668 __be16 valuelen; /* number of bytes in value */ member
675 __be32 valuelen; /* number of bytes in value */ member
Dxfs_attr_leaf.h36 int valuelen; /* number of bytes in value */ member
Dxfs_da_btree.h67 int valuelen; /* length of value */ member
Dxfs_dir2.c344 args->valuelen = len; in xfs_dir_cilookup_result()
420 ci_name->len = args->valuelen; in xfs_dir_lookup()
/fs/xfs/
Dxfs_attr_list.c109 (int)sfe->valuelen, in xfs_attr_shortform_list()
156 sbp->valuelen = sfe->valuelen; in xfs_attr_shortform_list()
201 sbp->valuelen, in xfs_attr_shortform_list()
433 be16_to_cpu(name_loc->valuelen), in xfs_attr3_leaf_list_int()
441 int valuelen = be32_to_cpu(name_rmt->valuelen); in xfs_attr3_leaf_list_int() local
450 args.valuelen = valuelen; in xfs_attr3_leaf_list_int()
451 args.rmtvaluelen = valuelen; in xfs_attr3_leaf_list_int()
452 args.value = kmem_alloc(valuelen, KM_SLEEP | KM_NOFS); in xfs_attr3_leaf_list_int()
455 args.dp->i_mount, valuelen); in xfs_attr3_leaf_list_int()
462 valuelen, in xfs_attr3_leaf_list_int()
[all …]
Dxfs_attr_inactive.c179 lp->valuelen = xfs_attr3_rmt_blocks(dp->i_mount, in xfs_attr3_leaf_inactive()
180 be32_to_cpu(name_rmt->valuelen)); in xfs_attr3_leaf_inactive()
193 lp->valueblk, lp->valuelen); in xfs_attr3_leaf_inactive()
Dxfs_xattr.c164 int valuelen, in xfs_xattr_put_listent() argument
202 int valuelen, in xfs_xattr_put_listent_sizes() argument
Dxfs_attr.h149 unsigned char *value, int valuelen, int flags);
Dxfs_trace.h1758 __field(int, valuelen)
1768 __entry->valuelen = args->valuelen;
1779 __entry->valuelen,
/fs/jfs/
Djfs_xattr.h30 __le16 valuelen; /* Length of value */ member
48 le16_to_cpu((ea)->valuelen))
Dxattr.c812 ea->valuelen = (cpu_to_le16(value_len)); in __jfs_setxattr()
917 size = le16_to_cpu(ea->valuelen); in __jfs_getxattr()