Home
last modified time | relevance | path

Searched refs:libbpf_err_ptr (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.c7473 return libbpf_err_ptr(-EINVAL); in bpf_object__open_file()
7490 return libbpf_err_ptr(-EINVAL); in bpf_object__open_mem()
8480 return obj ? obj->name : libbpf_err_ptr(-EINVAL); in bpf_object__name()
9998 return libbpf_err_ptr(fd); in bpf_link__open()
10004 return libbpf_err_ptr(-ENOMEM); in bpf_link__open()
10012 return libbpf_err_ptr(-ENOMEM); in bpf_link__open()
10121 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_perf_event_opts()
10126 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_perf_event_opts()
10132 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_perf_event_opts()
10137 return libbpf_err_ptr(-ENOMEM); in bpf_program__attach_perf_event_opts()
[all …]
H A Dbtf_dump.c157 return libbpf_err_ptr(-EINVAL); in btf_dump__new()
160 return libbpf_err_ptr(-EINVAL); in btf_dump__new()
164 return libbpf_err_ptr(-ENOMEM); in btf_dump__new()
191 return libbpf_err_ptr(err); in btf_dump__new()
H A Dlibbpf_internal.h522 static inline void *libbpf_err_ptr(int err) in libbpf_err_ptr() function
H A Dusdt.c975 return libbpf_err_ptr(err); in usdt_manager_attach_usdt()
1127 return libbpf_err_ptr(err); in usdt_manager_attach_usdt()
H A Dbtf.c1403 return libbpf_err_ptr(-errno); in btf__load_from_kernel_by_id_split()
2839 return libbpf_err_ptr(-ENOMEM); in btf_ext__new()
2876 return libbpf_err_ptr(err); in btf_ext__new()
4804 return libbpf_err_ptr(-ESRCH); in btf__load_vmlinux_btf()