Searched refs:btf_key_type_id (Results 1 - 20 of 20) sorted by relevance

/linux-master/tools/lib/bpf/
H A Dlibbpf_probes.c286 __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 Dbpf.h44 __u32 btf_key_type_id; member in struct:bpf_map_create_opts
H A Dgen_loader.c470 attr.btf_key_type_id = map_attr->btf_key_type_id;
H A Dbpf.c194 attr.btf_key_type_id = OPTS_GET(opts, btf_key_type_id, 0);
H A Dlibbpf.c537 __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 Dsk_storage_map.c24 .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 Dbench_local_storage.c128 create_opts.btf_key_type_id = bpf_map__btf_key_type_id(inner_map);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dsyscall.c114 .btf_key_type_id = 1,
/linux-master/tools/bpf/bpftool/
H A Dbtf.c581 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 Dmap.c81 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 Dtest_verifier.c806 .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 Dlocal_storage.c428 btf_type_seq_show(map->btf, map->btf_key_type_id, key, m);
H A Dbpf_local_storage.c678 !attr->btf_key_type_id || !attr->btf_value_type_id)
H A Dsyscall.c1206 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 Dhashtab.c1577 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 Darraymap.c457 if (map->btf_key_type_id)
/linux-master/include/uapi/linux/
H A Dbpf.h1470 __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 Dbpf.h1470 __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 Dbtf.c4396 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 Dbpf.h272 u32 btf_key_type_id; member in struct:bpf_map

Completed in 740 milliseconds