Home
last modified time | relevance | path

Searched refs:libbpf_err (Results 1 – 9 of 9) sorted by relevance

/linux/tools/lib/bpf/
A Dnetlink.c234 return libbpf_err(ret); in bpf_set_link_xdp_fd_opts()
242 return libbpf_err(ret); in bpf_set_link_xdp_fd()
340 return libbpf_err(ret); in bpf_get_link_xdp_info()
368 return libbpf_err(ret); in bpf_get_link_xdp_id()
464 return libbpf_err(ret); in bpf_tc_hook_create()
601 return libbpf_err(ret); in bpf_tc_attach()
606 return libbpf_err(ret); in bpf_tc_attach()
612 return libbpf_err(ret); in bpf_tc_attach()
616 return libbpf_err(ret); in bpf_tc_attach()
623 return libbpf_err(ret); in bpf_tc_attach()
[all …]
A Dbtf.c631 return libbpf_err(-E2BIG); in btf__resolve_size()
1169 return libbpf_err(err); in btf__load_into_kernel()
1359 return libbpf_err(err); in btf__get_from_id()
1527 return libbpf_err(off); in btf__find_str()
1552 return libbpf_err(off); in btf__add_str()
1576 return libbpf_err(err); in btf_commit_type()
1613 return libbpf_err(sz); in btf__add_type()
1627 return libbpf_err(err); in btf__add_type()
1734 return libbpf_err(err); in btf__add_btf()
2263 return libbpf_err(id); in btf__add_func()
[all …]
A Dringbuf.c72 return libbpf_err(err); in ring_buffer__add()
78 return libbpf_err(-EINVAL); in ring_buffer__add()
83 return libbpf_err(-ENOMEM); in ring_buffer__add()
88 return libbpf_err(-ENOMEM); in ring_buffer__add()
106 return libbpf_err(err); in ring_buffer__add()
121 return libbpf_err(err); in ring_buffer__add()
136 return libbpf_err(err); in ring_buffer__add()
263 return libbpf_err(err); in ring_buffer__consume()
282 return libbpf_err(-errno); in ring_buffer__poll()
290 return libbpf_err(err); in ring_buffer__poll()
A Dlibbpf.c2806 return libbpf_err(err); in btf_finalize_data()
4233 return libbpf_err(err); in bpf_map__reuse_fd()
6670 return libbpf_err(err); in bpf_program__load()
7312 return libbpf_err(err); in bpf_object__load_xattr()
7508 return libbpf_err(err); in bpf_program__pin()
7614 return libbpf_err(err); in bpf_map__pin()
7743 return libbpf_err(err); in bpf_object__pin_maps()
7830 return libbpf_err(err); in bpf_object__pin_programs()
8694 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()
9281 return libbpf_err(err); in bpf_link__destroy()
[all …]
A Dbpf.c263 return libbpf_err(-EINVAL); in libbpf__bpf_prog_load()
266 return libbpf_err(-EINVAL); in libbpf__bpf_prog_load()
376 return libbpf_err(-EINVAL); in bpf_load_program_xattr()
578 return libbpf_err(-EINVAL); in bpf_map_batch_common()
670 return libbpf_err(-EINVAL); in bpf_prog_attach_xattr()
719 return libbpf_err(-EINVAL); in bpf_link_create()
727 return libbpf_err(-EINVAL); in bpf_link_create()
782 return libbpf_err(-EINVAL); in bpf_link_update()
860 return libbpf_err(-EINVAL); in bpf_prog_test_run_xattr()
890 return libbpf_err(-EINVAL); in bpf_prog_test_run_opts()
[all …]
A Dlibbpf_errno.c43 return libbpf_err(-EINVAL); in libbpf_strerror()
66 return libbpf_err(-ENOENT); in libbpf_strerror()
A Dbtf_dump.c266 return libbpf_err(-EINVAL); in btf_dump__dump_type()
270 return libbpf_err(err); in btf_dump__dump_type()
275 return libbpf_err(err); in btf_dump__dump_type()
1108 return libbpf_err(-EINVAL); in btf_dump__emit_type_decl()
1112 return libbpf_err(err); in btf_dump__emit_type_decl()
2288 return libbpf_err(-EINVAL); in btf_dump__dump_type_data()
2292 return libbpf_err(-ENOENT); in btf_dump__dump_type_data()
2313 return libbpf_err(ret); in btf_dump__dump_type_data()
A Dlinker.c446 return libbpf_err(-EINVAL); in bpf_linker__add_file()
449 return libbpf_err(-EINVAL); in bpf_linker__add_file()
469 return libbpf_err(err); in bpf_linker__add_file()
2556 return libbpf_err(-EINVAL); in bpf_linker__finalize()
2560 return libbpf_err(err); in bpf_linker__finalize()
2592 return libbpf_err(err); in bpf_linker__finalize()
2599 return libbpf_err(err); in bpf_linker__finalize()
A Dlibbpf_internal.h439 static inline int libbpf_err(int ret) in libbpf_err() function

Completed in 54 milliseconds