Searched refs:btf_value_type_id (Results 1 - 21 of 21) sorted by path

/linux-master/include/linux/
H A Dbpf.h273 u32 btf_value_type_id; member in struct:bpf_map
569 return (map->btf_value_type_id || map->btf_vmlinux_value_type_id) &&
/linux-master/include/uapi/linux/
H A Dbpf.h1471 __u32 btf_value_type_id; /* BTF type_id of the value */ member in struct:bpf_attr::__anon2589
6592 __u32 btf_value_type_id; member in struct:bpf_map_info
/linux-master/kernel/bpf/
H A Darraymap.c459 btf_type_seq_show(map->btf, map->btf_value_type_id, value, m);
479 btf_type_seq_show(map->btf, map->btf_value_type_id,
956 btf_type_seq_show(map->btf, map->btf_value_type_id,
H A Dbpf_local_storage.c678 !attr->btf_key_type_id || !attr->btf_value_type_id)
H A Dhashtab.c1579 btf_type_seq_show(map->btf, map->btf_value_type_id, value, m);
2422 btf_type_seq_show(map->btf, map->btf_value_type_id,
H A Dlocal_storage.c432 btf_type_seq_show(map->btf, map->btf_value_type_id,
439 btf_type_seq_show(map->btf, map->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 ||
1360 if (attr->btf_value_type_id) {
1362 attr->btf_value_type_id);
1368 map->btf_value_type_id = attr->btf_value_type_id;
4855 info.btf_value_type_id = map->btf_value_type_id;
/linux-master/tools/bpf/bpftool/
H A Dbtf.c584 root_type_ids[root_type_cnt++] = info.btf_value_type_id;
590 root_type_ids[root_type_cnt++] = info.btf_value_type_id;
594 root_type_ids[root_type_cnt++] = info.btf_value_type_id;
H A Dmap.c90 : map_info->btf_value_type_id;
803 } else if (info->btf_value_type_id) {
H A Dprog.c271 !map_info->btf_value_type_id ||
328 t_datasec = btf__type_by_id(btf, map_info.btf_value_type_id);
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1471 __u32 btf_value_type_id; /* BTF type_id of the value */ member in struct:bpf_attr::__anon3130
6592 __u32 btf_value_type_id; member in struct:bpf_map_info
/linux-master/tools/lib/bpf/
H A Dbpf.c195 attr.btf_value_type_id = OPTS_GET(opts, btf_value_type_id, 0);
H A Dbpf.h45 __u32 btf_value_type_id; member in struct:bpf_map_create_opts
H A Dgen_loader.c471 attr.btf_value_type_id = map_attr->btf_value_type_id;
474 attr.map_name, map_idx, map_type, attr.btf_value_type_id);
477 if (attr.btf_value_type_id)
502 attr.btf_value_type_id);
H A Dlibbpf.c538 __u32 btf_value_type_id; member in struct:bpf_map
1331 map->btf_value_type_id = type_id;
1816 if (!map->btf_value_type_id)
1819 t = btf__type_by_id(obj->btf, map->btf_value_type_id);
2709 map->btf_value_type_id = def->value_type_id;
4681 * btf_value_type_id.
4698 map->btf_value_type_id = id;
4799 map->btf_value_type_id = info.btf_value_type_id;
5079 create_attr.btf_value_type_id
[all...]
H A Dlibbpf_probes.c286 __u32 btf_key_type_id = 0, btf_value_type_id = 0; local
317 btf_value_type_id = 3;
385 opts.btf_value_type_id = btf_value_type_id;
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage.c129 create_opts.btf_value_type_id = bpf_map__btf_value_type_id(inner_map);
/linux-master/tools/testing/selftests/bpf/map_tests/
H A Dsk_storage_map.c25 .btf_value_type_id = 3,
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c4397 opts.btf_value_type_id = test->value_type_id;
4626 opts.btf_value_type_id = 2;
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",
4640 map_info.btf_value_type_id)) {
4840 if (CHECK(err, "btf_key_type_id:%u btf_value_type_id:%u test->btf_kv_notfound:%u",
5450 opts.btf_value_type_id = test->value_type_id;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dsyscall.c115 .btf_value_type_id = 2,
/linux-master/tools/testing/selftests/bpf/
H A Dtest_verifier.c807 .btf_value_type_id = 3,
826 .btf_value_type_id = 3,
845 .btf_value_type_id = 5,
864 .btf_value_type_id = 14,

Completed in 430 milliseconds