Home
last modified time | relevance | path

Searched refs:value_type (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.4/drivers/md/persistent-data/
Ddm-array.c101 entry += index * info->value_type.size; in element_at()
116 fn(info->value_type.context, element_at(info, ab, i)); in on_entries()
124 struct dm_btree_value_type *vt = &info->value_type; in inc_ablock_entries()
135 struct dm_btree_value_type *vt = &info->value_type; in dec_ablock_entries()
165 (*ab)->value_size = cpu_to_le32(info->value_type.size); in alloc_ablock()
180 struct dm_btree_value_type *vt = &info->value_type; in fill_ablock()
204 struct dm_btree_value_type *vt = &info->value_type; in trim_ablock()
635 struct dm_btree_value_type *bvt = &info->btree_info.value_type; in dm_array_info_init()
637 memcpy(&info->value_type, vt, sizeof(info->value_type)); in dm_array_info_init()
670 resize.max_entries = calc_max_entries(info->value_type.size, in array_resize()
[all …]
Ddm-btree.c139 max_entries = calc_max_entries(info->value_type.size, block_size); in dm_btree_empty()
146 n->header.value_size = cpu_to_le32(info->value_type.size); in dm_btree_empty()
321 if (info->value_type.dec) { in dm_btree_del()
325 info->value_type.dec(info->value_type.context, in dm_btree_del()
390 size = info->value_type.size; in dm_btree_lookup()
463 memcpy(value_le, value_ptr(n, i), info->value_type.size); in dm_btree_lookup_next_single()
563 sizeof(uint64_t) : s->info->value_type.size; in btree_split_sibling()
633 sizeof(__le64) : s->info->value_type.size; in btree_split_beneath()
805 r = btree_insert_raw(&spine, block, &info->value_type, in insert()
816 r = insert_at(info->value_type.size, n, index, in insert()
[all …]
Ddm-space-map-common.c205 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init()
206 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init()
207 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init()
208 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init()
212 ll->ref_count_info.value_type.size = sizeof(uint32_t); in sm_ll_init()
213 ll->ref_count_info.value_type.inc = NULL; in sm_ll_init()
214 ll->ref_count_info.value_type.dec = NULL; in sm_ll_init()
215 ll->ref_count_info.value_type.equal = NULL; in sm_ll_init()
Ddm-btree-remove.c526 &info->value_type : &le64_vt), in dm_btree_remove()
539 if (info->value_type.dec) in dm_btree_remove()
540 info->value_type.dec(info->value_type.context, in dm_btree_remove()
631 r = remove_nearest(&spine, info, &info->value_type, in remove_one()
648 if (info->value_type.dec) in remove_one()
649 info->value_type.dec(info->value_type.context, in remove_one()
Ddm-array.h70 struct dm_btree_value_type value_type; member
Ddm-btree.h88 struct dm_btree_value_type value_type; member
/Linux-v5.4/tools/perf/include/bpf/
Dbpf.h43 #define pid_map(name, value_type) bpf_map(name, HASH, pid_t, value_type, 64) argument
/Linux-v5.4/drivers/md/
Ddm-thin-metadata.c450 pmd->info.value_type.context = pmd->data_sm; in __setup_btree_details()
451 pmd->info.value_type.size = sizeof(__le64); in __setup_btree_details()
452 pmd->info.value_type.inc = data_block_inc; in __setup_btree_details()
453 pmd->info.value_type.dec = data_block_dec; in __setup_btree_details()
454 pmd->info.value_type.equal = data_block_equal; in __setup_btree_details()
461 pmd->tl_info.value_type.context = &pmd->bl_info; in __setup_btree_details()
462 pmd->tl_info.value_type.size = sizeof(__le64); in __setup_btree_details()
463 pmd->tl_info.value_type.inc = subtree_inc; in __setup_btree_details()
464 pmd->tl_info.value_type.dec = subtree_dec; in __setup_btree_details()
465 pmd->tl_info.value_type.equal = subtree_equal; in __setup_btree_details()
[all …]
Ddm-era-target.c398 struct dm_btree_value_type *vt = &md->writeset_tree_info.value_type; in setup_writeset_tree_info()
/Linux-v5.4/security/tomoyo/
Dcommon.h530 u8 value_type[2]; member
1251 a->group == b->group && a->value_type[0] == b->value_type[0] && in tomoyo_same_number_union()
1252 a->value_type[1] == b->value_type[1]; in tomoyo_same_number_union()
Dutil.c288 ptr->value_type[0] = type; in tomoyo_parse_number_union()
291 ptr->value_type[1] = type; in tomoyo_parse_number_union()
300 ptr->value_type[1] = type; in tomoyo_parse_number_union()
Dcommon.c437 u8 min_type = ptr->value_type[0]; in tomoyo_print_number_union_nospace()
438 const u8 max_type = ptr->value_type[1]; in tomoyo_print_number_union_nospace()
/Linux-v5.4/include/uapi/linux/
Dhyperv.h346 __u32 value_type; member
/Linux-v5.4/drivers/hv/
Dhv_kvp.c418 switch (in_msg->body.kvp_set.data.value_type) { in kvp_send_key()
615 kvp_data->value_type = REG_SZ; /* all our values are strings */ in kvp_respond_to_host()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h299 char value_type; member
/Linux-v5.4/kernel/bpf/
Darraymap.c418 const struct btf_type *value_type) in array_map_check_btf() argument
428 if (BTF_INFO_KIND(value_type->info) != BTF_KIND_DATASEC) in array_map_check_btf()
Dsyscall.c496 const struct btf_type *value_type) in map_check_no_btf() argument
504 const struct btf_type *key_type, *value_type; in map_check_btf() local
519 value_type = btf_type_id_size(btf, &btf_value_id, &value_size); in map_check_btf()
520 if (!value_type || value_size != map->value_size) in map_check_btf()
523 map->spin_lock_off = btf_find_spin_lock(btf, value_type); in map_check_btf()
543 ret = map->ops->map_check_btf(map, btf, key_type, value_type); in map_check_btf()
Dlocal_storage.c336 const struct btf_type *value_type) in cgroup_storage_check_btf() argument
Dlpm_trie.c731 const struct btf_type *value_type) in trie_check_btf() argument
/Linux-v5.4/include/linux/
Dbpf.h60 const struct btf_type *value_type);
177 const struct btf_type *value_type);
/Linux-v5.4/drivers/net/wireless/
Drndis_wlan.c865 int value_type, void *value) in rndis_set_config_parameter() argument
872 if (value_type == 0) in rndis_set_config_parameter()
874 else if (value_type == 2) in rndis_set_config_parameter()
895 if (value_type == 2) in rndis_set_config_parameter()
904 infobuf->type = cpu_to_le32(value_type); in rndis_set_config_parameter()
913 if (value_type == 2) { in rndis_set_config_parameter()
/Linux-v5.4/net/core/
Dbpf_sk_storage.c686 const struct btf_type *value_type) in bpf_sk_storage_map_check_btf() argument