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()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 …]
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()854 return libbpf_err(err); in bpf_link_create()860 return libbpf_err(err); in bpf_link_create()862 return libbpf_err(err); in bpf_link_create()[all …]
1458 return libbpf_err(err); in btf_load_into_kernel()1745 return libbpf_err(off); in btf__find_str()1770 return libbpf_err(off); in btf__add_str()1794 return libbpf_err(err); in btf_commit_type()1848 return libbpf_err(sz); in btf_add_type()1862 return libbpf_err(err); in btf_add_type()1867 return libbpf_err(err); in btf_add_type()1999 return libbpf_err(err); in btf__add_btf()2647 return libbpf_err(id); in btf__add_func()3561 return libbpf_err(err); in btf__dedup()[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()
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()
4899 return libbpf_err(err); in bpf_map__reuse_fd()4942 return libbpf_err(err); in bpf_map__reuse_fd()8669 return libbpf_err(err); in bpf_object_load()8744 return libbpf_err(err); in bpf_program__pin()8748 return libbpf_err(err); in bpf_program__pin()8842 return libbpf_err(err); in bpf_map__pin()8964 return libbpf_err(err); in bpf_object__pin_maps()9031 return libbpf_err(err); in bpf_object__pin_programs()10024 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()10735 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 …]
283 return libbpf_err(-EINVAL); in btf_dump__dump_type()287 return libbpf_err(err); in btf_dump__dump_type()292 return libbpf_err(err); in btf_dump__dump_type()1274 return libbpf_err(-EINVAL); in btf_dump__emit_type_decl()1278 return libbpf_err(err); in btf_dump__emit_type_decl()2527 return libbpf_err(-EINVAL); in btf_dump__dump_type_data()2531 return libbpf_err(-ENOENT); in btf_dump__dump_type_data()2552 return libbpf_err(ret); in btf_dump__dump_type_data()
577 static inline int libbpf_err(int ret) in libbpf_err() function