Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
A Dnetlink.c336 return libbpf_err(err); in bpf_xdp_attach()
463 return libbpf_err(err); in bpf_xdp_query()
480 return libbpf_err(err); in bpf_xdp_query()
492 return libbpf_err(err); in bpf_xdp_query()
497 return libbpf_err(err); in bpf_xdp_query()
513 return libbpf_err(ret); in bpf_xdp_query_id()
625 return libbpf_err(ret); in bpf_tc_hook_create()
763 return libbpf_err(ret); in bpf_tc_attach()
768 return libbpf_err(ret); in bpf_tc_attach()
774 return libbpf_err(ret); in bpf_tc_attach()
[all …]
A Dbpf.c141 return libbpf_err(-EBUSY); in libbpf_set_memlock_rlim()
184 return libbpf_err(-EINVAL); in bpf_map_create()
253 return libbpf_err(-EINVAL); in bpf_prog_load()
257 return libbpf_err(-EINVAL); in bpf_prog_load()
277 return libbpf_err(-E2BIG); in bpf_prog_load()
286 return libbpf_err(-EINVAL); in bpf_prog_load()
299 return libbpf_err(-EINVAL); in bpf_prog_load()
852 return libbpf_err(err); in bpf_link_create()
858 return libbpf_err(err); in bpf_link_create()
860 return libbpf_err(err); in bpf_link_create()
[all …]
A Dbtf.c1456 return libbpf_err(err); in btf_load_into_kernel()
1732 return libbpf_err(off); in btf__find_str()
1757 return libbpf_err(off); in btf__add_str()
1781 return libbpf_err(err); in btf_commit_type()
1835 return libbpf_err(sz); in btf_add_type()
1849 return libbpf_err(err); in btf_add_type()
1854 return libbpf_err(err); in btf_add_type()
1986 return libbpf_err(err); in btf__add_btf()
2617 return libbpf_err(id); in btf__add_func()
3346 return libbpf_err(err); in btf__dedup()
[all …]
A Dlibbpf_errno.c45 return libbpf_err(-EINVAL); in libbpf_strerror()
66 return libbpf_err(-ERANGE); in libbpf_strerror()
73 return libbpf_err(-ERANGE); in libbpf_strerror()
74 return libbpf_err(-ENOENT); in libbpf_strerror()
A Dringbuf.c93 return libbpf_err(err); in ring_buffer__add()
99 return libbpf_err(-EINVAL); in ring_buffer__add()
104 return libbpf_err(-ENOMEM); in ring_buffer__add()
109 return libbpf_err(-ENOMEM); in ring_buffer__add()
114 return libbpf_err(-ENOMEM); in ring_buffer__add()
169 return libbpf_err(err); in ring_buffer__add()
297 return libbpf_err(err); in ring_buffer__consume_n()
322 return libbpf_err(err); in ring_buffer__consume()
343 return libbpf_err(-errno); in ring_buffer__poll()
351 return libbpf_err(err); in ring_buffer__poll()
[all …]
A Dlibbpf_probes.c215 return libbpf_err(-EINVAL); in libbpf_probe_bpf_prog_type()
218 return libbpf_err(ret); in libbpf_probe_bpf_prog_type()
410 return libbpf_err(-EINVAL); in libbpf_probe_bpf_map_type()
413 return libbpf_err(ret); in libbpf_probe_bpf_map_type()
428 return libbpf_err(-EINVAL); in libbpf_probe_bpf_helper()
446 return libbpf_err(ret); in libbpf_probe_bpf_helper()
A Dlibbpf.c4849 return libbpf_err(err); in bpf_map__reuse_fd()
4892 return libbpf_err(err); in bpf_map__reuse_fd()
8555 return libbpf_err(err); in bpf_object_load()
8627 return libbpf_err(err); in bpf_program__pin()
8631 return libbpf_err(err); in bpf_program__pin()
8728 return libbpf_err(err); in bpf_map__pin()
8850 return libbpf_err(err); in bpf_object__pin_maps()
8917 return libbpf_err(err); in bpf_object__pin_programs()
9900 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()
10611 return libbpf_err(err); in bpf_link__destroy()
[all …]
A Dbtf_dump.c282 return libbpf_err(-EINVAL); in btf_dump__dump_type()
286 return libbpf_err(err); in btf_dump__dump_type()
291 return libbpf_err(err); in btf_dump__dump_type()
1273 return libbpf_err(-EINVAL); in btf_dump__emit_type_decl()
1277 return libbpf_err(err); in btf_dump__emit_type_decl()
2523 return libbpf_err(-EINVAL); in btf_dump__dump_type_data()
2527 return libbpf_err(-ENOENT); in btf_dump__dump_type_data()
2548 return libbpf_err(ret); in btf_dump__dump_type_data()
A Dlinker.c447 return libbpf_err(-EINVAL); in bpf_linker__add_file()
450 return libbpf_err(-EINVAL); in bpf_linker__add_file()
470 return libbpf_err(err); in bpf_linker__add_file()
2602 return libbpf_err(-EINVAL); in bpf_linker__finalize()
2606 return libbpf_err(err); in bpf_linker__finalize()
2638 return libbpf_err(err); in bpf_linker__finalize()
2645 return libbpf_err(err); in bpf_linker__finalize()
A Dlibbpf_internal.h547 static inline int libbpf_err(int ret) in libbpf_err() function

Completed in 71 milliseconds