Lines Matching refs:libbpf_err
4867 return libbpf_err(-EBUSY); in bpf_map__set_autocreate()
4876 return libbpf_err(-EINVAL); in bpf_map__set_autoattach()
4899 return libbpf_err(err); in bpf_map__reuse_fd()
4908 return libbpf_err(-errno); in bpf_map__reuse_fd()
4942 return libbpf_err(err); in bpf_map__reuse_fd()
4961 return libbpf_err(-EBUSY); in bpf_map__set_max_entries()
8118 return libbpf_err(-EINVAL); in bpf_object_unload()
8628 return libbpf_err(-EINVAL); in bpf_object_load()
8632 return libbpf_err(-EINVAL); in bpf_object_load()
8642 return libbpf_err(-LIBBPF_ERRNO__ENDIAN); in bpf_object_load()
8648 return libbpf_err(err); in bpf_object_load()
8669 return libbpf_err(err); in bpf_object_load()
8677 return libbpf_err(bpf_object_prepare(obj, NULL)); in bpf_object__prepare()
8739 return libbpf_err(-EINVAL); in bpf_program__pin()
8744 return libbpf_err(err); in bpf_program__pin()
8748 return libbpf_err(err); in bpf_program__pin()
8753 return libbpf_err(err); in bpf_program__pin()
8766 return libbpf_err(-EINVAL); in bpf_program__unpin()
8771 return libbpf_err(err); in bpf_program__unpin()
8775 return libbpf_err(-errno); in bpf_program__unpin()
8787 return libbpf_err(-EINVAL); in bpf_map__pin()
8792 return libbpf_err(-EINVAL); in bpf_map__pin()
8799 return libbpf_err(-EINVAL); in bpf_map__pin()
8809 return libbpf_err(-EINVAL); in bpf_map__pin()
8812 return libbpf_err(-EEXIST); in bpf_map__pin()
8824 return libbpf_err(err); in bpf_map__pin()
8828 return libbpf_err(err); in bpf_map__pin()
8842 return libbpf_err(err); in bpf_map__pin()
8851 return libbpf_err(-EINVAL); in bpf_map__unpin()
8858 return libbpf_err(-EINVAL); in bpf_map__unpin()
8864 return libbpf_err(-EINVAL); in bpf_map__unpin()
8869 return libbpf_err(err); in bpf_map__unpin()
8873 return libbpf_err(-errno); in bpf_map__unpin()
8888 return libbpf_err(-errno); in bpf_map__set_pin_path()
8925 return libbpf_err(-ENOENT); in bpf_object__pin_maps()
8929 return libbpf_err(-ENOENT); in bpf_object__pin_maps()
8964 return libbpf_err(err); in bpf_object__pin_maps()
8973 return libbpf_err(-ENOENT); in bpf_object__unpin_maps()
8982 return libbpf_err(err); in bpf_object__unpin_maps()
8991 return libbpf_err(err); in bpf_object__unpin_maps()
9004 return libbpf_err(-ENOENT); in bpf_object__pin_programs()
9008 return libbpf_err(-ENOENT); in bpf_object__pin_programs()
9031 return libbpf_err(err); in bpf_object__pin_programs()
9040 return libbpf_err(-ENOENT); in bpf_object__unpin_programs()
9047 return libbpf_err(err); in bpf_object__unpin_programs()
9051 return libbpf_err(err); in bpf_object__unpin_programs()
9063 return libbpf_err(err); in bpf_object__pin()
9068 return libbpf_err(err); in bpf_object__pin()
9080 return libbpf_err(err); in bpf_object__unpin()
9084 return libbpf_err(err); in bpf_object__unpin()
9201 return libbpf_err(-EINVAL); in bpf_object__set_kversion()
9213 return libbpf_err(-EFAULT); in bpf_object__gen_loader()
9215 return libbpf_err(-EINVAL); in bpf_object__gen_loader()
9218 return libbpf_err(-ENOMEM); in bpf_object__gen_loader()
9298 return libbpf_err(-EINVAL); in bpf_program__set_autoload()
9330 return libbpf_err(-EBUSY); in bpf_program__set_insns()
9336 return libbpf_err(-ENOMEM); in bpf_program__set_insns()
9348 return libbpf_err(-EINVAL); in bpf_program__fd()
9351 return libbpf_err(-ENOENT); in bpf_program__fd()
9373 return libbpf_err(-EBUSY); in bpf_program__set_type()
9404 return libbpf_err(-EBUSY); in bpf_program__set_expected_attach_type()
9418 return libbpf_err(-EBUSY); in bpf_program__set_flags()
9432 return libbpf_err(-EBUSY); in bpf_program__set_log_level()
9447 return libbpf_err(-EINVAL); in bpf_program__set_log_buf()
9449 return libbpf_err(-EINVAL); in bpf_program__set_log_buf()
9451 return libbpf_err(-EBUSY); in bpf_program__set_log_buf()
9594 return libbpf_err(-EINVAL); in libbpf_register_prog_handler()
9597 return libbpf_err(-E2BIG); in libbpf_register_prog_handler()
9603 return libbpf_err(-ENOMEM); in libbpf_register_prog_handler()
9609 return libbpf_err(-EBUSY); in libbpf_register_prog_handler()
9616 return libbpf_err(-ENOMEM); in libbpf_register_prog_handler()
9642 return libbpf_err(-EINVAL); in libbpf_unregister_prog_handler()
9656 return libbpf_err(-ENOENT); in libbpf_unregister_prog_handler()
9770 return libbpf_err(-EINVAL); in libbpf_prog_type_by_name()
9786 return libbpf_err(-ESRCH); in libbpf_prog_type_by_name()
10016 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()
10024 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()
10166 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
10177 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
10181 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
10183 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
10192 return libbpf_err(-EINVAL); in bpf_map__fd()
10232 return libbpf_err(-EBUSY); in bpf_map__set_type()
10245 return libbpf_err(-EBUSY); in bpf_map__set_map_flags()
10258 return libbpf_err(-EBUSY); in bpf_map__set_map_extra()
10271 return libbpf_err(-EBUSY); in bpf_map__set_numa_node()
10284 return libbpf_err(-EBUSY); in bpf_map__set_key_size()
10368 return libbpf_err(-EBUSY); in bpf_map__set_value_size()
10375 return libbpf_err(-EOPNOTSUPP); in bpf_map__set_value_size()
10383 return libbpf_err(err); in bpf_map__set_value_size()
10414 return libbpf_err(-EBUSY); in bpf_map__set_initial_value()
10417 return libbpf_err(-EINVAL); in bpf_map__set_initial_value()
10424 return libbpf_err(-EINVAL); in bpf_map__set_initial_value()
10462 return libbpf_err(-EBUSY); in bpf_map__set_ifindex()
10471 return libbpf_err(-EINVAL); in bpf_map__set_inner_map_fd()
10475 return libbpf_err(-EINVAL); in bpf_map__set_inner_map_fd()
10617 return libbpf_err(err); in bpf_map__lookup_elem()
10630 return libbpf_err(err); in bpf_map__update_elem()
10642 return libbpf_err(err); in bpf_map__delete_elem()
10655 return libbpf_err(err); in bpf_map__lookup_and_delete_elem()
10667 return libbpf_err(err); in bpf_map__get_next_key()
10697 return libbpf_err(-EINVAL); in bpf_link__update_program()
10735 return libbpf_err(err); in bpf_link__destroy()
10792 return libbpf_err(-EBUSY); in bpf_link__pin()
10795 return libbpf_err(err); in bpf_link__pin()
10798 return libbpf_err(err); in bpf_link__pin()
10802 return libbpf_err(-ENOMEM); in bpf_link__pin()
10807 return libbpf_err(err); in bpf_link__pin()
10819 return libbpf_err(-EINVAL); in bpf_link__unpin()
13138 return libbpf_err(-EINVAL); in bpf_link__update_map()
13142 return libbpf_err(-EINVAL); in bpf_link__update_map()
13148 return libbpf_err(-EINVAL); in bpf_link__update_map()
13216 return libbpf_err(ret); in perf_event_read_simple()
13634 return libbpf_err(err); in perf_buffer__poll()
13658 return libbpf_err(-EINVAL); in perf_buffer__buffer_fd()
13662 return libbpf_err(-ENOENT); in perf_buffer__buffer_fd()
13672 return libbpf_err(-EINVAL); in perf_buffer__buffer()
13676 return libbpf_err(-ENOENT); in perf_buffer__buffer()
13696 return libbpf_err(-EINVAL); in perf_buffer__consume_buffer()
13700 return libbpf_err(-ENOENT); in perf_buffer__consume_buffer()
13719 return libbpf_err(err); in perf_buffer__consume()
13732 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
13735 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
13749 return libbpf_err(btf_id); in bpf_program__set_attach_target()
13752 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
13757 return libbpf_err(err); in bpf_program__set_attach_target()
13762 return libbpf_err(err); in bpf_program__set_attach_target()
13861 return libbpf_err(err); in libbpf_num_possible_cpus()
13930 return libbpf_err(err); in bpf_object__open_skeleton()
13937 return libbpf_err(err); in bpf_object__open_skeleton()
13943 return libbpf_err(err); in bpf_object__open_skeleton()
13961 return libbpf_err(-EINVAL); in bpf_object__open_subskeleton()
13967 return libbpf_err(-errno); in bpf_object__open_subskeleton()
13973 return libbpf_err(err); in bpf_object__open_subskeleton()
13979 return libbpf_err(err); in bpf_object__open_subskeleton()
13992 return libbpf_err(-EINVAL); in bpf_object__open_subskeleton()
14026 return libbpf_err(err); in bpf_object__load_skeleton()
14066 return libbpf_err(err); in bpf_object__attach_skeleton()
14110 return libbpf_err(err); in bpf_object__attach_skeleton()