/linux-4.4.14/drivers/md/persistent-data/ |
D | dm-btree-internal.h | 35 __le32 value_size; member 120 uint32_t value_size = le32_to_cpu(n->header.value_size); in value_ptr() local 121 return value_base(n) + (value_size * index); in value_ptr()
|
D | dm-btree-remove.c | 59 uint32_t value_size = le32_to_cpu(n->header.value_size); in node_shift() local 70 (nr_entries - shift) * value_size); in node_shift() 78 nr_entries * value_size); in node_shift() 85 uint32_t value_size = le32_to_cpu(left->header.value_size); in node_copy() local 86 BUG_ON(value_size != le32_to_cpu(right->header.value_size)); in node_copy() 96 shift * value_size); in node_copy() 104 shift * value_size); in node_copy() 115 uint32_t value_size = le32_to_cpu(n->header.value_size); in delete_at() local 125 nr_to_copy * value_size); in delete_at()
|
D | dm-btree.c | 85 static int insert_at(size_t value_size, struct btree_node *node, unsigned index, in insert_at() argument 102 array_insert(value_base(node), value_size, nr_entries, index, value); in insert_at() 114 static uint32_t calc_max_entries(size_t value_size, size_t block_size) in calc_max_entries() argument 117 size_t elt_size = sizeof(uint64_t) + value_size; /* key + value */ in calc_max_entries() 146 n->header.value_size = cpu_to_le32(info->value_type.size); in dm_btree_empty() 341 uint64_t *result_key, void *v, size_t value_size) in btree_lookup_raw() argument 364 memcpy(v, value_ptr(ro_node(s), i), value_size); in btree_lookup_raw() 547 rn->header.value_size = ln->header.value_size; in btree_split_sibling() 639 ln->header.value_size = pn->header.value_size; in btree_split_beneath() 644 rn->header.value_size = pn->header.value_size; in btree_split_beneath() [all …]
|
D | dm-btree-spine.c | 43 size_t value_size; in node_check() local 62 value_size = le32_to_cpu(h->value_size); in node_check() 65 (sizeof(__le64) + value_size) * le32_to_cpu(h->max_entries) > block_size) { in node_check()
|
D | dm-array.c | 27 __le32 value_size; member 144 static uint32_t calc_max_entries(size_t value_size, size_t size_of_block) in calc_max_entries() argument 146 return (size_of_block - sizeof(struct array_block)) / value_size; in calc_max_entries() 165 (*ab)->value_size = cpu_to_le32(info->value_type.size); in alloc_ablock()
|
/linux-4.4.14/fs/cifs/ |
D | xattr.c | 101 const void *ea_value, size_t value_size, int flags) in cifs_setxattr() argument 139 if (value_size > MAX_EA_VALUE_SIZE) { in cifs_setxattr() 157 full_path, ea_name, ea_value, (__u16)value_size, in cifs_setxattr() 167 full_path, ea_name, ea_value, (__u16)value_size, in cifs_setxattr() 173 pacl = kmalloc(value_size, GFP_KERNEL); in cifs_setxattr() 177 memcpy(pacl, ea_value, value_size); in cifs_setxattr() 180 value_size, d_inode(direntry), in cifs_setxattr() 199 ea_value, (const int)value_size, in cifs_setxattr() 211 ea_value, (const int)value_size, in cifs_setxattr()
|
/linux-4.4.14/kernel/bpf/ |
D | arraymap.c | 28 attr->value_size == 0) in array_map_alloc() 31 if (attr->value_size >= 1 << (KMALLOC_SHIFT_MAX - 1)) in array_map_alloc() 37 elem_size = round_up(attr->value_size, 8); in array_map_alloc() 56 array->map.value_size = attr->value_size; in array_map_alloc() 114 memcpy(array->value + array->elem_size * index, value, map->value_size); in array_map_update_elem() 163 if (attr->value_size != sizeof(u32)) in fd_array_map_alloc()
|
D | hashtab.c | 46 htab->map.value_size = attr->value_size; in htab_map_alloc() 54 htab->map.value_size == 0) in htab_map_alloc() 67 if (htab->map.value_size >= (1 << (KMALLOC_SHIFT_MAX - 1)) - in htab_map_alloc() 78 htab->map.value_size; in htab_map_alloc() 248 memcpy(l_new->key + round_up(key_size, 8), value, map->value_size); in htab_map_update_elem()
|
D | syscall.c | 250 value = kmalloc(map->value_size, GFP_USER | __GFP_NOWARN); in map_lookup_elem() 257 memcpy(value, ptr, map->value_size); in map_lookup_elem() 265 if (copy_to_user(uvalue, value, map->value_size) != 0) in map_lookup_elem() 309 value = kmalloc(map->value_size, GFP_USER | __GFP_NOWARN); in map_update_elem() 314 if (copy_from_user(value, uvalue, map->value_size) != 0) in map_update_elem()
|
D | verifier.c | 258 env->cur_state.regs[i].map_ptr->value_size); in print_verifier_state() 632 if (off < 0 || off + size > map->value_size) { in check_map_access() 634 map->value_size, off, size); in check_map_access() 872 err = check_stack_boundary(env, regno, (*mapp)->value_size); in check_func_arg()
|
/linux-4.4.14/scripts/dtc/ |
D | fdtput.c | 74 int value_size = 0; /* size of holding area */ in encode_value() local 97 if (upto + len > value_size) { in encode_value() 98 value_size = (upto + len) + 500; in encode_value() 99 value = realloc(value, value_size); in encode_value() 102 "%d bytes\n", value_size); in encode_value()
|
/linux-4.4.14/tools/lib/bpf/ |
D | bpf.c | 44 int value_size, int max_entries) in bpf_create_map() argument 52 attr.value_size = value_size; in bpf_create_map()
|
D | bpf.h | 13 int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size,
|
D | libbpf.h | 100 unsigned int value_size; member
|
D | libbpf.c | 700 def.value_size, in bpf_object__create_maps()
|
/linux-4.4.14/tools/perf/tests/ |
D | bpf-script-example.c | 22 unsigned int value_size; member 30 .value_size = sizeof(int),
|
/linux-4.4.14/samples/bpf/ |
D | libbpf.c | 21 int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size, in bpf_create_map() argument 27 .value_size = value_size, in bpf_create_map()
|
D | tracex3_kern.c | 16 .value_size = sizeof(u64), 47 .value_size = sizeof(u64),
|
D | lathist_kern.c | 24 .value_size = sizeof(u64), 67 .value_size = sizeof(long),
|
D | tracex2_kern.c | 16 .value_size = sizeof(long), 75 .value_size = sizeof(long),
|
D | sockex3_kern.c | 24 .value_size = sizeof(u32), 97 .value_size = sizeof(struct globals), 118 .value_size = sizeof(struct pair),
|
D | tracex6_kern.c | 9 .value_size = sizeof(u32),
|
D | sockex1_kern.c | 10 .value_size = sizeof(long),
|
D | trace_output_kern.c | 9 .value_size = sizeof(u32),
|
D | tracex4_kern.c | 20 .value_size = sizeof(struct pair),
|
D | tracex5_kern.c | 18 .value_size = sizeof(u32),
|
D | bpf_helpers.h | 60 unsigned int value_size; member
|
D | libbpf.h | 7 int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size,
|
D | sockex2_kern.c | 194 .value_size = sizeof(struct pair),
|
D | bpf_load.c | 159 maps[i].value_size, in load_maps()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_kms.c | 220 uint32_t *value, value_tmp, *value_ptr, value_size; in radeon_info_ioctl() local 227 value_size = sizeof(uint32_t); in radeon_info_ioctl() 425 value_size = sizeof(uint64_t); in radeon_info_ioctl() 478 value_size = sizeof(uint32_t)*32; in radeon_info_ioctl() 481 value_size = sizeof(uint32_t)*32; in radeon_info_ioctl() 490 value_size = sizeof(uint32_t)*16; in radeon_info_ioctl() 523 value_size = sizeof(uint64_t); in radeon_info_ioctl() 528 value_size = sizeof(uint64_t); in radeon_info_ioctl() 533 value_size = sizeof(uint64_t); in radeon_info_ioctl() 591 if (copy_to_user(value_ptr, (char*)value, value_size)) { in radeon_info_ioctl()
|
/linux-4.4.14/tools/hv/ |
D | hv_kvp_daemon.c | 353 const __u8 *value, int value_size) in kvp_key_add_or_modify() argument 361 (value_size > HV_KVP_EXCHANGE_MAX_VALUE_SIZE)) in kvp_key_add_or_modify() 380 memcpy(record[i].value, value, value_size); in kvp_key_add_or_modify() 398 memcpy(record[i].value, value, value_size); in kvp_key_add_or_modify() 407 int value_size) in kvp_get_value() argument 414 (value_size > HV_KVP_EXCHANGE_MAX_VALUE_SIZE)) in kvp_get_value() 431 memcpy(value, record[i].value, value_size); in kvp_get_value() 439 __u8 *value, int value_size) in kvp_pool_enumerate() argument 454 memcpy(value, record[index].value, value_size); in kvp_pool_enumerate() 1573 hv_msg->body.kvp_set.data.value_size)) in main() [all …]
|
/linux-4.4.14/fs/overlayfs/ |
D | copy_up.c | 25 ssize_t list_size, size, value_size = 0; in ovl_copy_xattr() local 52 size = vfs_getxattr(old, name, value, value_size); in ovl_copy_xattr() 61 if (size > value_size) { in ovl_copy_xattr() 70 value_size = size; in ovl_copy_xattr()
|
/linux-4.4.14/drivers/hv/ |
D | hv_kvp.c | 387 message->body.kvp_set.data.value_size = in kvp_send_key() 390 in_msg->body.kvp_set.data.value_size, in kvp_send_key() 402 message->body.kvp_set.data.value_size = in kvp_send_key() 413 message->body.kvp_set.data.value_size = in kvp_send_key() 558 kvp_data->value_size = 2*(valuelen + 1); /* utf16 encoding */ in kvp_respond_to_host()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | oplib_32.h | 161 int value_size);
|
D | oplib_64.h | 241 int value_size);
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | oplib.h | 268 int value_size);
|
/linux-4.4.14/include/uapi/linux/ |
D | bpf.h | 105 __u32 value_size; /* size of value in bytes */ member
|
D | hyperv.h | 346 __u32 value_size; member
|
/linux-4.4.14/include/linux/ |
D | bpf.h | 37 u32 value_size; member
|
/linux-4.4.14/fs/ext4/ |
D | xattr.c | 238 size_t value_size = le32_to_cpu(entry->e_value_size); in ext4_xattr_check_entry() local 240 if (entry->e_value_block != 0 || value_size > size || in ext4_xattr_check_entry() 241 le16_to_cpu(entry->e_value_offs) + value_size > size) in ext4_xattr_check_entry()
|
/linux-4.4.14/fs/ocfs2/ |
D | xattr.c | 3037 u64 value_size; in ocfs2_calc_xattr_set_need() local 3103 value_size = le64_to_cpu(xe->xe_value_size); in ocfs2_calc_xattr_set_need() 3130 value_size); in ocfs2_calc_xattr_set_need() 3133 value_size = OCFS2_XATTR_ROOT_SIZE; in ocfs2_calc_xattr_set_need() 3145 if (value_size >= OCFS2_XATTR_ROOT_SIZE) in ocfs2_calc_xattr_set_need() 3156 (value_size >= xi->xi_value_len)) || in ocfs2_calc_xattr_set_need()
|
/linux-4.4.14/Documentation/networking/ |
D | filter.txt | 1106 using attr->map_type, attr->key_size, attr->value_size, attr->max_entries
|