Searched refs:libbpf_err (Results 1 – 10 of 10) sorted by relevance
336 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()638 return libbpf_err(ret); in bpf_tc_hook_create()777 return libbpf_err(ret); in bpf_tc_attach()782 return libbpf_err(ret); in bpf_tc_attach()788 return libbpf_err(ret); in bpf_tc_attach()[all …]
45 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()
141 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()898 return libbpf_err(err); in bpf_link_create()904 return libbpf_err(err); in bpf_link_create()906 return libbpf_err(err); in bpf_link_create()[all …]
1516 return libbpf_err(err); in btf_load_into_kernel()1801 return libbpf_err(off); in btf__find_str()1826 return libbpf_err(off); in btf__add_str()1850 return libbpf_err(err); in btf_commit_type()1904 return libbpf_err(sz); in btf_add_type()1918 return libbpf_err(err); in btf_add_type()1923 return libbpf_err(err); in btf_add_type()2055 return libbpf_err(err); in btf__add_btf()2703 return libbpf_err(id); in btf__add_func()3617 return libbpf_err(err); in btf__dedup()[all …]
94 return libbpf_err(err); in ring_buffer__add()100 return libbpf_err(-EINVAL); in ring_buffer__add()105 return libbpf_err(-ENOMEM); in ring_buffer__add()110 return libbpf_err(-ENOMEM); in ring_buffer__add()115 return libbpf_err(-ENOMEM); in ring_buffer__add()170 return libbpf_err(err); in ring_buffer__add()298 return libbpf_err(err); in ring_buffer__consume_n()323 return libbpf_err(err); in ring_buffer__consume()344 return libbpf_err(-errno); in ring_buffer__poll()352 return libbpf_err(err); in ring_buffer__poll()[all …]
215 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()
4905 return libbpf_err(err); in bpf_map__reuse_fd()4948 return libbpf_err(err); in bpf_map__reuse_fd()8675 return libbpf_err(err); in bpf_object_load()8750 return libbpf_err(err); in bpf_program__pin()8754 return libbpf_err(err); in bpf_program__pin()8848 return libbpf_err(err); in bpf_map__pin()8970 return libbpf_err(err); in bpf_object__pin_maps()9037 return libbpf_err(err); in bpf_object__pin_programs()10056 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()10767 return libbpf_err(err); in bpf_link__destroy()[all …]
525 return libbpf_err(-EINVAL); in bpf_linker__add_file()528 return libbpf_err(-EINVAL); in bpf_linker__add_file()534 return libbpf_err(err); in bpf_linker__add_file()539 return libbpf_err(err); in bpf_linker__add_file()549 return libbpf_err(-EINVAL); in bpf_linker__add_fd()559 return libbpf_err(err); in bpf_linker__add_fd()580 return libbpf_err(ret); in bpf_linker__add_buf()597 return libbpf_err(ret); in bpf_linker__add_buf()2762 return libbpf_err(err); in bpf_linker__finalize()2798 return libbpf_err(err); in bpf_linker__finalize()[all …]
287 return libbpf_err(-EINVAL); in btf_dump__dump_type()291 return libbpf_err(err); in btf_dump__dump_type()296 return libbpf_err(err); in btf_dump__dump_type()1278 return libbpf_err(-EINVAL); in btf_dump__emit_type_decl()1282 return libbpf_err(err); in btf_dump__emit_type_decl()2582 return libbpf_err(-EINVAL); in btf_dump__dump_type_data()2586 return libbpf_err(-ENOENT); in btf_dump__dump_type_data()2608 return libbpf_err(ret); in btf_dump__dump_type_data()
577 static inline int libbpf_err(int ret) in libbpf_err() function
Completed in 62 milliseconds