/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_attr_remote.c | 283 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 …]
|
D | xfs_attr_sf.h | 23 uint8_t valuelen; /* length of value */ member 41 return struct_size(sfep, nameval, sfep->namelen + sfep->valuelen); in xfs_attr_sf_entsize()
|
D | xfs_attr_leaf.c | 271 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 …]
|
D | xfs_da_format.h | 591 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
|
D | xfs_attr.c | 309 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()
|
D | xfs_da_btree.h | 61 int valuelen; /* length of value */ member
|
D | xfs_dir2.c | 341 args->valuelen = len; in xfs_dir_cilookup_result() 417 ci_name->len = args->valuelen; in xfs_dir_lookup()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_attr_list.c | 92 (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()
|
D | xfs_xattr.c | 135 .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
|
D | xfs_acl.c | 137 .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()
|
D | xfs_ondisk.h | 84 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()
|
D | xfs_ioctl.c | 310 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()
|
D | xfs_attr_inactive.c | 113 be32_to_cpu(name_rmt->valuelen)); in xfs_attr3_leaf_inactive()
|
D | xfs_attr_item.c | 418 args->namelen, args->value, args->valuelen); in xfs_attr_create_intent() 603 args->valuelen = nv->value.i_len; in xfs_attri_item_recover()
|
D | xfs_iops.c | 63 .valuelen = xattr->value_len, in xfs_initxattrs()
|
D | xfs_trace.h | 1987 __field(int, valuelen) 1999 __entry->valuelen = args->valuelen; 2012 __entry->valuelen,
|
/linux-6.6.21/fs/jfs/ |
D | jfs_xattr.h | 19 __le16 valuelen; /* Length of value */ member 37 le16_to_cpu((ea)->valuelen))
|
D | xattr.c | 757 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/ |
D | attr.c | 159 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/ |
D | pmac_pfunc.h | 82 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/ |
D | zcrypt_ep11misc.c | 444 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/ |
D | hv_kvp.c | 522 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/ |
D | low_i2c.c | 1313 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/ |
D | prom_init.c | 660 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()
|