Lines Matching refs:libbpf_err
5042 return libbpf_err(-EBUSY); in bpf_map__set_autocreate()
5051 return libbpf_err(-EINVAL); in bpf_map__set_autoattach()
5074 return libbpf_err(err); in bpf_map__reuse_fd()
5083 return libbpf_err(-errno); in bpf_map__reuse_fd()
5117 return libbpf_err(err); in bpf_map__reuse_fd()
5136 return libbpf_err(-EBUSY); in bpf_map__set_max_entries()
8611 return libbpf_err(-EINVAL); in bpf_object_unload()
9129 return libbpf_err(-EINVAL); in bpf_object_load()
9133 return libbpf_err(-EINVAL); in bpf_object_load()
9143 return libbpf_err(-LIBBPF_ERRNO__ENDIAN); in bpf_object_load()
9149 return libbpf_err(err); in bpf_object_load()
9170 return libbpf_err(err); in bpf_object_load()
9178 return libbpf_err(bpf_object_prepare(obj, NULL)); in bpf_object__prepare()
9240 return libbpf_err(-EINVAL); in bpf_program__pin()
9245 return libbpf_err(err); in bpf_program__pin()
9249 return libbpf_err(err); in bpf_program__pin()
9254 return libbpf_err(err); in bpf_program__pin()
9267 return libbpf_err(-EINVAL); in bpf_program__unpin()
9272 return libbpf_err(err); in bpf_program__unpin()
9276 return libbpf_err(-errno); in bpf_program__unpin()
9288 return libbpf_err(-EINVAL); in bpf_map__pin()
9293 return libbpf_err(-EINVAL); in bpf_map__pin()
9300 return libbpf_err(-EINVAL); in bpf_map__pin()
9310 return libbpf_err(-EINVAL); in bpf_map__pin()
9313 return libbpf_err(-EEXIST); in bpf_map__pin()
9325 return libbpf_err(err); in bpf_map__pin()
9329 return libbpf_err(err); in bpf_map__pin()
9343 return libbpf_err(err); in bpf_map__pin()
9352 return libbpf_err(-EINVAL); in bpf_map__unpin()
9359 return libbpf_err(-EINVAL); in bpf_map__unpin()
9365 return libbpf_err(-EINVAL); in bpf_map__unpin()
9370 return libbpf_err(err); in bpf_map__unpin()
9374 return libbpf_err(-errno); in bpf_map__unpin()
9389 return libbpf_err(-errno); in bpf_map__set_pin_path()
9426 return libbpf_err(-ENOENT); in bpf_object__pin_maps()
9430 return libbpf_err(-ENOENT); in bpf_object__pin_maps()
9465 return libbpf_err(err); in bpf_object__pin_maps()
9474 return libbpf_err(-ENOENT); in bpf_object__unpin_maps()
9483 return libbpf_err(err); in bpf_object__unpin_maps()
9492 return libbpf_err(err); in bpf_object__unpin_maps()
9505 return libbpf_err(-ENOENT); in bpf_object__pin_programs()
9509 return libbpf_err(-ENOENT); in bpf_object__pin_programs()
9532 return libbpf_err(err); in bpf_object__pin_programs()
9541 return libbpf_err(-ENOENT); in bpf_object__unpin_programs()
9548 return libbpf_err(err); in bpf_object__unpin_programs()
9552 return libbpf_err(err); in bpf_object__unpin_programs()
9564 return libbpf_err(err); in bpf_object__pin()
9569 return libbpf_err(err); in bpf_object__pin()
9581 return libbpf_err(err); in bpf_object__unpin()
9585 return libbpf_err(err); in bpf_object__unpin()
9711 return libbpf_err(-EINVAL); in bpf_object__set_kversion()
9723 return libbpf_err(-EFAULT); in bpf_object__gen_loader()
9725 return libbpf_err(-EINVAL); in bpf_object__gen_loader()
9728 return libbpf_err(-ENOMEM); in bpf_object__gen_loader()
9808 return libbpf_err(-EINVAL); in bpf_program__set_autoload()
9840 return libbpf_err(-EBUSY); in bpf_program__set_insns()
9846 return libbpf_err(-ENOMEM); in bpf_program__set_insns()
9858 return libbpf_err(-EINVAL); in bpf_program__fd()
9861 return libbpf_err(-ENOENT); in bpf_program__fd()
9883 return libbpf_err(-EBUSY); in bpf_program__set_type()
9914 return libbpf_err(-EBUSY); in bpf_program__set_expected_attach_type()
9928 return libbpf_err(-EBUSY); in bpf_program__set_flags()
9942 return libbpf_err(-EBUSY); in bpf_program__set_log_level()
9957 return libbpf_err(-EINVAL); in bpf_program__set_log_buf()
9959 return libbpf_err(-EINVAL); in bpf_program__set_log_buf()
9961 return libbpf_err(-EBUSY); in bpf_program__set_log_buf()
10001 return libbpf_err(-EINVAL); in bpf_program__clone()
10004 return libbpf_err(-EINVAL); in bpf_program__clone()
10008 return libbpf_err(-EINVAL); in bpf_program__clone()
10039 return libbpf_err(-EINVAL); in bpf_program__clone()
10051 return libbpf_err(-EINVAL); in bpf_program__clone()
10075 return libbpf_err(err); in bpf_program__clone()
10094 return libbpf_err(fd); in bpf_program__clone()
10247 return libbpf_err(-EINVAL); in libbpf_register_prog_handler()
10250 return libbpf_err(-E2BIG); in libbpf_register_prog_handler()
10256 return libbpf_err(-ENOMEM); in libbpf_register_prog_handler()
10262 return libbpf_err(-EBUSY); in libbpf_register_prog_handler()
10269 return libbpf_err(-ENOMEM); in libbpf_register_prog_handler()
10295 return libbpf_err(-EINVAL); in libbpf_unregister_prog_handler()
10309 return libbpf_err(-ENOENT); in libbpf_unregister_prog_handler()
10423 return libbpf_err(-EINVAL); in libbpf_prog_type_by_name()
10439 return libbpf_err(-ESRCH); in libbpf_prog_type_by_name()
10669 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()
10677 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()
10819 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
10830 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
10834 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
10836 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
10845 return libbpf_err(-EINVAL); in bpf_map__fd()
10890 return libbpf_err(-EBUSY); in bpf_map__set_type()
10903 return libbpf_err(-EBUSY); in bpf_map__set_map_flags()
10916 return libbpf_err(-EBUSY); in bpf_map__set_map_extra()
10929 return libbpf_err(-EBUSY); in bpf_map__set_numa_node()
10942 return libbpf_err(-EBUSY); in bpf_map__set_key_size()
11026 return libbpf_err(-EBUSY); in bpf_map__set_value_size()
11034 return libbpf_err(-EOPNOTSUPP); in bpf_map__set_value_size()
11042 return libbpf_err(err); in bpf_map__set_value_size()
11073 return libbpf_err(-EBUSY); in bpf_map__set_initial_value()
11076 return libbpf_err(-EINVAL); in bpf_map__set_initial_value()
11083 return libbpf_err(-EINVAL); in bpf_map__set_initial_value()
11121 return libbpf_err(-EBUSY); in bpf_map__set_ifindex()
11130 return libbpf_err(-EINVAL); in bpf_map__set_inner_map_fd()
11134 return libbpf_err(-EINVAL); in bpf_map__set_inner_map_fd()
11148 return libbpf_err(-EINVAL); in bpf_map__set_exclusive_program()
11153 return libbpf_err(-EINVAL); in bpf_map__set_exclusive_program()
11311 return libbpf_err(err); in bpf_map__lookup_elem()
11324 return libbpf_err(err); in bpf_map__update_elem()
11336 return libbpf_err(err); in bpf_map__delete_elem()
11349 return libbpf_err(err); in bpf_map__lookup_and_delete_elem()
11361 return libbpf_err(err); in bpf_map__get_next_key()
11391 return libbpf_err(-EINVAL); in bpf_link__update_program()
11429 return libbpf_err(err); in bpf_link__destroy()
11486 return libbpf_err(-EBUSY); in bpf_link__pin()
11489 return libbpf_err(err); in bpf_link__pin()
11492 return libbpf_err(err); in bpf_link__pin()
11496 return libbpf_err(-ENOMEM); in bpf_link__pin()
11501 return libbpf_err(err); in bpf_link__pin()
11513 return libbpf_err(-EINVAL); in bpf_link__unpin()
14168 return libbpf_err(-EINVAL); in bpf_link__update_map()
14172 return libbpf_err(-EINVAL); in bpf_link__update_map()
14178 return libbpf_err(-EINVAL); in bpf_link__update_map()
14246 return libbpf_err(ret); in perf_event_read_simple()
14663 return libbpf_err(err); in perf_buffer__poll()
14687 return libbpf_err(-EINVAL); in perf_buffer__buffer_fd()
14691 return libbpf_err(-ENOENT); in perf_buffer__buffer_fd()
14701 return libbpf_err(-EINVAL); in perf_buffer__buffer()
14705 return libbpf_err(-ENOENT); in perf_buffer__buffer()
14725 return libbpf_err(-EINVAL); in perf_buffer__consume_buffer()
14729 return libbpf_err(-ENOENT); in perf_buffer__consume_buffer()
14748 return libbpf_err(err); in perf_buffer__consume()
14761 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
14764 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
14778 return libbpf_err(btf_id); in bpf_program__set_attach_target()
14781 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
14786 return libbpf_err(err); in bpf_program__set_attach_target()
14791 return libbpf_err(err); in bpf_program__set_attach_target()
14809 return libbpf_err(-EINVAL); in bpf_program__assoc_struct_ops()
14814 return libbpf_err(-EINVAL); in bpf_program__assoc_struct_ops()
14820 return libbpf_err(-EINVAL); in bpf_program__assoc_struct_ops()
14825 return libbpf_err(-EINVAL); in bpf_program__assoc_struct_ops()
14921 return libbpf_err(err); in libbpf_num_possible_cpus()
14990 return libbpf_err(err); in bpf_object__open_skeleton()
14997 return libbpf_err(err); in bpf_object__open_skeleton()
15003 return libbpf_err(err); in bpf_object__open_skeleton()
15021 return libbpf_err(-EINVAL); in bpf_object__open_subskeleton()
15027 return libbpf_err(-errno); in bpf_object__open_subskeleton()
15033 return libbpf_err(err); in bpf_object__open_subskeleton()
15039 return libbpf_err(err); in bpf_object__open_subskeleton()
15052 return libbpf_err(-EINVAL); in bpf_object__open_subskeleton()
15086 return libbpf_err(err); in bpf_object__load_skeleton()
15129 return libbpf_err(err); in bpf_object__attach_skeleton()
15179 return libbpf_err(err); in bpf_object__attach_skeleton()