Lines Matching refs:libbpf_err

4406 		return libbpf_err(-EBUSY);  in bpf_map__set_autocreate()
4424 return libbpf_err(err); in bpf_map__reuse_fd()
4433 return libbpf_err(-errno); in bpf_map__reuse_fd()
4471 return libbpf_err(err); in bpf_map__reuse_fd()
4490 return libbpf_err(-EBUSY); in bpf_map__set_max_entries()
7490 return libbpf_err(-EINVAL); in bpf_object_unload()
7918 return libbpf_err(-EINVAL); in bpf_object_load()
7922 return libbpf_err(-EINVAL); in bpf_object_load()
7979 return libbpf_err(err); in bpf_object_load()
8046 return libbpf_err(-EINVAL); in bpf_program__pin()
8051 return libbpf_err(err); in bpf_program__pin()
8055 return libbpf_err(err); in bpf_program__pin()
8061 return libbpf_err(err); in bpf_program__pin()
8074 return libbpf_err(-EINVAL); in bpf_program__unpin()
8079 return libbpf_err(err); in bpf_program__unpin()
8083 return libbpf_err(-errno); in bpf_program__unpin()
8096 return libbpf_err(-EINVAL); in bpf_map__pin()
8103 return libbpf_err(-EINVAL); in bpf_map__pin()
8113 return libbpf_err(-EINVAL); in bpf_map__pin()
8116 return libbpf_err(-EEXIST); in bpf_map__pin()
8128 return libbpf_err(err); in bpf_map__pin()
8132 return libbpf_err(err); in bpf_map__pin()
8147 return libbpf_err(err); in bpf_map__pin()
8156 return libbpf_err(-EINVAL); in bpf_map__unpin()
8163 return libbpf_err(-EINVAL); in bpf_map__unpin()
8169 return libbpf_err(-EINVAL); in bpf_map__unpin()
8174 return libbpf_err(err); in bpf_map__unpin()
8178 return libbpf_err(-errno); in bpf_map__unpin()
8193 return libbpf_err(-errno); in bpf_map__set_pin_path()
8230 return libbpf_err(-ENOENT); in bpf_object__pin_maps()
8234 return libbpf_err(-ENOENT); in bpf_object__pin_maps()
8269 return libbpf_err(err); in bpf_object__pin_maps()
8278 return libbpf_err(-ENOENT); in bpf_object__unpin_maps()
8287 return libbpf_err(err); in bpf_object__unpin_maps()
8296 return libbpf_err(err); in bpf_object__unpin_maps()
8309 return libbpf_err(-ENOENT); in bpf_object__pin_programs()
8313 return libbpf_err(-ENOENT); in bpf_object__pin_programs()
8336 return libbpf_err(err); in bpf_object__pin_programs()
8345 return libbpf_err(-ENOENT); in bpf_object__unpin_programs()
8352 return libbpf_err(err); in bpf_object__unpin_programs()
8356 return libbpf_err(err); in bpf_object__unpin_programs()
8368 return libbpf_err(err); in bpf_object__pin()
8373 return libbpf_err(err); in bpf_object__pin()
8385 return libbpf_err(err); in bpf_object__unpin()
8389 return libbpf_err(err); in bpf_object__unpin()
8491 return libbpf_err(-EINVAL); in bpf_object__set_kversion()
8587 return libbpf_err(-EINVAL); in bpf_program__set_autoload()
8637 return libbpf_err(-EINVAL); in bpf_program__fd()
8640 return libbpf_err(-ENOENT); in bpf_program__fd()
8662 return libbpf_err(-EBUSY); in bpf_program__set_type()
8693 return libbpf_err(-EBUSY); in bpf_program__set_expected_attach_type()
8707 return libbpf_err(-EBUSY); in bpf_program__set_flags()
8721 return libbpf_err(-EBUSY); in bpf_program__set_log_level()
8871 return libbpf_err(-EINVAL); in libbpf_register_prog_handler()
8874 return libbpf_err(-E2BIG); in libbpf_register_prog_handler()
8880 return libbpf_err(-ENOMEM); in libbpf_register_prog_handler()
8886 return libbpf_err(-EBUSY); in libbpf_register_prog_handler()
8893 return libbpf_err(-ENOMEM); in libbpf_register_prog_handler()
8919 return libbpf_err(-EINVAL); in libbpf_unregister_prog_handler()
8933 return libbpf_err(-ENOENT); in libbpf_unregister_prog_handler()
9047 return libbpf_err(-EINVAL); in libbpf_prog_type_by_name()
9063 return libbpf_err(-ESRCH); in libbpf_prog_type_by_name()
9302 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()
9310 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()
9433 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
9444 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
9448 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
9450 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
9458 return map ? map->fd : libbpf_err(-EINVAL); in bpf_map__fd()
9495 return libbpf_err(-EBUSY); in bpf_map__set_type()
9508 return libbpf_err(-EBUSY); in bpf_map__set_map_flags()
9521 return libbpf_err(-EBUSY); in bpf_map__set_map_extra()
9534 return libbpf_err(-EBUSY); in bpf_map__set_numa_node()
9547 return libbpf_err(-EBUSY); in bpf_map__set_key_size()
9631 return libbpf_err(-EBUSY); in bpf_map__set_value_size()
9673 return libbpf_err(-EINVAL); in bpf_map__set_initial_value()
9700 return libbpf_err(-EBUSY); in bpf_map__set_ifindex()
9709 return libbpf_err(-EINVAL); in bpf_map__set_inner_map_fd()
9713 return libbpf_err(-EINVAL); in bpf_map__set_inner_map_fd()
9850 return libbpf_err(err); in bpf_map__lookup_elem()
9863 return libbpf_err(err); in bpf_map__update_elem()
9875 return libbpf_err(err); in bpf_map__delete_elem()
9888 return libbpf_err(err); in bpf_map__lookup_and_delete_elem()
9900 return libbpf_err(err); in bpf_map__get_next_key()
9961 return libbpf_err(err); in bpf_link__destroy()
10018 return libbpf_err(-EBUSY); in bpf_link__pin()
10021 return libbpf_err(err); in bpf_link__pin()
10024 return libbpf_err(err); in bpf_link__pin()
10028 return libbpf_err(-ENOMEM); in bpf_link__pin()
10033 return libbpf_err(err); in bpf_link__pin()
10045 return libbpf_err(-EINVAL); in bpf_link__unpin()
12287 return libbpf_err(ret);
12707 return libbpf_err(err); in perf_buffer__poll()
12731 return libbpf_err(-EINVAL); in perf_buffer__buffer_fd()
12735 return libbpf_err(-ENOENT); in perf_buffer__buffer_fd()
12745 return libbpf_err(-EINVAL); in perf_buffer__buffer()
12749 return libbpf_err(-ENOENT); in perf_buffer__buffer()
12769 return libbpf_err(-EINVAL); in perf_buffer__consume_buffer()
12773 return libbpf_err(-ENOENT); in perf_buffer__consume_buffer()
12791 return libbpf_err(err); in perf_buffer__consume()
12804 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
12807 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
12821 return libbpf_err(btf_id); in bpf_program__set_attach_target()
12824 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
12829 return libbpf_err(err); in bpf_program__set_attach_target()
12834 return libbpf_err(err); in bpf_program__set_attach_target()
12933 return libbpf_err(err); in libbpf_num_possible_cpus()
13015 return libbpf_err(err); in bpf_object__open_skeleton()
13022 return libbpf_err(err); in bpf_object__open_skeleton()
13028 return libbpf_err(err); in bpf_object__open_skeleton()
13046 return libbpf_err(-EINVAL); in bpf_object__open_subskeleton()
13052 return libbpf_err(-errno); in bpf_object__open_subskeleton()
13058 return libbpf_err(err); in bpf_object__open_subskeleton()
13064 return libbpf_err(err); in bpf_object__open_subskeleton()
13077 return libbpf_err(-EINVAL); in bpf_object__open_subskeleton()
13111 return libbpf_err(err); in bpf_object__load_skeleton()
13149 return libbpf_err(err); in bpf_object__load_skeleton()
13179 return libbpf_err(err); in bpf_object__attach_skeleton()