Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dlog_buf.c203 const void *raw_btf_data; in bpf_btf_load_log_buf() local
215 raw_btf_data = btf__raw_data(btf, &raw_btf_size); in bpf_btf_load_log_buf()
216 if (!ASSERT_OK_PTR(raw_btf_data, "raw_btf_data_good")) 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()
250 if (!ASSERT_OK_PTR(raw_btf_data, "raw_btf_data_bad")) 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.c210 const void *raw_btf_data; in test_unpriv_bpf_disabled_negative() local
213 raw_btf_data = btf__raw_data(btf, &raw_btf_size); in test_unpriv_bpf_disabled_negative()
214 if (ASSERT_OK_PTR(raw_btf_data, "raw_btf_data_good")) 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()
Dtoken.c570 const void *raw_btf_data; in userns_btf_load() local
597 raw_btf_data = btf__raw_data(btf, &raw_btf_size); in userns_btf_load()
598 if (!ASSERT_OK_PTR(raw_btf_data, "raw_btf_data")) 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()