/linux-master/tools/lib/bpf/ |
H A D | libbpf_probes.c | 286 __u32 btf_key_type_id = 0, btf_value_type_id = 0; local 316 btf_key_type_id = 1; 384 opts.btf_key_type_id = btf_key_type_id;
|
H A D | bpf.h | 44 __u32 btf_key_type_id; member in struct:bpf_map_create_opts
|
H A D | gen_loader.c | 470 attr.btf_key_type_id = map_attr->btf_key_type_id;
|
H A D | bpf.c | 194 attr.btf_key_type_id = OPTS_GET(opts, btf_key_type_id, 0);
|
H A D | libbpf.c | 537 __u32 btf_key_type_id; member in struct:bpf_map 2708 map->btf_key_type_id = def->key_type_id; 4680 * For struct_ops map, it does not need btf_key_type_id and 4697 map->btf_key_type_id = 0; 4798 map->btf_key_type_id = info.btf_key_type_id; 5078 create_attr.btf_key_type_id = map->btf_key_type_id; 5115 create_attr.btf_key_type_id = 0; 5117 map->btf_key_type_id [all...] |
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | sk_storage_map.c | 24 .btf_key_type_id = 1, 564 bad_xattr.btf_key_type_id = 0; 570 bad_xattr.btf_key_type_id = 3;
|
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_local_storage.c | 128 create_opts.btf_key_type_id = bpf_map__btf_key_type_id(inner_map);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | syscall.c | 114 .btf_key_type_id = 1,
|
/linux-master/tools/bpf/bpftool/ |
H A D | btf.c | 581 root_type_ids[root_type_cnt++] = info.btf_key_type_id; 589 root_type_ids[root_type_cnt++] = info.btf_key_type_id; 593 root_type_ids[root_type_cnt++] = info.btf_key_type_id;
|
H A D | map.c | 81 if (map_info->btf_key_type_id) { 84 ret = btf_dumper_type(d, map_info->btf_key_type_id, key);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_verifier.c | 806 .btf_key_type_id = 1, 825 .btf_key_type_id = 1, 844 .btf_key_type_id = 1, 863 .btf_key_type_id = 1,
|
/linux-master/kernel/bpf/ |
H A D | local_storage.c | 428 btf_type_seq_show(map->btf, map->btf_key_type_id, key, m);
|
H A D | bpf_local_storage.c | 678 !attr->btf_key_type_id || !attr->btf_value_type_id)
|
H A D | syscall.c | 1206 attr->btf_key_type_id || attr->btf_value_type_id) 1208 } else if (attr->btf_key_type_id && !attr->btf_value_type_id) { 1338 if (attr->btf_key_type_id || attr->btf_value_type_id || 1361 err = map_check_btf(map, token, btf, attr->btf_key_type_id, 1367 map->btf_key_type_id = attr->btf_key_type_id; 4854 info.btf_key_type_id = map->btf_key_type_id;
|
H A D | hashtab.c | 1577 btf_type_seq_show(map->btf, map->btf_key_type_id, key, m); 2417 btf_type_seq_show(map->btf, map->btf_key_type_id, key, m);
|
H A D | arraymap.c | 457 if (map->btf_key_type_id)
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 1470 __u32 btf_key_type_id; /* BTF type_id of the key */ member in struct:bpf_attr::__anon2589 6591 __u32 btf_key_type_id; member in struct:bpf_map_info
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 1470 __u32 btf_key_type_id; /* BTF type_id of the key */ member in struct:bpf_attr::__anon3130 6591 __u32 btf_key_type_id; member in struct:bpf_map_info
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 4396 opts.btf_key_type_id = test->key_type_id; 4625 opts.btf_key_type_id = 1; 4637 map_info.btf_key_type_id != 1 || map_info.btf_value_type_id != 2, 4638 "err:%d errno:%d info.id:%u btf_id:%u btf_key_type_id:%u btf_value_type_id:%u", 4639 err, errno, info[0].id, map_info.btf_id, map_info.btf_key_type_id, 4840 if (CHECK(err, "btf_key_type_id:%u btf_value_type_id:%u test->btf_kv_notfound:%u", 5449 opts.btf_key_type_id = test->key_type_id;
|
/linux-master/include/linux/ |
H A D | bpf.h | 272 u32 btf_key_type_id; member in struct:bpf_map
|