Home
last modified time | relevance | path

Searched refs:raw_btf_size (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dlog_buf.c203 __u32 raw_btf_size; in bpf_btf_load_log_buf() local
214 raw_btf_data = btf__raw_data(btf, &raw_btf_size); in bpf_btf_load_log_buf()
227 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
237 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
248 raw_btf_data = btf__raw_data(btf, &raw_btf_size); in bpf_btf_load_log_buf()
255 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
Dunpriv_bpf_disabled.c210 __u32 raw_btf_size; in test_unpriv_bpf_disabled_negative() local
212 raw_btf_data = btf__raw_data(btf, &raw_btf_size); in test_unpriv_bpf_disabled_negative()
214 ASSERT_EQ(bpf_btf_load(raw_btf_data, raw_btf_size, NULL), -EPERM, in test_unpriv_bpf_disabled_negative()
Dbtf.c4327 unsigned int raw_btf_size; in do_test_raw() local
4339 &raw_btf_size, NULL); in do_test_raw()
4351 btf_fd = load_raw_btf(raw_btf, raw_btf_size); in do_test_raw()
4450 unsigned int raw_btf_size; in test_big_btf_info() local
4463 &raw_btf_size, NULL); in test_big_btf_info()
4470 user_btf = malloc(raw_btf_size); in test_big_btf_info()
4476 btf_fd = load_raw_btf(raw_btf, raw_btf_size); in test_big_btf_info()
4491 info->btf_size = raw_btf_size; in test_big_btf_info()
4537 unsigned int raw_btf_size; in test_btf_id() local
4545 &raw_btf_size, NULL); in test_btf_id()
[all …]