Lines Matching refs:libbpf_err_ptr
7463 return libbpf_err_ptr(-EINVAL); in bpf_object__open_file()
7480 return libbpf_err_ptr(-EINVAL); in bpf_object__open_mem()
8470 return obj ? obj->name : libbpf_err_ptr(-EINVAL); in bpf_object__name()
9988 return libbpf_err_ptr(fd); in bpf_link__open()
9994 return libbpf_err_ptr(-ENOMEM); in bpf_link__open()
10002 return libbpf_err_ptr(-ENOMEM); in bpf_link__open()
10111 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_perf_event_opts()
10116 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_perf_event_opts()
10122 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_perf_event_opts()
10127 return libbpf_err_ptr(-ENOMEM); in bpf_program__attach_perf_event_opts()
10176 return libbpf_err_ptr(err); in bpf_program__attach_perf_event_opts()
10517 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_kprobe_opts()
10532 return libbpf_err_ptr(-ENOTSUP); in bpf_program__attach_kprobe_opts()
10537 return libbpf_err_ptr(-ENOTSUP); in bpf_program__attach_kprobe_opts()
10542 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_kprobe_opts()
10557 return libbpf_err_ptr(-ENOMEM); in bpf_program__attach_kprobe_opts()
10595 return libbpf_err_ptr(err); in bpf_program__attach_kprobe_opts()
10617 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_ksyscall()
10842 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_kprobe_multi_opts()
10850 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_kprobe_multi_opts()
10852 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_kprobe_multi_opts()
10854 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_kprobe_multi_opts()
10856 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_kprobe_multi_opts()
10899 return libbpf_err_ptr(err); in bpf_program__attach_kprobe_multi_opts()
11265 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_uprobe_multi()
11288 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_uprobe_multi()
11290 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_uprobe_multi()
11294 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_uprobe_multi()
11297 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_uprobe_multi()
11306 return libbpf_err_ptr(err); in bpf_program__attach_uprobe_multi()
11314 return libbpf_err_ptr(err); in bpf_program__attach_uprobe_multi()
11319 return libbpf_err_ptr(err); in bpf_program__attach_uprobe_multi()
11357 return libbpf_err_ptr(err); in bpf_program__attach_uprobe_multi()
11377 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_uprobe_opts()
11385 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_uprobe_opts()
11400 return libbpf_err_ptr(err); in bpf_program__attach_uprobe_opts()
11416 return libbpf_err_ptr(sym_off); in bpf_program__attach_uprobe_opts()
11428 return libbpf_err_ptr(-ENOTSUP); in bpf_program__attach_uprobe_opts()
11433 return libbpf_err_ptr(-ENOTSUP); in bpf_program__attach_uprobe_opts()
11438 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_uprobe_opts()
11448 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_uprobe_opts()
11455 return libbpf_err_ptr(-ENOMEM); in bpf_program__attach_uprobe_opts()
11493 return libbpf_err_ptr(err); in bpf_program__attach_uprobe_opts()
11573 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_usdt()
11578 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_usdt()
11582 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_usdt()
11589 return libbpf_err_ptr(err); in bpf_program__attach_usdt()
11610 return libbpf_err_ptr(err); in bpf_program__attach_usdt()
11705 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_tracepoint_opts()
11714 return libbpf_err_ptr(pfd); in bpf_program__attach_tracepoint_opts()
11723 return libbpf_err_ptr(err); in bpf_program__attach_tracepoint_opts()
11777 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_raw_tracepoint()
11782 return libbpf_err_ptr(-ENOMEM); in bpf_program__attach_raw_tracepoint()
11791 return libbpf_err_ptr(pfd); in bpf_program__attach_raw_tracepoint()
11848 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_btf_id()
11853 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_btf_id()
11858 return libbpf_err_ptr(-ENOMEM); in bpf_program__attach_btf_id()
11869 return libbpf_err_ptr(pfd); in bpf_program__attach_btf_id()
11916 return libbpf_err_ptr(-EINVAL); in bpf_program_attach_fd()
11921 return libbpf_err_ptr(-ENOMEM); in bpf_program_attach_fd()
11932 return libbpf_err_ptr(link_fd); in bpf_program_attach_fd()
11965 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_tcx()
11974 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_tcx()
11979 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_tcx()
12000 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_freplace()
12006 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_freplace()
12014 return libbpf_err_ptr(btf_id); in bpf_program__attach_freplace()
12039 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_iter()
12047 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_iter()
12052 return libbpf_err_ptr(-ENOMEM); in bpf_program__attach_iter()
12062 return libbpf_err_ptr(link_fd); in bpf_program__attach_iter()
12082 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_netfilter()
12087 return libbpf_err_ptr(-EINVAL); in bpf_program__attach_netfilter()
12092 return libbpf_err_ptr(-ENOMEM); in bpf_program__attach_netfilter()
12109 return libbpf_err_ptr(link_fd); in bpf_program__attach_netfilter()
12122 return libbpf_err_ptr(-EOPNOTSUPP); in bpf_program__attach()
12126 return libbpf_err_ptr(err); in bpf_program__attach()
12134 return libbpf_err_ptr(-EOPNOTSUPP); in bpf_program__attach()
12165 return libbpf_err_ptr(-EINVAL); in bpf_map__attach_struct_ops()
12169 return libbpf_err_ptr(-EINVAL); in bpf_map__attach_struct_ops()
12180 return libbpf_err_ptr(err); in bpf_map__attach_struct_ops()
12195 return libbpf_err_ptr(fd); in bpf_map__attach_struct_ops()
12435 return libbpf_err_ptr(-EINVAL); in perf_buffer__new()
12465 return libbpf_err_ptr(-EINVAL); in perf_buffer__new_raw()
12468 return libbpf_err_ptr(-EINVAL); in perf_buffer__new_raw()