Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_attr_remote.c283 int *valuelen, in xfs_attr_rmtval_copyout() argument
293 while (len > 0 && *valuelen > 0) { in xfs_attr_rmtval_copyout()
297 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyout()
318 *valuelen -= byte_cnt; in xfs_attr_rmtval_copyout()
331 int *valuelen, in xfs_attr_rmtval_copyin() argument
341 while (len > 0 && *valuelen > 0) { in xfs_attr_rmtval_copyin()
345 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyin()
356 ASSERT(*valuelen - byte_cnt == 0); in xfs_attr_rmtval_copyin()
368 *valuelen -= byte_cnt; in xfs_attr_rmtval_copyin()
389 int valuelen; in xfs_attr_rmtval_get() local
[all …]
Dxfs_attr_leaf.c271 be16_to_cpu(lentry->valuelen)); in xfs_attr3_leaf_verify_entry()
503 int valuelen) in xfs_attr_copy_value() argument
508 if (!args->valuelen) { in xfs_attr_copy_value()
509 args->valuelen = valuelen; in xfs_attr_copy_value()
516 if (args->valuelen < valuelen) { in xfs_attr_copy_value()
517 args->valuelen = valuelen; in xfs_attr_copy_value()
522 args->value = kvmalloc(valuelen, GFP_KERNEL | __GFP_NOLOCKDEP); in xfs_attr_copy_value()
526 args->valuelen = valuelen; in xfs_attr_copy_value()
540 memcpy(args->value, value, valuelen); in xfs_attr_copy_value()
774 size = xfs_attr_sf_entsize_byname(args->namelen, args->valuelen); in xfs_attr_shortform_add()
[all …]
Dxfs_attr_sf.h23 uint8_t valuelen; /* length of value */ member
41 return struct_size(sfep, nameval, sfep->namelen + sfep->valuelen); in xfs_attr_sf_entsize()
Dxfs_da_format.h591 uint8_t valuelen; /* actual length of value (no NULL) */ member
621 __be16 valuelen; /* number of bytes in value */ member
628 __be32 valuelen; /* number of bytes in value */ member
Dxfs_attr.c309 uint dblocks = xfs_attr3_rmt_blocks(mp, args->valuelen); in xfs_attr_calc_size()
1005 args->valuelen); in xfs_attr_set()
1013 rmt_blks = xfs_attr3_rmt_blocks(mp, args->valuelen); in xfs_attr_set()
1148 args->valuelen >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_addname()
1152 newsize += xfs_attr_sf_entsize_byname(args->namelen, args->valuelen); in xfs_attr_shortform_addname()
Dxfs_da_btree.h61 int valuelen; /* length of value */ member
Dxfs_dir2.c340 args->valuelen = len; in xfs_dir_cilookup_result()
416 ci_name->len = args->valuelen; in xfs_dir_lookup()
/fs/xfs/
Dxfs_attr_list.c92 (int)sfe->valuelen); in xfs_attr_shortform_list()
137 sbp->valuelen = sfe->valuelen; in xfs_attr_shortform_list()
186 sbp->valuelen); in xfs_attr_shortform_list()
440 int namelen, valuelen; in xfs_attr3_leaf_list_int() local
457 valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_list_int()
464 valuelen = be32_to_cpu(name_rmt->valuelen); in xfs_attr3_leaf_list_int()
471 name, namelen, valuelen); in xfs_attr3_leaf_list_int()
Dxfs_xattr.c124 .valuelen = size, in xfs_xattr_get()
131 return args.valuelen; in xfs_xattr_get()
147 .valuelen = size, in xfs_xattr_set()
230 int valuelen) in xfs_xattr_put_listent() argument
Dxfs_acl.c137 .valuelen = XFS_ACL_MAX_SIZE(mp), in xfs_get_acl()
164 acl = xfs_acl_from_disk(mp, args.value, args.valuelen, in xfs_get_acl()
199 args.valuelen = XFS_ACL_SIZE(acl->a_count); in __xfs_set_acl()
200 args.value = kvzalloc(args.valuelen, GFP_KERNEL); in __xfs_set_acl()
Dxfs_ondisk.h84 XFS_CHECK_OFFSET(xfs_attr_leaf_name_local_t, valuelen, 0); in xfs_check_ondisk_structs()
88 XFS_CHECK_OFFSET(xfs_attr_leaf_name_remote_t, valuelen, 4); in xfs_check_ondisk_structs()
95 XFS_CHECK_OFFSET(struct xfs_attr_shortform, list[0].valuelen, 5); in xfs_check_ondisk_structs()
Dxfs_ioctl.c310 int valuelen) in xfs_ioc_attr_put_listent() argument
342 aep->a_valuelen = valuelen; in xfs_ioc_attr_put_listent()
479 .valuelen = *len, in xfs_attrmulti_attr_get()
490 *len = args.valuelen; in xfs_attrmulti_attr_get()
491 if (copy_to_user(ubuf, args.value, args.valuelen)) in xfs_attrmulti_attr_get()
525 args.valuelen = len; in xfs_attrmulti_attr_set()
Dxfs_attr_item.c418 args->namelen, args->value, args->valuelen); in xfs_attr_create_intent()
603 args->valuelen = nv->value.i_len; in xfs_attri_item_recover()
Dxfs_attr_inactive.c113 be32_to_cpu(name_rmt->valuelen)); in xfs_attr3_leaf_inactive()
Dxfs_iops.c63 .valuelen = xattr->value_len, in xfs_initxattrs()
Dxfs_trace.h1983 __field(int, valuelen)
1995 __entry->valuelen = args->valuelen;
2008 __entry->valuelen,
/fs/xfs/scrub/
Dattr.c111 int valuelen) in xchk_xattr_listent() argument
141 error = xchk_setup_xattr_buf(sx->sc, valuelen, in xchk_xattr_listent()
160 args.valuelen = valuelen; in xchk_xattr_listent()
169 if (args.valuelen != valuelen) in xchk_xattr_listent()
280 be16_to_cpu(lentry->valuelen)); in xchk_xattr_entry()
/fs/jfs/
Djfs_xattr.h19 __le16 valuelen; /* Length of value */ member
37 le16_to_cpu((ea)->valuelen))
Dxattr.c757 ea->valuelen = (cpu_to_le16(value_len)); in __jfs_setxattr()
824 size = le16_to_cpu(ea->valuelen); in __jfs_getxattr()