Searched refs:libbpf_err (Results 1 – 10 of 10) sorted by relevance
327 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 …]
138 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()526 return libbpf_err(-EINVAL); in bpf_map_batch_common()582 return libbpf_err(-EINVAL); in bpf_obj_pin_opts()611 return libbpf_err(-EINVAL); in bpf_obj_get_opts()[all …]
718 return libbpf_err(-EINVAL); in btf__set_pointer_size()745 return libbpf_err(-EINVAL); in btf__set_endianness()802 return libbpf_err(-E2BIG); in btf__resolve_size()807 return libbpf_err(-EINVAL); in btf__resolve_size()815 return libbpf_err(-EINVAL); in btf__resolve_size()817 return libbpf_err(-E2BIG); in btf__resolve_size()852 return libbpf_err(align); in btf__align_of()892 return libbpf_err(-EINVAL); in btf__resolve_type()912 return libbpf_err(-ENOENT); in btf__find_by_name()934 return libbpf_err(-ENOENT); in btf_find_by_name_kind()[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()
93 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()292 return libbpf_err(err); in ring_buffer__consume()311 return libbpf_err(-errno); in ring_buffer__poll()319 return libbpf_err(err); in ring_buffer__poll()380 return libbpf_err(res); in ring__consume()
215 return libbpf_err(-EINVAL); in libbpf_probe_bpf_prog_type()218 return libbpf_err(ret); in libbpf_probe_bpf_prog_type()397 return libbpf_err(-EINVAL); in libbpf_probe_bpf_map_type()400 return libbpf_err(ret); in libbpf_probe_bpf_map_type()415 return libbpf_err(-EINVAL); in libbpf_probe_bpf_helper()433 return libbpf_err(ret); in libbpf_probe_bpf_helper()
4814 return libbpf_err(-EBUSY);4832 return libbpf_err(err);4841 return libbpf_err(-errno);4879 return libbpf_err(err);4898 return libbpf_err(-EBUSY);7941 return libbpf_err(-EINVAL);8369 return libbpf_err(-EINVAL);8373 return libbpf_err(-EINVAL);8430 return libbpf_err(err);8497 return libbpf_err(-EINVAL);[all …]
282 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()2516 return libbpf_err(-EINVAL); in btf_dump__dump_type_data()2520 return libbpf_err(-ENOENT); in btf_dump__dump_type_data()2541 return libbpf_err(ret); in btf_dump__dump_type_data()
447 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()2562 return libbpf_err(-EINVAL); in bpf_linker__finalize()2566 return libbpf_err(err); in bpf_linker__finalize()2598 return libbpf_err(err); in bpf_linker__finalize()2605 return libbpf_err(err); in bpf_linker__finalize()
563 static inline int libbpf_err(int ret) in libbpf_err() function