Home
last modified time | relevance | path

Searched refs:value_len (Results 1 – 25 of 48) sorted by relevance

12

/linux/fs/9p/
A Dxattr.c92 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()
A Dxattr.h22 const void *value, size_t value_len, int flags);
24 const void *value, size_t value_len, int flags);
/linux/fs/ext4/
A Dxattr.c1487 value_len) && in ext4_xattr_inode_cache_find()
1586 memset(val + i->value_len, 0, new_size - i->value_len); in ext4_xattr_set_entry()
1650 WARN_ON_ONCE(!i->value_len); in ext4_xattr_set_entry()
1657 i->value_len, in ext4_xattr_set_entry()
1681 i->value_len); in ext4_xattr_set_entry()
1743 } else if (i->value_len) { in ext4_xattr_set_entry()
2277 .value_len = value_len, in ext4_xattr_set_handle()
2308 value_len, in ext4_xattr_set_handle()
2438 value_len, is_create); in ext4_xattr_set_credits()
2533 .value_len = 0, in ext4_xattr_move_to_block()
[all …]
A Dxattr.h101 size_t value_len; member
168 extern int ext4_xattr_set_credits(struct inode *inode, size_t value_len,
171 struct buffer_head *block_bh, size_t value_len,
A Dxattr_security.c47 xattr->value_len, XATTR_CREATE); in ext4_initxattrs()
A Dinline.c283 i.value_len = len; in ext4_create_inline_data()
362 i.value_len = len; in ext4_update_inline_data()
417 .value_len = 0, in ext4_destroy_inline_data_nolock()
1885 int inline_size, value_len, needed_blocks, no_expand, err = 0; in ext4_inline_data_truncate() local
1947 value_len = le32_to_cpu(is.s.here->e_value_size); in ext4_inline_data_truncate()
1948 value = kmalloc(value_len, GFP_NOFS); in ext4_inline_data_truncate()
1955 i.name, value, value_len); in ext4_inline_data_truncate()
1960 i.value_len = i_size > EXT4_MIN_INLINE_DATA_SIZE ? in ext4_inline_data_truncate()
/linux/fs/btrfs/
A Dprops.c58 int btrfs_validate_prop(const char *name, const char *value, size_t value_len) in btrfs_validate_prop() argument
69 if (value_len == 0) in btrfs_validate_prop()
72 return handler->validate(value, value_len); in btrfs_validate_prop()
76 const char *name, const char *value, size_t value_len, in btrfs_set_prop() argument
86 if (value_len == 0) { in btrfs_set_prop()
99 value_len, flags); in btrfs_set_prop()
102 ret = handler->apply(inode, value, value_len); in btrfs_set_prop()
A Dprops.h14 const char *name, const char *value, size_t value_len,
16 int btrfs_validate_prop(const char *name, const char *value, size_t value_len);
/linux/drivers/firmware/google/
A Dvpd_decode.c65 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()
A Dvpd_decode.h29 const u8 *value, u32 value_len,
A Dvpd.c96 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/fs/ext2/
A Dxattr.c408 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()
581 if (size == EXT2_XATTR_SIZE(value_len)) { in ext2_xattr_set()
584 here->e_value_size = cpu_to_le32(value_len); in ext2_xattr_set()
587 memcpy(val, value, value_len); in ext2_xattr_set()
620 here->e_value_size = cpu_to_le32(value_len); in ext2_xattr_set()
621 if (value_len) { in ext2_xattr_set()
622 size_t size = EXT2_XATTR_SIZE(value_len); in ext2_xattr_set()
[all …]
A Dxattr_security.c40 xattr->value_len, 0); in ext2_initxattrs()
/linux/fs/jffs2/
A Dxattr.c92 c->xdatum_mem_usage -= (xd->name_len + 1 + xd->value_len); in unload_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()
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()
398 c->xdatum_mem_usage += (xd->name_len + 1 + xd->value_len); in create_xattr_datum()
1072 rc = xd->value_len; in do_jffs2_getxattr()
[all …]
A Dsecurity.c35 xattr->value_len, 0); in jffs2_initxattrs()
A Dxattr.h41 uint32_t value_len; /* length of xvalue */ member
/linux/fs/btrfs/tests/
A Dextent-buffer-tests.c26 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()
66 value_len); in test_btrfs_split_item()
A Dinode-tests.c23 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/fs/jfs/
A Dxattr.c656 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/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dhealth.c239 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/scripts/dtc/
A Dfdtput.c57 char **valuep, int *value_len) in encode_value() argument
113 *value_len = upto; in encode_value()
/linux/fs/ocfs2/
A Dxattr.h27 size_t value_len; member
A Dxattr.c585 si->value_len); in ocfs2_calc_security_init()
605 si->value_len); in ocfs2_calc_security_init()
628 si->value_len); in ocfs2_calc_xattr_init()
681 si->value_len); in ocfs2_calc_xattr_init()
1349 int value_len) in __ocfs2_xattr_set_value_outside() argument
1393 cp_len = value_len > blocksize ? blocksize : value_len; in __ocfs2_xattr_set_value_outside()
1395 value_len -= cp_len; in __ocfs2_xattr_set_value_outside()
1409 if (!value_len) in __ocfs2_xattr_set_value_outside()
3448 size_t value_len, in ocfs2_xattr_set_handle() argument
3529 size_t value_len, in ocfs2_xattr_set() argument
[all …]
/linux/fs/hfsplus/
A Dxattr_security.c60 xattr->value, xattr->value_len, 0); in hfsplus_initxattrs()
/linux/fs/ksmbd/
A Dvfs.c254 ssize_t value_len = -ENOENT, xattr_list_len; in ksmbd_vfs_getcasexattr() local
266 value_len = ksmbd_vfs_getxattr(user_ns, in ksmbd_vfs_getcasexattr()
270 if (value_len < 0) in ksmbd_vfs_getcasexattr()
277 return value_len; in ksmbd_vfs_getcasexattr()
1682 ssize_t value_len = -ENOENT, xattr_list_len; in ksmbd_vfs_casexattr_len() local
1694 value_len = ksmbd_vfs_xattr_len(user_ns, dentry, name); in ksmbd_vfs_casexattr_len()
1700 return value_len; in ksmbd_vfs_casexattr_len()

Completed in 66 milliseconds

12