Searched refs:valuelen (Results 1 – 15 of 15) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_attr_remote.c | 254 int *valuelen, in xfs_attr_rmtval_copyout() argument 264 while (len > 0 && *valuelen > 0) { in xfs_attr_rmtval_copyout() 268 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyout() 289 *valuelen -= byte_cnt; in xfs_attr_rmtval_copyout() 302 int *valuelen, in xfs_attr_rmtval_copyin() argument 312 while (len > 0 && *valuelen > 0) { in xfs_attr_rmtval_copyin() 316 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyin() 327 ASSERT(*valuelen - byte_cnt == 0); in xfs_attr_rmtval_copyin() 339 *valuelen -= byte_cnt; in xfs_attr_rmtval_copyin() 358 int valuelen; in xfs_attr_rmtval_get() local [all …]
|
D | xfs_attr_leaf.c | 560 size = XFS_ATTR_SF_ENTSIZE_BYNAME(args->namelen, args->valuelen); in xfs_attr_shortform_add() 566 sfe->valuelen = args->valuelen; in xfs_attr_shortform_add() 569 memcpy(&sfe->nameval[args->namelen], args->value, args->valuelen); in xfs_attr_shortform_add() 720 args->valuelen = sfe->valuelen; in xfs_attr_shortform_getvalue() 723 if (args->valuelen < sfe->valuelen) { in xfs_attr_shortform_getvalue() 724 args->valuelen = sfe->valuelen; in xfs_attr_shortform_getvalue() 727 args->valuelen = sfe->valuelen; in xfs_attr_shortform_getvalue() 729 args->valuelen); in xfs_attr_shortform_getvalue() 805 nargs.valuelen = sfe->valuelen; in xfs_attr_shortform_to_leaf() 854 if (be16_to_cpu(name_loc->valuelen) >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_allfit() [all …]
|
D | xfs_attr_sf.h | 38 __uint8_t valuelen; /* actual length of value (no NULL) */ member 52 __uint8_t valuelen; /* length of value */ member 63 ((int)sizeof(xfs_attr_sf_entry_t)-1 + (sfep)->namelen+(sfep)->valuelen)
|
D | xfs_attr.c | 138 args.valuelen = *valuelenp; in xfs_attr_get() 153 *valuelenp = args.valuelen; in xfs_attr_get() 185 uint dblocks = xfs_attr3_rmt_blocks(mp, args->valuelen); in xfs_attr_calc_size() 198 int valuelen, in xfs_attr_set() argument 219 args.valuelen = valuelen; in xfs_attr_set() 235 XFS_ATTR_SF_ENTSIZE_BYNAME(args.namelen, valuelen); in xfs_attr_set() 542 args->valuelen >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_addname() 546 newsize += XFS_ATTR_SF_ENTSIZE_BYNAME(args->namelen, args->valuelen); in xfs_attr_shortform_addname()
|
D | xfs_da_format.h | 668 __be16 valuelen; /* number of bytes in value */ member 675 __be32 valuelen; /* number of bytes in value */ member
|
D | xfs_attr_leaf.h | 36 int valuelen; /* number of bytes in value */ member
|
D | xfs_da_btree.h | 67 int valuelen; /* length of value */ member
|
D | xfs_dir2.c | 344 args->valuelen = len; in xfs_dir_cilookup_result() 420 ci_name->len = args->valuelen; in xfs_dir_lookup()
|
/fs/xfs/ |
D | xfs_attr_list.c | 109 (int)sfe->valuelen, in xfs_attr_shortform_list() 156 sbp->valuelen = sfe->valuelen; in xfs_attr_shortform_list() 201 sbp->valuelen, in xfs_attr_shortform_list() 433 be16_to_cpu(name_loc->valuelen), in xfs_attr3_leaf_list_int() 441 int valuelen = be32_to_cpu(name_rmt->valuelen); in xfs_attr3_leaf_list_int() local 450 args.valuelen = valuelen; in xfs_attr3_leaf_list_int() 451 args.rmtvaluelen = valuelen; in xfs_attr3_leaf_list_int() 452 args.value = kmem_alloc(valuelen, KM_SLEEP | KM_NOFS); in xfs_attr3_leaf_list_int() 455 args.dp->i_mount, valuelen); in xfs_attr3_leaf_list_int() 462 valuelen, in xfs_attr3_leaf_list_int() [all …]
|
D | xfs_attr_inactive.c | 179 lp->valuelen = xfs_attr3_rmt_blocks(dp->i_mount, in xfs_attr3_leaf_inactive() 180 be32_to_cpu(name_rmt->valuelen)); in xfs_attr3_leaf_inactive() 193 lp->valueblk, lp->valuelen); in xfs_attr3_leaf_inactive()
|
D | xfs_xattr.c | 164 int valuelen, in xfs_xattr_put_listent() argument 202 int valuelen, in xfs_xattr_put_listent_sizes() argument
|
D | xfs_attr.h | 149 unsigned char *value, int valuelen, int flags);
|
D | xfs_trace.h | 1758 __field(int, valuelen) 1768 __entry->valuelen = args->valuelen; 1779 __entry->valuelen,
|
/fs/jfs/ |
D | jfs_xattr.h | 30 __le16 valuelen; /* Length of value */ member 48 le16_to_cpu((ea)->valuelen))
|
D | xattr.c | 812 ea->valuelen = (cpu_to_le16(value_len)); in __jfs_setxattr() 917 size = le16_to_cpu(ea->valuelen); in __jfs_getxattr()
|