Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dnetlink.c327 return libbpf_err(-EINVAL); in bpf_xdp_attach()
336 return libbpf_err(err); in bpf_xdp_attach()
447 return libbpf_err(-EINVAL); in bpf_xdp_query()
450 return libbpf_err(-EINVAL); in bpf_xdp_query()
455 return libbpf_err(-EINVAL); in bpf_xdp_query()
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()
[all …]
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()
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()
533 return libbpf_err(-EINVAL); in bpf_map_batch_common()
589 return libbpf_err(-EINVAL); in bpf_obj_pin_opts()
618 return libbpf_err(-EINVAL); in bpf_obj_get_opts()
[all …]
Dbtf.c717 return libbpf_err(-EINVAL); in btf__set_pointer_size()
744 return libbpf_err(-EINVAL); in btf__set_endianness()
801 return libbpf_err(-E2BIG); in btf__resolve_size()
806 return libbpf_err(-EINVAL); in btf__resolve_size()
814 return libbpf_err(-EINVAL); in btf__resolve_size()
816 return libbpf_err(-E2BIG); in btf__resolve_size()
851 return libbpf_err(align); in btf__align_of()
891 return libbpf_err(-EINVAL); in btf__resolve_type()
911 return libbpf_err(-ENOENT); in btf__find_by_name()
933 return libbpf_err(-ENOENT); in btf_find_by_name_kind()
[all …]
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 …]
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()
Dlibbpf.c4832 return libbpf_err(-EBUSY); in bpf_map__set_autocreate()
4841 return libbpf_err(-EINVAL); in bpf_map__set_autoattach()
4864 return libbpf_err(err); in bpf_map__reuse_fd()
4873 return libbpf_err(-errno); in bpf_map__reuse_fd()
4907 return libbpf_err(err); in bpf_map__reuse_fd()
4926 return libbpf_err(-EBUSY); in bpf_map__set_max_entries()
8098 return libbpf_err(-EINVAL); in bpf_object_unload()
8545 return libbpf_err(-EINVAL); in bpf_object_load()
8549 return libbpf_err(-EINVAL); in bpf_object_load()
8606 return libbpf_err(err); in bpf_object_load()
[all …]
Dbtf_dump.c285 return libbpf_err(-EINVAL); in btf_dump__dump_type()
289 return libbpf_err(err); in btf_dump__dump_type()
294 return libbpf_err(err); in btf_dump__dump_type()
1276 return libbpf_err(-EINVAL); in btf_dump__emit_type_decl()
1280 return libbpf_err(err); in btf_dump__emit_type_decl()
2526 return libbpf_err(-EINVAL); in btf_dump__dump_type_data()
2530 return libbpf_err(-ENOENT); in btf_dump__dump_type_data()
2551 return libbpf_err(ret); in btf_dump__dump_type_data()
Dlinker.c449 return libbpf_err(-EINVAL); in bpf_linker__add_file()
452 return libbpf_err(-EINVAL); in bpf_linker__add_file()
472 return libbpf_err(err); in bpf_linker__add_file()
2598 return libbpf_err(-EINVAL); in bpf_linker__finalize()
2602 return libbpf_err(err); in bpf_linker__finalize()
2634 return libbpf_err(err); in bpf_linker__finalize()
2641 return libbpf_err(err); in bpf_linker__finalize()
Dlibbpf_internal.h547 static inline int libbpf_err(int ret) in libbpf_err() function