Searched refs:btf_size (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | ksyms.c | 17 __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()
|
D | btf.c | 4127 unsigned int *btf_size, in btf_raw_create() argument 4204 *btf_size = size_needed; in btf_raw_create() 4409 info->btf_size = raw_btf_size; in test_big_btf_info() 4477 info[i].btf_size = raw_btf_size; in test_btf_id() 4503 info[0].btf_size != info[1].btf_size || in test_btf_id() 4504 (ret = memcmp(user_btf[0], user_btf[1], info[0].btf_size)), in test_btf_id() 4507 info[0].btf_size, info[1].btf_size, ret)) { in test_btf_id() 4624 info.btf_size = user_btf_size; in do_test_get_info() 4629 info.btf_size != raw_btf_size || in do_test_get_info() 4633 raw_btf_size, info.btf_size, expected_nbytes, ret)) { in do_test_get_info()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | syscall.c | 53 .btf_size = sizeof(raw_btf), in btf_load()
|
/linux-6.1.9/tools/lib/bpf/ |
D | bpf.h | 123 LIBBPF_API int bpf_btf_load(const void *btf_data, size_t btf_size,
|
D | bpf.c | 1021 int bpf_btf_load(const void *btf_data, size_t btf_size, const struct bpf_btf_load_opts *opts) in bpf_btf_load() argument 1047 attr.btf_size = btf_size; in bpf_btf_load()
|
D | btf.c | 1350 btf_info.btf_size = last_size; in btf_get_from_fd() 1353 if (!err && btf_info.btf_size > last_size) { in btf_get_from_fd() 1356 last_size = btf_info.btf_size; in btf_get_from_fd() 1367 btf_info.btf_size = last_size; in btf_get_from_fd() 1372 if (err || btf_info.btf_size > last_size) { in btf_get_from_fd() 1377 btf = btf_new(ptr, btf_info.btf_size, base_btf); in btf_get_from_fd()
|
D | gen_loader.c | 428 attr.btf_size = btf_raw_size; in bpf_gen__load_btf()
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | btf.c | 875 printf("size %uB", info->btf_size); in show_btf_plain() 906 jsonw_uint_field(json_wtr, "size", info->btf_size); in show_btf_json()
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | bpf.h | 1475 __u32 btf_size; member 6228 __u32 btf_size; member
|
/linux-6.1.9/include/uapi/linux/ |
D | bpf.h | 1475 __u32 btf_size; member 6228 __u32 btf_size; member
|
/linux-6.1.9/kernel/bpf/ |
D | btf.c | 6903 attr->btf_size, attr->btf_log_level, in btf_new_fd() 6972 btf_copy = min_t(u32, btf->data_size, info.btf_size); in btf_get_info_by_fd() 6975 info.btf_size = btf->data_size; in btf_get_info_by_fd()
|