Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_attr_remote.c273 int *valuelen, in xfs_attr_rmtval_copyout() argument
283 while (len > 0 && *valuelen > 0) { in xfs_attr_rmtval_copyout()
287 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyout()
308 *valuelen -= byte_cnt; in xfs_attr_rmtval_copyout()
321 int *valuelen, in xfs_attr_rmtval_copyin() argument
331 while (len > 0 && *valuelen > 0) { in xfs_attr_rmtval_copyin()
335 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyin()
346 ASSERT(*valuelen - byte_cnt == 0); in xfs_attr_rmtval_copyin()
358 *valuelen -= byte_cnt; in xfs_attr_rmtval_copyin()
377 int valuelen; in xfs_attr_rmtval_get() local
[all …]
Dxfs_attr_leaf.c597 size = XFS_ATTR_SF_ENTSIZE_BYNAME(args->namelen, args->valuelen); in xfs_attr_shortform_add()
603 sfe->valuelen = args->valuelen; in xfs_attr_shortform_add()
606 memcpy(&sfe->nameval[args->namelen], args->value, args->valuelen); in xfs_attr_shortform_add()
757 args->valuelen = sfe->valuelen; in xfs_attr_shortform_getvalue()
760 if (args->valuelen < sfe->valuelen) { in xfs_attr_shortform_getvalue()
761 args->valuelen = sfe->valuelen; in xfs_attr_shortform_getvalue()
764 args->valuelen = sfe->valuelen; in xfs_attr_shortform_getvalue()
766 args->valuelen); in xfs_attr_shortform_getvalue()
843 nargs.valuelen = sfe->valuelen; in xfs_attr_shortform_to_leaf()
892 if (be16_to_cpu(name_loc->valuelen) >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_allfit()
[all …]
Dxfs_attr_sf.h24 uint8_t valuelen; /* length of value */ member
35 ((int)sizeof(xfs_attr_sf_entry_t)-1 + (sfep)->namelen+(sfep)->valuelen)
Dxfs_attr.c146 args.valuelen = *valuelenp; in xfs_attr_get()
154 *valuelenp = args.valuelen; in xfs_attr_get()
186 uint dblocks = xfs_attr3_rmt_blocks(mp, args->valuelen); in xfs_attr_calc_size()
314 int valuelen, in xfs_attr_set() argument
333 args.valuelen = valuelen; in xfs_attr_set()
347 XFS_ATTR_SF_ENTSIZE_BYNAME(args.namelen, valuelen); in xfs_attr_set()
524 args->valuelen >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_addname()
528 newsize += XFS_ATTR_SF_ENTSIZE_BYNAME(args->namelen, args->valuelen); in xfs_attr_shortform_addname()
Dxfs_da_format.h624 uint8_t valuelen; /* actual length of value (no NULL) */ member
654 __be16 valuelen; /* number of bytes in value */ member
661 __be32 valuelen; /* number of bytes in value */ member
Dxfs_attr.h142 unsigned char *value, int valuelen, int flags);
Dxfs_attr_leaf.h24 int valuelen; /* number of bytes in value */ member
Dxfs_da_btree.h54 int valuelen; /* length of value */ member
Dxfs_dir2.c326 args->valuelen = len; in xfs_dir_cilookup_result()
402 ci_name->len = args->valuelen; in xfs_dir_lookup()
/linux-4.19.296/fs/xfs/
Dxfs_attr_list.c96 (int)sfe->valuelen); in xfs_attr_shortform_list()
141 sbp->valuelen = sfe->valuelen; in xfs_attr_shortform_list()
186 sbp->valuelen); in xfs_attr_shortform_list()
438 int namelen, valuelen; in xfs_attr3_leaf_list_int() local
455 valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_list_int()
462 valuelen = be32_to_cpu(name_rmt->valuelen); in xfs_attr3_leaf_list_int()
466 name, namelen, valuelen); in xfs_attr3_leaf_list_int()
552 int valuelen) in xfs_attr_put_listent() argument
586 aep->a_valuelen = valuelen; in xfs_attr_put_listent()
Dxfs_ondisk.h79 XFS_CHECK_OFFSET(xfs_attr_leaf_name_local_t, valuelen, 0); in xfs_check_ondisk_structs()
83 XFS_CHECK_OFFSET(xfs_attr_leaf_name_remote_t, valuelen, 4); in xfs_check_ondisk_structs()
90 XFS_CHECK_OFFSET(xfs_attr_shortform_t, list[0].valuelen, 5); in xfs_check_ondisk_structs()
Dxfs_attr_inactive.c168 lp->valuelen = xfs_attr3_rmt_blocks(dp->i_mount, in xfs_attr3_leaf_inactive()
169 be32_to_cpu(name_rmt->valuelen)); in xfs_attr3_leaf_inactive()
182 lp->valueblk, lp->valuelen); in xfs_attr3_leaf_inactive()
Dxfs_xattr.c162 int valuelen) in xfs_xattr_put_listent() argument
Dxfs_trace.h1720 __field(int, valuelen)
1731 __entry->valuelen = args->valuelen;
1743 __entry->valuelen,
/linux-4.19.296/fs/jfs/
Djfs_xattr.h32 __le16 valuelen; /* Length of value */ member
50 le16_to_cpu((ea)->valuelen))
Dxattr.c770 ea->valuelen = (cpu_to_le16(value_len)); in __jfs_setxattr()
837 size = le16_to_cpu(ea->valuelen); in __jfs_getxattr()
/linux-4.19.296/fs/xfs/scrub/
Dattr.c77 int valuelen) in xchk_xattr_listent() argument
104 args.valuelen = XATTR_SIZE_MAX; in xchk_xattr_listent()
112 if (args.valuelen != valuelen) in xchk_xattr_listent()
225 be16_to_cpu(lentry->valuelen)); in xchk_xattr_entry()