/linux-6.1.9/fs/9p/ |
D | xattr.c | 92 const void *value, size_t value_len, int flags) in v9fs_xattr_set() argument 100 ret = v9fs_fid_xattr_set(fid, name, value, value_len, flags); in v9fs_xattr_set() 106 const void *value, size_t value_len, int flags) in v9fs_fid_xattr_set() argument 108 struct kvec kvec = {.iov_base = (void *)value, .iov_len = value_len}; in v9fs_fid_xattr_set() 112 iov_iter_kvec(&from, WRITE, &kvec, 1, value_len); in v9fs_fid_xattr_set() 115 name, value_len, flags); in v9fs_fid_xattr_set() 125 retval = p9_client_xattrcreate(fid, name, value_len, flags); in v9fs_fid_xattr_set()
|
D | xattr.h | 22 const void *value, size_t value_len, int flags); 24 const void *value, size_t value_len, int flags);
|
/linux-6.1.9/drivers/firmware/google/ |
D | vpd_decode.c | 65 u32 value_len; in vpd_decode_string() local 85 &value_len) != VPD_OK) in vpd_decode_string() 89 return callback(key, key_len, value, value_len, in vpd_decode_string()
|
D | vpd_decode.h | 29 const u8 *value, u32 value_len,
|
D | vpd.c | 96 const u8 *value, u32 value_len, in vpd_section_attrib_add() argument 123 info->bin_attr.size = value_len; in vpd_section_attrib_add()
|
/linux-6.1.9/fs/ext4/ |
D | xattr.c | 909 struct buffer_head *block_bh, size_t value_len, in __ext4_xattr_set_credits() argument 948 blocks = (value_len + sb->s_blocksize - 1) >> sb->s_blocksize_bits; in __ext4_xattr_set_credits() 1467 size_t value_len, u32 hash) in ext4_xattr_inode_cache_find() argument 1484 ea_data = kvmalloc(value_len, GFP_KERNEL); in ext4_xattr_inode_cache_find() 1496 i_size_read(ea_inode) == value_len && in ext4_xattr_inode_cache_find() 1497 !ext4_xattr_inode_read(ea_inode, ea_data, value_len) && in ext4_xattr_inode_cache_find() 1499 value_len) && in ext4_xattr_inode_cache_find() 1500 !memcmp(value, ea_data, value_len)) { in ext4_xattr_inode_cache_find() 1519 const void *value, size_t value_len, in ext4_xattr_inode_lookup_create() argument 1526 hash = ext4_xattr_inode_hash(EXT4_SB(inode->i_sb), value, value_len); in ext4_xattr_inode_lookup_create() [all …]
|
D | xattr.h | 114 size_t value_len; member 181 extern int ext4_xattr_set_credits(struct inode *inode, size_t value_len, 184 struct buffer_head *block_bh, size_t value_len,
|
D | xattr_security.c | 47 xattr->value_len, XATTR_CREATE); in ext4_initxattrs()
|
/linux-6.1.9/fs/btrfs/ |
D | props.c | 61 const char *value, size_t value_len) in btrfs_validate_prop() argument 72 if (value_len == 0) in btrfs_validate_prop() 75 return handler->validate(inode, value, value_len); in btrfs_validate_prop() 101 const char *name, const char *value, size_t value_len, in btrfs_set_prop() argument 111 if (value_len == 0) { in btrfs_set_prop() 124 value_len, flags); in btrfs_set_prop() 127 ret = handler->apply(inode, value, value_len); in btrfs_set_prop()
|
D | props.h | 14 const char *name, const char *value, size_t value_len, 17 const char *value, size_t value_len);
|
/linux-6.1.9/fs/ext2/ |
D | xattr.c | 408 const void *value, size_t value_len, int flags) in ext2_xattr_set() argument 431 name_index, name, value, (long)value_len); in ext2_xattr_set() 434 value_len = 0; in ext2_xattr_set() 438 if (name_len > 255 || value_len > sb->s_blocksize) in ext2_xattr_set() 514 if (free < EXT2_XATTR_LEN(name_len) + EXT2_XATTR_SIZE(value_len)) in ext2_xattr_set() 582 if (size == EXT2_XATTR_SIZE(value_len)) { in ext2_xattr_set() 585 here->e_value_size = cpu_to_le32(value_len); in ext2_xattr_set() 588 memcpy(val, value, value_len); in ext2_xattr_set() 621 here->e_value_size = cpu_to_le32(value_len); in ext2_xattr_set() 622 if (value_len) { in ext2_xattr_set() [all …]
|
D | xattr_security.c | 40 xattr->value_len, 0); in ext2_initxattrs()
|
/linux-6.1.9/fs/btrfs/tests/ |
D | extent-buffer-tests.c | 25 u32 value_len = strlen(value); in test_btrfs_split_item() local 63 btrfs_setup_item_for_insert(root, path, &key, value_len); in test_btrfs_split_item() 65 value_len); in test_btrfs_split_item()
|
D | inode-tests.c | 23 u32 value_len = sizeof(struct btrfs_file_extent_item); in insert_extent() local 26 value_len += len; in insert_extent() 36 btrfs_setup_item_for_insert(root, &path, &key, value_len); in insert_extent() 55 u32 value_len = 0; in insert_inode_item_key() local 66 btrfs_setup_item_for_insert(root, &path, &key, value_len); in insert_inode_item_key()
|
/linux-6.1.9/fs/jffs2/ |
D | xattr.c | 92 c->xdatum_mem_usage -= (xd->name_len + 1 + xd->value_len); in unload_xattr_datum() 161 totlen = PAD(sizeof(rx) + rx.name_len + 1 + je16_to_cpu(rx.value_len)); in do_verify_xattr_datum() 179 xd->value_len = je16_to_cpu(rx.value_len); in do_verify_xattr_datum() 215 length = xd->name_len + 1 + xd->value_len; in do_load_xattr_datum() 247 xd->hashkey = xattr_datum_hashkey(xd->xprefix, xd->xname, xd->xvalue, xd->value_len); in do_load_xattr_datum() 299 vecs[1].iov_len = xd->name_len + 1 + xd->value_len; in save_xattr_datum() 313 rx.value_len = cpu_to_je16(xd->value_len); in save_xattr_datum() 352 && xd->value_len==xsize in create_xattr_datum() 384 xd->value_len = xsize; in create_xattr_datum() 385 xd->data_crc = crc32(0, data, xd->name_len + 1 + xd->value_len); in create_xattr_datum() [all …]
|
D | security.c | 35 xattr->value_len, 0); in jffs2_initxattrs()
|
D | xattr.h | 41 uint32_t value_len; /* length of xvalue */ member
|
/linux-6.1.9/fs/jfs/ |
D | xattr.c | 656 const void *value, size_t value_len, int flags) in __jfs_setxattr() argument 710 new_size += sizeof (struct jfs_ea) + namelen + 1 + value_len; in __jfs_setxattr() 749 if (value_len >= USHRT_MAX) { in __jfs_setxattr() 757 ea->valuelen = (cpu_to_le16(value_len)); in __jfs_setxattr() 760 if (value_len) in __jfs_setxattr() 761 memcpy(&ea->name[namelen + 1], value, value_len); in __jfs_setxattr() 1021 xattr->value, xattr->value_len, 0); in jfs_initxattrs()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | health.c | 239 const void *value, u32 value_len) in mlx5e_health_rsc_fmsg_binary() argument 246 for (offset = 0; offset < value_len; offset += data_size) { in mlx5e_health_rsc_fmsg_binary() 247 data_size = value_len - offset; in mlx5e_health_rsc_fmsg_binary()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_attr_item.c | 79 unsigned int value_len) in xfs_attri_log_nameval_alloc() argument 88 name_len + value_len); in xfs_attri_log_nameval_alloc() 95 if (value_len) { in xfs_attri_log_nameval_alloc() 97 nv->value.i_len = value_len; in xfs_attri_log_nameval_alloc() 98 memcpy(nv->value.i_addr, value, value_len); in xfs_attri_log_nameval_alloc()
|
/linux-6.1.9/scripts/dtc/ |
D | fdtput.c | 57 char **valuep, int *value_len) in encode_value() argument 113 *value_len = upto; in encode_value()
|
/linux-6.1.9/fs/ocfs2/ |
D | xattr.h | 27 size_t value_len; member
|
D | xattr.c | 218 static int namevalue_size(int name_len, uint64_t value_len) in namevalue_size() argument 220 if (value_len > OCFS2_XATTR_INLINE_SIZE) in namevalue_size() 223 return OCFS2_XATTR_SIZE(name_len) + OCFS2_XATTR_SIZE(value_len); in namevalue_size() 233 u64 value_len = le64_to_cpu(xe->xe_value_size); in namevalue_size_xe() local 235 BUG_ON((value_len > OCFS2_XATTR_INLINE_SIZE) && in namevalue_size_xe() 237 return namevalue_size(xe->xe_name_len, value_len); in namevalue_size_xe() 558 static int ocfs2_xattr_entry_real_size(int name_len, size_t value_len) in ocfs2_xattr_entry_real_size() argument 560 return namevalue_size(name_len, value_len) + in ocfs2_xattr_entry_real_size() 585 si->value_len); in ocfs2_calc_security_init() 603 if (si->value_len > OCFS2_XATTR_INLINE_SIZE) { in ocfs2_calc_security_init() [all …]
|
/linux-6.1.9/fs/hfsplus/ |
D | xattr_security.c | 60 xattr->value, xattr->value_len, 0); in hfsplus_initxattrs()
|
/linux-6.1.9/include/linux/ |
D | xattr.h | 49 size_t value_len; member
|