Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/lib/bpf/
A Dnetlink.c335 return libbpf_err(err); in bpf_xdp_attach()
459 return libbpf_err(err); in bpf_xdp_query()
472 return libbpf_err(err); in bpf_xdp_query()
483 return libbpf_err(err); in bpf_xdp_query()
488 return libbpf_err(err); in bpf_xdp_query()
502 return libbpf_err(ret); in bpf_xdp_query_id()
614 return libbpf_err(ret); in bpf_tc_hook_create()
752 return libbpf_err(ret); in bpf_tc_attach()
757 return libbpf_err(ret); in bpf_tc_attach()
763 return libbpf_err(ret); in bpf_tc_attach()
[all …]
A Dbtf.c654 return libbpf_err(-E2BIG); in btf__resolve_size()
749 return libbpf_err(-ENOENT); in btf__find_by_name()
1234 return libbpf_err(err); in btf_load_into_kernel()
1510 return libbpf_err(off); in btf__find_str()
1535 return libbpf_err(off); in btf__add_str()
1559 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()
1747 return libbpf_err(err); in btf__add_btf()
2378 return libbpf_err(id); in btf__add_func()
[all …]
A Dbpf.c138 return libbpf_err(-EBUSY); in libbpf_set_memlock_rlim()
181 return libbpf_err(-EINVAL); in bpf_map_create()
247 return libbpf_err(-EINVAL); in bpf_prog_load()
251 return libbpf_err(-EINVAL); in bpf_prog_load()
270 return libbpf_err(-E2BIG); in bpf_prog_load()
279 return libbpf_err(-EINVAL); in bpf_prog_load()
292 return libbpf_err(-EINVAL); in bpf_prog_load()
748 return libbpf_err(err); in bpf_link_create()
754 return libbpf_err(err); in bpf_link_create()
756 return libbpf_err(err); in bpf_link_create()
[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.c91 return libbpf_err(err); in ring_buffer__add()
97 return libbpf_err(-EINVAL); in ring_buffer__add()
102 return libbpf_err(-ENOMEM); in ring_buffer__add()
107 return libbpf_err(-ENOMEM); in ring_buffer__add()
124 return libbpf_err(err); in ring_buffer__add()
135 return libbpf_err(-E2BIG); in ring_buffer__add()
143 return libbpf_err(err); in ring_buffer__add()
158 return libbpf_err(err); in ring_buffer__add()
285 return libbpf_err(err); in ring_buffer__consume()
304 return libbpf_err(-errno); in ring_buffer__poll()
[all …]
A Dlibbpf_probes.c212 return libbpf_err(-EINVAL); in libbpf_probe_bpf_prog_type()
215 return libbpf_err(ret); in libbpf_probe_bpf_prog_type()
394 return libbpf_err(-EINVAL); in libbpf_probe_bpf_map_type()
397 return libbpf_err(ret); in libbpf_probe_bpf_map_type()
412 return libbpf_err(-EINVAL); in libbpf_probe_bpf_helper()
430 return libbpf_err(ret); in libbpf_probe_bpf_helper()
A Dlibbpf.c4352 return libbpf_err(err); in bpf_map__reuse_fd()
4400 return libbpf_err(err); in bpf_map__reuse_fd()
7745 return libbpf_err(err); in bpf_object_load()
7817 return libbpf_err(err); in bpf_program__pin()
7821 return libbpf_err(err); in bpf_program__pin()
7913 return libbpf_err(err); in bpf_map__pin()
8035 return libbpf_err(err); in bpf_object__pin_maps()
8102 return libbpf_err(err); in bpf_object__pin_programs()
9022 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()
9580 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()
2500 return libbpf_err(-EINVAL); in btf_dump__dump_type_data()
2504 return libbpf_err(-ENOENT); in btf_dump__dump_type_data()
2525 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()
2557 return libbpf_err(-EINVAL); in bpf_linker__finalize()
2561 return libbpf_err(err); in bpf_linker__finalize()
2593 return libbpf_err(err); in bpf_linker__finalize()
2600 return libbpf_err(err); in bpf_linker__finalize()
A Dlibbpf_internal.h488 static inline int libbpf_err(int ret) in libbpf_err() function

Completed in 51 milliseconds