Home
last modified time | relevance | path

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

/linux-6.6.21/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_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_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_da_format.h591 uint8_t valuelen; /* actual length of value (no NULL) */ member
621 __be16 valuelen; /* number of bytes in value */ member
633 __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.c341 args->valuelen = len; in xfs_dir_cilookup_result()
417 ci_name->len = args->valuelen; in xfs_dir_lookup()
/linux-6.6.21/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.c135 .valuelen = size, in xfs_xattr_get()
142 return args.valuelen; in xfs_xattr_get()
158 .valuelen = size, in xfs_xattr_set()
237 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()
96 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_inactive.c113 be32_to_cpu(name_rmt->valuelen)); in xfs_attr3_leaf_inactive()
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_iops.c63 .valuelen = xattr->value_len, in xfs_initxattrs()
Dxfs_trace.h1987 __field(int, valuelen)
1999 __entry->valuelen = args->valuelen;
2012 __entry->valuelen,
/linux-6.6.21/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()
/linux-6.6.21/fs/xfs/scrub/
Dattr.c159 int valuelen) in xchk_xattr_listent() argument
171 .valuelen = valuelen, in xchk_xattr_listent()
216 error = xchk_setup_xattr_buf(sx->sc, valuelen); in xchk_xattr_listent()
233 if (args.valuelen != valuelen) in xchk_xattr_listent()
342 be16_to_cpu(lentry->valuelen)); in xchk_xattr_entry()
580 sfe->valuelen)) { in xchk_xattr_check_sf()
/linux-6.6.21/arch/powerpc/include/asm/
Dpmac_pfunc.h82 int (*rmw_i2c)(PMF_STD_ARGS, u32 masklen, u32 valuelen, u32 totallen,
87 int (*rmw_cfg)(PMF_STD_ARGS, u32 offset, u32 masklen, u32 valuelen,
93 int (*rmw_i2c_sub)(PMF_STD_ARGS, u8 subaddr, u32 masklen, u32 valuelen,
/linux-6.6.21/drivers/s390/crypto/
Dzcrypt_ep11misc.c444 static int asn1tag_write(u8 *ptr, u8 tag, const u8 *pvalue, u16 valuelen) in asn1tag_write() argument
447 if (valuelen > 255) { in asn1tag_write()
449 *((u16 *)(ptr + 2)) = valuelen; in asn1tag_write()
450 memcpy(ptr + 4, pvalue, valuelen); in asn1tag_write()
451 return 4 + valuelen; in asn1tag_write()
453 if (valuelen > 127) { in asn1tag_write()
455 ptr[2] = (u8)valuelen; in asn1tag_write()
456 memcpy(ptr + 3, pvalue, valuelen); in asn1tag_write()
457 return 3 + valuelen; in asn1tag_write()
459 ptr[1] = (u8)valuelen; in asn1tag_write()
[all …]
/linux-6.6.21/drivers/hv/
Dhv_kvp.c522 int valuelen = 0; in kvp_respond_to_host() local
604 valuelen = utf8s_to_utf16s(value, strlen(value), UTF16_HOST_ENDIAN, in kvp_respond_to_host()
607 kvp_data->value_size = 2*(valuelen + 1); /* utf16 encoding */ in kvp_respond_to_host()
613 if ((keylen < 0) || (valuelen < 0)) in kvp_respond_to_host()
/linux-6.6.21/arch/powerpc/platforms/powermac/
Dlow_i2c.c1313 static int pmac_i2c_do_rmw(PMF_STD_ARGS, u32 masklen, u32 valuelen, in pmac_i2c_do_rmw() argument
1319 if (masklen > inst->bytes || valuelen > inst->bytes || in pmac_i2c_do_rmw()
1320 totallen > inst->bytes || valuelen > masklen) in pmac_i2c_do_rmw()
1355 u32 valuelen, u32 totallen, const u8 *maskdata, in pmac_i2c_do_rmw_sub() argument
1360 if (masklen > inst->bytes || valuelen > inst->bytes || in pmac_i2c_do_rmw_sub()
1361 totallen > inst->bytes || valuelen > masklen) in pmac_i2c_do_rmw_sub()
/linux-6.6.21/arch/powerpc/kernel/
Dprom_init.c660 void *value, size_t valuelen) in prom_getprop() argument
663 (u32)(unsigned long) value, (u32) valuelen); in prom_getprop()
698 const char *pname, void *value, size_t valuelen) in prom_setprop() argument
704 (u32)(unsigned long) value, (u32) valuelen); in prom_setprop()
711 add_string(&p, tohex(valuelen)); in prom_setprop()