Lines Matching refs:libbpf_err
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(-LIBBPF_ERRNO__ENDIAN); in bpf_object_load()
8654 return libbpf_err(err); in bpf_object_load()
8675 return libbpf_err(err); in bpf_object_load()
8683 return libbpf_err(bpf_object_prepare(obj, NULL)); in bpf_object__prepare()
8745 return libbpf_err(-EINVAL); in bpf_program__pin()
8750 return libbpf_err(err); in bpf_program__pin()
8754 return libbpf_err(err); in bpf_program__pin()
8759 return libbpf_err(err); in bpf_program__pin()
8772 return libbpf_err(-EINVAL); in bpf_program__unpin()
8777 return libbpf_err(err); in bpf_program__unpin()
8781 return libbpf_err(-errno); in bpf_program__unpin()
8793 return libbpf_err(-EINVAL); in bpf_map__pin()
8798 return libbpf_err(-EINVAL); in bpf_map__pin()
8805 return libbpf_err(-EINVAL); in bpf_map__pin()
8815 return libbpf_err(-EINVAL); in bpf_map__pin()
8818 return libbpf_err(-EEXIST); in bpf_map__pin()
8830 return libbpf_err(err); in bpf_map__pin()
8834 return libbpf_err(err); in bpf_map__pin()
8848 return libbpf_err(err); in bpf_map__pin()
8857 return libbpf_err(-EINVAL); in bpf_map__unpin()
8864 return libbpf_err(-EINVAL); in bpf_map__unpin()
8870 return libbpf_err(-EINVAL); in bpf_map__unpin()
8875 return libbpf_err(err); in bpf_map__unpin()
8879 return libbpf_err(-errno); in bpf_map__unpin()
8894 return libbpf_err(-errno); in bpf_map__set_pin_path()
8931 return libbpf_err(-ENOENT); in bpf_object__pin_maps()
8935 return libbpf_err(-ENOENT); in bpf_object__pin_maps()
8970 return libbpf_err(err); in bpf_object__pin_maps()
8979 return libbpf_err(-ENOENT); in bpf_object__unpin_maps()
8988 return libbpf_err(err); in bpf_object__unpin_maps()
8997 return libbpf_err(err); in bpf_object__unpin_maps()
9010 return libbpf_err(-ENOENT); in bpf_object__pin_programs()
9014 return libbpf_err(-ENOENT); in bpf_object__pin_programs()
9037 return libbpf_err(err); in bpf_object__pin_programs()
9046 return libbpf_err(-ENOENT); in bpf_object__unpin_programs()
9053 return libbpf_err(err); in bpf_object__unpin_programs()
9057 return libbpf_err(err); in bpf_object__unpin_programs()
9069 return libbpf_err(err); in bpf_object__pin()
9074 return libbpf_err(err); in bpf_object__pin()
9086 return libbpf_err(err); in bpf_object__unpin()
9090 return libbpf_err(err); in bpf_object__unpin()
9209 return libbpf_err(-EINVAL); in bpf_object__set_kversion()
9221 return libbpf_err(-EFAULT); in bpf_object__gen_loader()
9223 return libbpf_err(-EINVAL); in bpf_object__gen_loader()
9226 return libbpf_err(-ENOMEM); in bpf_object__gen_loader()
9306 return libbpf_err(-EINVAL); in bpf_program__set_autoload()
9338 return libbpf_err(-EBUSY); in bpf_program__set_insns()
9344 return libbpf_err(-ENOMEM); in bpf_program__set_insns()
9356 return libbpf_err(-EINVAL); in bpf_program__fd()
9359 return libbpf_err(-ENOENT); in bpf_program__fd()
9381 return libbpf_err(-EBUSY); in bpf_program__set_type()
9412 return libbpf_err(-EBUSY); in bpf_program__set_expected_attach_type()
9426 return libbpf_err(-EBUSY); in bpf_program__set_flags()
9440 return libbpf_err(-EBUSY); in bpf_program__set_log_level()
9455 return libbpf_err(-EINVAL); in bpf_program__set_log_buf()
9457 return libbpf_err(-EINVAL); in bpf_program__set_log_buf()
9459 return libbpf_err(-EBUSY); in bpf_program__set_log_buf()
9626 return libbpf_err(-EINVAL); in libbpf_register_prog_handler()
9629 return libbpf_err(-E2BIG); in libbpf_register_prog_handler()
9635 return libbpf_err(-ENOMEM); in libbpf_register_prog_handler()
9641 return libbpf_err(-EBUSY); in libbpf_register_prog_handler()
9648 return libbpf_err(-ENOMEM); in libbpf_register_prog_handler()
9674 return libbpf_err(-EINVAL); in libbpf_unregister_prog_handler()
9688 return libbpf_err(-ENOENT); in libbpf_unregister_prog_handler()
9802 return libbpf_err(-EINVAL); in libbpf_prog_type_by_name()
9818 return libbpf_err(-ESRCH); in libbpf_prog_type_by_name()
10048 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()
10056 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()
10198 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
10209 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
10213 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
10215 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
10224 return libbpf_err(-EINVAL); in bpf_map__fd()
10264 return libbpf_err(-EBUSY); in bpf_map__set_type()
10277 return libbpf_err(-EBUSY); in bpf_map__set_map_flags()
10290 return libbpf_err(-EBUSY); in bpf_map__set_map_extra()
10303 return libbpf_err(-EBUSY); in bpf_map__set_numa_node()
10316 return libbpf_err(-EBUSY); in bpf_map__set_key_size()
10400 return libbpf_err(-EBUSY); in bpf_map__set_value_size()
10407 return libbpf_err(-EOPNOTSUPP); in bpf_map__set_value_size()
10415 return libbpf_err(err); in bpf_map__set_value_size()
10446 return libbpf_err(-EBUSY); in bpf_map__set_initial_value()
10449 return libbpf_err(-EINVAL); in bpf_map__set_initial_value()
10456 return libbpf_err(-EINVAL); in bpf_map__set_initial_value()
10494 return libbpf_err(-EBUSY); in bpf_map__set_ifindex()
10503 return libbpf_err(-EINVAL); in bpf_map__set_inner_map_fd()
10507 return libbpf_err(-EINVAL); in bpf_map__set_inner_map_fd()
10649 return libbpf_err(err); in bpf_map__lookup_elem()
10662 return libbpf_err(err); in bpf_map__update_elem()
10674 return libbpf_err(err); in bpf_map__delete_elem()
10687 return libbpf_err(err); in bpf_map__lookup_and_delete_elem()
10699 return libbpf_err(err); in bpf_map__get_next_key()
10729 return libbpf_err(-EINVAL); in bpf_link__update_program()
10767 return libbpf_err(err); in bpf_link__destroy()
10824 return libbpf_err(-EBUSY); in bpf_link__pin()
10827 return libbpf_err(err); in bpf_link__pin()
10830 return libbpf_err(err); in bpf_link__pin()
10834 return libbpf_err(-ENOMEM); in bpf_link__pin()
10839 return libbpf_err(err); in bpf_link__pin()
10851 return libbpf_err(-EINVAL); in bpf_link__unpin()
13188 return libbpf_err(-EINVAL); in bpf_link__update_map()
13192 return libbpf_err(-EINVAL); in bpf_link__update_map()
13198 return libbpf_err(-EINVAL); in bpf_link__update_map()
13266 return libbpf_err(ret);
13683 return libbpf_err(err); in perf_buffer__poll()
13707 return libbpf_err(-EINVAL); in perf_buffer__buffer_fd()
13711 return libbpf_err(-ENOENT); in perf_buffer__buffer_fd()
13721 return libbpf_err(-EINVAL); in perf_buffer__buffer()
13725 return libbpf_err(-ENOENT); in perf_buffer__buffer()
13745 return libbpf_err(-EINVAL); in perf_buffer__consume_buffer()
13749 return libbpf_err(-ENOENT); in perf_buffer__consume_buffer()
13768 return libbpf_err(err); in perf_buffer__consume()
13781 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
13784 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
13798 return libbpf_err(btf_id); in bpf_program__set_attach_target()
13801 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
13806 return libbpf_err(err); in bpf_program__set_attach_target()
13811 return libbpf_err(err); in bpf_program__set_attach_target()
13910 return libbpf_err(err); in libbpf_num_possible_cpus()
13979 return libbpf_err(err); in bpf_object__open_skeleton()
13986 return libbpf_err(err); in bpf_object__open_skeleton()
13992 return libbpf_err(err); in bpf_object__open_skeleton()
14010 return libbpf_err(-EINVAL); in bpf_object__open_subskeleton()
14016 return libbpf_err(-errno); in bpf_object__open_subskeleton()
14022 return libbpf_err(err); in bpf_object__open_subskeleton()
14028 return libbpf_err(err); in bpf_object__open_subskeleton()
14041 return libbpf_err(-EINVAL); in bpf_object__open_subskeleton()
14075 return libbpf_err(err); in bpf_object__load_skeleton()
14115 return libbpf_err(err); in bpf_object__attach_skeleton()
14165 return libbpf_err(err); in bpf_object__attach_skeleton()