Home
last modified time | relevance | path

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

/Linux-v6.1/tools/lib/bpf/
Dlibbpf.c7243 return libbpf_err_ptr(-EINVAL); in bpf_object__open_file()
7260 return libbpf_err_ptr(-EINVAL); in bpf_object__open_mem()
8184 return obj ? obj->name : libbpf_err_ptr(-EINVAL); in bpf_object__name()
9577 return libbpf_err_ptr(fd); in bpf_link__open()
9583 return libbpf_err_ptr(-ENOMEM); in bpf_link__open()
9591 return libbpf_err_ptr(-ENOMEM); in bpf_link__open()
9699 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_perf_event_opts()
9704 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_perf_event_opts()
9710 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_perf_event_opts()
9715 return libbpf_err_ptr(-ENOMEM); in bpf_program__attach_perf_event_opts()
[all …]
Dbtf_dump.c156 return libbpf_err_ptr(-EINVAL); in btf_dump__new()
159 return libbpf_err_ptr(-EINVAL); in btf_dump__new()
163 return libbpf_err_ptr(-ENOMEM); in btf_dump__new()
190 return libbpf_err_ptr(err); in btf_dump__new()
Dlibbpf_internal.h505 static inline void *libbpf_err_ptr(int err) in libbpf_err_ptr() function
Dusdt.c966 return libbpf_err_ptr(err); in usdt_manager_attach_usdt()
1087 return libbpf_err_ptr(err); in usdt_manager_attach_usdt()
Dbtf.c1391 return libbpf_err_ptr(-errno); in btf__load_from_kernel_by_id_split()
2826 return libbpf_err_ptr(-ENOMEM); in btf_ext__new()
2863 return libbpf_err_ptr(err); in btf_ext__new()
4680 return libbpf_err_ptr(-ESRCH); in btf__load_vmlinux_btf()