/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_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_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_da_format.h | 591 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
|
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 | 340 args->valuelen = len; in xfs_dir_cilookup_result() 416 ci_name->len = args->valuelen; in xfs_dir_lookup()
|
/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 | 124 .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
|
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() 95 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_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_attr_inactive.c | 113 be32_to_cpu(name_rmt->valuelen)); in xfs_attr3_leaf_inactive()
|
D | xfs_iops.c | 63 .valuelen = xattr->value_len, in xfs_initxattrs()
|
D | xfs_trace.h | 1983 __field(int, valuelen) 1995 __entry->valuelen = args->valuelen; 2008 __entry->valuelen,
|
/fs/xfs/scrub/ |
D | attr.c | 111 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/ |
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()
|