/Linux-v4.19/drivers/md/persistent-data/ |
D | dm-array.c | 101 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 …]
|
D | dm-btree.c | 139 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() 662 sizeof(__le64) : s->info->value_type.size; in btree_split_beneath() 804 r = btree_insert_raw(&spine, block, &info->value_type, in insert() 815 r = insert_at(info->value_type.size, n, index, in insert() [all …]
|
D | dm-space-map-common.c | 203 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init() 204 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init() 205 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init() 206 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init() 210 ll->ref_count_info.value_type.size = sizeof(uint32_t); in sm_ll_init() 211 ll->ref_count_info.value_type.inc = NULL; in sm_ll_init() 212 ll->ref_count_info.value_type.dec = NULL; in sm_ll_init() 213 ll->ref_count_info.value_type.equal = NULL; in sm_ll_init()
|
D | dm-btree-remove.c | 526 &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()
|
D | dm-array.h | 70 struct dm_btree_value_type value_type; member
|
D | dm-btree.h | 88 struct dm_btree_value_type value_type; member
|
/Linux-v4.19/drivers/md/ |
D | dm-thin-metadata.c | 417 pmd->info.value_type.context = pmd->data_sm; in __setup_btree_details() 418 pmd->info.value_type.size = sizeof(__le64); in __setup_btree_details() 419 pmd->info.value_type.inc = data_block_inc; in __setup_btree_details() 420 pmd->info.value_type.dec = data_block_dec; in __setup_btree_details() 421 pmd->info.value_type.equal = data_block_equal; in __setup_btree_details() 428 pmd->tl_info.value_type.context = &pmd->bl_info; in __setup_btree_details() 429 pmd->tl_info.value_type.size = sizeof(__le64); in __setup_btree_details() 430 pmd->tl_info.value_type.inc = subtree_inc; in __setup_btree_details() 431 pmd->tl_info.value_type.dec = subtree_dec; in __setup_btree_details() 432 pmd->tl_info.value_type.equal = subtree_equal; in __setup_btree_details() [all …]
|
D | dm-era-target.c | 397 struct dm_btree_value_type *vt = &md->writeset_tree_info.value_type; in setup_writeset_tree_info()
|
/Linux-v4.19/security/tomoyo/ |
D | common.h | 527 u8 value_type[2]; member 1248 a->group == b->group && a->value_type[0] == b->value_type[0] && in tomoyo_same_number_union() 1249 a->value_type[1] == b->value_type[1]; in tomoyo_same_number_union()
|
D | util.c | 280 ptr->value_type[0] = type; in tomoyo_parse_number_union() 283 ptr->value_type[1] = type; in tomoyo_parse_number_union() 292 ptr->value_type[1] = type; in tomoyo_parse_number_union()
|
D | common.c | 433 u8 min_type = ptr->value_type[0]; in tomoyo_print_number_union_nospace() 434 const u8 max_type = ptr->value_type[1]; in tomoyo_print_number_union_nospace()
|
/Linux-v4.19/include/uapi/linux/ |
D | hyperv.h | 346 __u32 value_type; member
|
/Linux-v4.19/drivers/hv/ |
D | hv_kvp.c | 412 switch (in_msg->body.kvp_set.data.value_type) { in kvp_send_key() 595 kvp_data->value_type = REG_SZ; /* all our values are strings */ in kvp_respond_to_host()
|
/Linux-v4.19/drivers/crypto/qat/qat_common/ |
D | icp_qat_uclo.h | 299 char value_type; member
|
/Linux-v4.19/include/linux/ |
D | bpf.h | 53 const struct btf_type *value_type); 127 const struct btf_type *value_type);
|
/Linux-v4.19/kernel/bpf/ |
D | syscall.c | 461 const struct btf_type *value_type) in map_check_no_btf() argument 469 const struct btf_type *key_type, *value_type; in map_check_btf() local 477 value_type = btf_type_id_size(btf, &btf_value_id, &value_size); in map_check_btf() 478 if (!value_type || value_size != map->value_size) in map_check_btf() 482 ret = map->ops->map_check_btf(map, key_type, value_type); in map_check_btf()
|
D | lpm_trie.c | 693 const struct btf_type *value_type) in trie_check_btf() argument
|
D | arraymap.c | 363 const struct btf_type *value_type) in array_map_check_btf() argument
|
/Linux-v4.19/drivers/net/wireless/ |
D | rndis_wlan.c | 877 int value_type, void *value) in rndis_set_config_parameter() argument 884 if (value_type == 0) in rndis_set_config_parameter() 886 else if (value_type == 2) in rndis_set_config_parameter() 907 if (value_type == 2) in rndis_set_config_parameter() 916 infobuf->type = cpu_to_le32(value_type); in rndis_set_config_parameter() 925 if (value_type == 2) { in rndis_set_config_parameter()
|