Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dlog_buf.c204 __u32 raw_btf_size; in bpf_btf_load_log_buf() local
215 raw_btf_data = btf__raw_data(btf, &raw_btf_size); in bpf_btf_load_log_buf()
228 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
238 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
249 raw_btf_data = btf__raw_data(btf, &raw_btf_size); in bpf_btf_load_log_buf()
256 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
Dunpriv_bpf_disabled.c211 __u32 raw_btf_size; in test_unpriv_bpf_disabled_negative() local
213 raw_btf_data = btf__raw_data(btf, &raw_btf_size); in test_unpriv_bpf_disabled_negative()
215 ASSERT_EQ(bpf_btf_load(raw_btf_data, raw_btf_size, NULL), -EPERM, in test_unpriv_bpf_disabled_negative()
Dbtf.c4387 unsigned int raw_btf_size; in do_test_raw() local
4399 &raw_btf_size, NULL); in do_test_raw()
4411 btf_fd = load_raw_btf(raw_btf, raw_btf_size); in do_test_raw()
4513 unsigned int raw_btf_size; in test_big_btf_info() local
4526 &raw_btf_size, NULL); in test_big_btf_info()
4533 user_btf = malloc(raw_btf_size); in test_big_btf_info()
4539 btf_fd = load_raw_btf(raw_btf, raw_btf_size); in test_big_btf_info()
4554 info->btf_size = raw_btf_size; in test_big_btf_info()
4600 unsigned int raw_btf_size; in test_btf_id() local
4608 &raw_btf_size, NULL); in test_btf_id()
[all …]
Dtoken.c572 __u32 raw_btf_size; in userns_btf_load() local
597 raw_btf_data = btf__raw_data(btf, &raw_btf_size); in userns_btf_load()
604 btf_fd = bpf_btf_load(raw_btf_data, raw_btf_size, &btf_opts); in userns_btf_load()
611 btf_fd = bpf_btf_load(raw_btf_data, raw_btf_size, &btf_opts); in userns_btf_load()
623 btf_fd = bpf_btf_load(raw_btf_data, raw_btf_size, &btf_opts); in userns_btf_load()