Home
last modified time | relevance | path

Searched refs:bpf_btf_load (Results 1 – 13 of 13) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlog_buf.c225 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
235 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
253 fd = bpf_btf_load(raw_btf_data, raw_btf_size, &opts); in bpf_btf_load_log_buf()
H A Dcore_reloc_raw.c75 btf_fd = bpf_btf_load(&raw_btf, sizeof(raw_btf), &opts); in test_bad_local_id()
H A Dtoken.c604 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()
H A Dunpriv_bpf_disabled.c215 ASSERT_EQ(bpf_btf_load(raw_btf_data, raw_btf_size, NULL), -EPERM, in test_unpriv_bpf_disabled_negative()
H A Dverifier_log.c259 fd = bpf_btf_load(btf_data, btf_data_sz, opts); in load_btf()
H A Dbtf.c4371 btf_fd = bpf_btf_load(raw_data, raw_size, &opts); in load_raw_btf()
4376 btf_fd = bpf_btf_load(raw_data, raw_size, &opts); in load_raw_btf()
/linux/tools/lib/bpf/
H A Dlibbpf.map317 bpf_btf_load;
H A Dlibbpf_probes.c249 btf_fd = bpf_btf_load(raw_btf, btf_len, &opts); in libbpf__load_raw_btf()
H A Dbpf.h145 LIBBPF_API int bpf_btf_load(const void *btf_data, size_t btf_size,
H A Dbtf.c1435 btf->fd = bpf_btf_load(raw_data, raw_size, &opts); in btf_load_into_kernel()
/linux/tools/testing/selftests/bpf/map_tests/
H A Dsk_storage_map.c139 return bpf_btf_load(raw_btf, sizeof(raw_btf), NULL); in load_btf()
/linux/tools/testing/selftests/bpf/
H A Dtest_verifier.c770 btf_fd = bpf_btf_load(raw_btf, ptr - raw_btf, &opts); in load_btf_spec()
/linux/kernel/bpf/
H A Dsyscall.c5089 static int bpf_btf_load(const union bpf_attr *attr, bpfptr_t uattr, __u32 uattr_size) in bpf_btf_load() function
5835 err = bpf_btf_load(&attr, uattr, size); in __sys_bpf()