Searched refs:libbpf_err (Results 1 – 9 of 9) 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(re in bpf_xdp_query_id() [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() 534 return libbpf_err(-EINVAL); in bpf_map_batch_common() 590 return libbpf_err(-EINVAL); in bpf_obj_pin_opts() 619 return libbpf_err( in bpf_obj_get_opts() [all...]
722 return libbpf_err(-EINVAL); in btf__set_pointer_size() 749 return libbpf_err(-EINVAL); in btf__set_endianness() 806 return libbpf_err(-E2BIG); in btf__resolve_size() 811 return libbpf_err(-EINVAL); in btf__resolve_size() 819 return libbpf_err(-EINVAL); in btf__resolve_size() 821 return libbpf_err(-E2BIG); in btf__resolve_size() 856 return libbpf_err(align); in btf__align_of() 896 return libbpf_err(-EINVAL); in btf__resolve_type() 916 return libbpf_err(-ENOENT); in btf__find_by_name() 938 return libbpf_err( 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()
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(er in ring_buffer__poll() [all...]
4873 return libbpf_err(-EBUSY); in bpf_map__set_autocreate() 4882 return libbpf_err(-EINVAL); in bpf_map__set_autoattach() 4905 return libbpf_err(err); in bpf_map__reuse_fd() 4914 return libbpf_err(-errno); in bpf_map__reuse_fd() 4948 return libbpf_err(err); in bpf_map__reuse_fd() 4967 return libbpf_err(-EBUSY); in bpf_map__set_max_entries() 8124 return libbpf_err(-EINVAL); in bpf_object_unload() 8634 return libbpf_err(-EINVAL); in bpf_object_load() 8638 return libbpf_err(-EINVAL); in bpf_object_load() 8648 return libbpf_err( in bpf_object_load() [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() 552 return libbpf_err(-EINVAL); in bpf_linker__add_fd() 555 return libbpf_err(-EINVAL); in bpf_linker__add_fd() 559 return libbpf_err(err); in bpf_linker__add_fd() 569 return libbpf_err(-EINVAL); in bpf_linker__add_buf() 572 return libbpf_err( in bpf_linker__add_buf() [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