Home
last modified time | relevance | path

Searched refs:btf_size (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dksyms.c17 __u64 btf_size; in test_ksyms() local
34 btf_size = st.st_size; in test_ksyms()
53 CHECK(data->out__btf_size != btf_size, "btf_size", in test_ksyms()
54 "got %llu, exp %llu\n", data->out__btf_size, btf_size); in test_ksyms()
Dbtf.c3715 unsigned int *btf_size, in btf_raw_create() argument
3792 *btf_size = size_needed; in btf_raw_create()
3986 info->btf_size = raw_btf_size; in test_big_btf_info()
4054 info[i].btf_size = raw_btf_size; in test_btf_id()
4082 info[0].btf_size != info[1].btf_size || in test_btf_id()
4083 (ret = memcmp(user_btf[0], user_btf[1], info[0].btf_size)), in test_btf_id()
4086 info[0].btf_size, info[1].btf_size, ret)) { in test_btf_id()
4210 info.btf_size = user_btf_size; in do_test_get_info()
4215 info.btf_size != raw_btf_size || in do_test_get_info()
4219 raw_btf_size, info.btf_size, expected_nbytes, ret)) { in do_test_get_info()
/tools/testing/selftests/bpf/progs/
Dsyscall.c53 .btf_size = sizeof(raw_btf), in btf_load()
/tools/lib/bpf/
Dbpf.h246 LIBBPF_API int bpf_load_btf(const void *btf, __u32 btf_size, char *log_buf,
Dbpf.c996 int bpf_load_btf(const void *btf, __u32 btf_size, char *log_buf, __u32 log_buf_size, in bpf_load_btf() argument
1003 attr.btf_size = btf_size; in bpf_load_btf()
Dbtf.c1370 btf_info.btf_size = last_size; in btf_get_from_fd()
1373 if (!err && btf_info.btf_size > last_size) { in btf_get_from_fd()
1376 last_size = btf_info.btf_size; in btf_get_from_fd()
1387 btf_info.btf_size = last_size; in btf_get_from_fd()
1392 if (err || btf_info.btf_size > last_size) { in btf_get_from_fd()
1397 btf = btf_new(ptr, btf_info.btf_size, base_btf); in btf_get_from_fd()
Dgen_loader.c363 attr.btf_size = btf_raw_size; in bpf_gen__load_btf()
/tools/bpf/bpftool/
Dbtf.c792 printf("size %uB", info->btf_size); in show_btf_plain()
822 jsonw_uint_field(json_wtr, "size", info->btf_size); in show_btf_json()
/tools/include/uapi/linux/
Dbpf.h1416 __u32 btf_size; member
5607 __u32 btf_size; member