Searched refs:btf_size (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/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 | 3536 unsigned int *btf_size, in btf_raw_create() argument 3613 *btf_size = size_needed; in btf_raw_create() 3807 info->btf_size = raw_btf_size; in test_big_btf_info() 3875 info[i].btf_size = raw_btf_size; in test_btf_id() 3903 info[0].btf_size != info[1].btf_size || in test_btf_id() 3904 (ret = memcmp(user_btf[0], user_btf[1], info[0].btf_size)), in test_btf_id() 3907 info[0].btf_size, info[1].btf_size, ret)) { in test_btf_id() 4031 info.btf_size = user_btf_size; in do_test_get_info() 4036 info.btf_size != raw_btf_size || in do_test_get_info() 4040 raw_btf_size, info.btf_size, expected_nbytes, ret)) { in do_test_get_info()
|
/Linux-v5.10/tools/lib/bpf/ |
D | bpf.c | 861 int bpf_load_btf(const void *btf, __u32 btf_size, char *log_buf, __u32 log_buf_size, in bpf_load_btf() argument 868 attr.btf_size = btf_size; in bpf_load_btf()
|
D | bpf.h | 238 LIBBPF_API int bpf_load_btf(const void *btf, __u32 btf_size, char *log_buf,
|
D | btf.c | 1248 btf_info.btf_size = 4096; in btf__get_from_id() 1249 last_size = btf_info.btf_size; in btf__get_from_id() 1260 if (!err && btf_info.btf_size > last_size) { in btf__get_from_id() 1263 last_size = btf_info.btf_size; in btf__get_from_id() 1275 if (err || btf_info.btf_size > last_size) { in btf__get_from_id() 1280 *btf = btf__new((__u8 *)(long)btf_info.btf, btf_info.btf_size); in btf__get_from_id()
|
/Linux-v5.10/tools/bpf/bpftool/ |
D | btf.c | 746 printf("size %uB", info->btf_size); in show_btf_plain() 775 jsonw_uint_field(json_wtr, "size", info->btf_size); in show_btf_json()
|
/Linux-v5.10/include/uapi/linux/ |
D | bpf.h | 637 __u32 btf_size; member 4419 __u32 btf_size; member
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | bpf.h | 637 __u32 btf_size; member 4419 __u32 btf_size; member
|
/Linux-v5.10/kernel/bpf/ |
D | btf.c | 5435 attr->btf_size, attr->btf_log_level, in btf_new_fd() 5502 btf_copy = min_t(u32, btf->data_size, info.btf_size); in btf_get_info_by_fd() 5505 info.btf_size = btf->data_size; in btf_get_info_by_fd()
|