Lines Matching refs:libbpf_err

4334 		return libbpf_err(-EBUSY);  in bpf_map__set_autocreate()
4352 return libbpf_err(err); in bpf_map__reuse_fd()
4361 return libbpf_err(-errno); in bpf_map__reuse_fd()
4400 return libbpf_err(err); in bpf_map__reuse_fd()
4419 return libbpf_err(-EBUSY); in bpf_map__set_max_entries()
7299 return libbpf_err(-EINVAL); in bpf_object_unload()
7685 return libbpf_err(-EINVAL); in bpf_object_load()
7689 return libbpf_err(-EINVAL); in bpf_object_load()
7745 return libbpf_err(err); in bpf_object_load()
7812 return libbpf_err(-EINVAL); in bpf_program__pin()
7817 return libbpf_err(err); in bpf_program__pin()
7821 return libbpf_err(err); in bpf_program__pin()
7827 return libbpf_err(err); in bpf_program__pin()
7840 return libbpf_err(-EINVAL); in bpf_program__unpin()
7845 return libbpf_err(err); in bpf_program__unpin()
7849 return libbpf_err(-errno); in bpf_program__unpin()
7862 return libbpf_err(-EINVAL); in bpf_map__pin()
7869 return libbpf_err(-EINVAL); in bpf_map__pin()
7879 return libbpf_err(-EINVAL); in bpf_map__pin()
7882 return libbpf_err(-EEXIST); in bpf_map__pin()
7894 return libbpf_err(err); in bpf_map__pin()
7898 return libbpf_err(err); in bpf_map__pin()
7913 return libbpf_err(err); in bpf_map__pin()
7922 return libbpf_err(-EINVAL); in bpf_map__unpin()
7929 return libbpf_err(-EINVAL); in bpf_map__unpin()
7935 return libbpf_err(-EINVAL); in bpf_map__unpin()
7940 return libbpf_err(err); in bpf_map__unpin()
7944 return libbpf_err(-errno); in bpf_map__unpin()
7959 return libbpf_err(-errno); in bpf_map__set_pin_path()
7996 return libbpf_err(-ENOENT); in bpf_object__pin_maps()
8000 return libbpf_err(-ENOENT); in bpf_object__pin_maps()
8035 return libbpf_err(err); in bpf_object__pin_maps()
8044 return libbpf_err(-ENOENT); in bpf_object__unpin_maps()
8053 return libbpf_err(err); in bpf_object__unpin_maps()
8062 return libbpf_err(err); in bpf_object__unpin_maps()
8075 return libbpf_err(-ENOENT); in bpf_object__pin_programs()
8079 return libbpf_err(-ENOENT); in bpf_object__pin_programs()
8102 return libbpf_err(err); in bpf_object__pin_programs()
8111 return libbpf_err(-ENOENT); in bpf_object__unpin_programs()
8118 return libbpf_err(err); in bpf_object__unpin_programs()
8122 return libbpf_err(err); in bpf_object__unpin_programs()
8134 return libbpf_err(err); in bpf_object__pin()
8139 return libbpf_err(err); in bpf_object__pin()
8234 return libbpf_err(-EINVAL); in bpf_object__set_kversion()
8330 return libbpf_err(-EINVAL); in bpf_program__set_autoload()
8379 return libbpf_err(-EINVAL); in bpf_program__fd()
8382 return libbpf_err(-ENOENT); in bpf_program__fd()
8398 return libbpf_err(-EBUSY); in bpf_program__set_type()
8416 return libbpf_err(-EBUSY); in bpf_program__set_expected_attach_type()
8430 return libbpf_err(-EBUSY); in bpf_program__set_flags()
8444 return libbpf_err(-EBUSY); in bpf_program__set_log_level()
8590 return libbpf_err(-EINVAL); in libbpf_register_prog_handler()
8593 return libbpf_err(-E2BIG); in libbpf_register_prog_handler()
8599 return libbpf_err(-ENOMEM); in libbpf_register_prog_handler()
8605 return libbpf_err(-EBUSY); in libbpf_register_prog_handler()
8612 return libbpf_err(-ENOMEM); in libbpf_register_prog_handler()
8638 return libbpf_err(-EINVAL); in libbpf_unregister_prog_handler()
8652 return libbpf_err(-ENOENT); in libbpf_unregister_prog_handler()
8762 return libbpf_err(-EINVAL); in libbpf_prog_type_by_name()
8778 return libbpf_err(-ESRCH); in libbpf_prog_type_by_name()
9014 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()
9022 return libbpf_err(err); in libbpf_find_vmlinux_btf_id()
9145 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
9156 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
9160 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
9162 return libbpf_err(-EINVAL); in libbpf_attach_type_by_name()
9170 return map ? map->fd : libbpf_err(-EINVAL); in bpf_map__fd()
9207 return libbpf_err(-EBUSY); in bpf_map__set_type()
9220 return libbpf_err(-EBUSY); in bpf_map__set_map_flags()
9233 return libbpf_err(-EBUSY); in bpf_map__set_map_extra()
9246 return libbpf_err(-EBUSY); in bpf_map__set_numa_node()
9259 return libbpf_err(-EBUSY); in bpf_map__set_key_size()
9272 return libbpf_err(-EBUSY); in bpf_map__set_value_size()
9292 return libbpf_err(-EINVAL); in bpf_map__set_initial_value()
9319 return libbpf_err(-EBUSY); in bpf_map__set_ifindex()
9328 return libbpf_err(-EINVAL); in bpf_map__set_inner_map_fd()
9332 return libbpf_err(-EINVAL); in bpf_map__set_inner_map_fd()
9469 return libbpf_err(err); in bpf_map__lookup_elem()
9482 return libbpf_err(err); in bpf_map__update_elem()
9494 return libbpf_err(err); in bpf_map__delete_elem()
9507 return libbpf_err(err); in bpf_map__lookup_and_delete_elem()
9519 return libbpf_err(err); in bpf_map__get_next_key()
9580 return libbpf_err(err); in bpf_link__destroy()
9637 return libbpf_err(-EBUSY); in bpf_link__pin()
9640 return libbpf_err(err); in bpf_link__pin()
9643 return libbpf_err(err); in bpf_link__pin()
9647 return libbpf_err(-ENOMEM); in bpf_link__pin()
9652 return libbpf_err(err); in bpf_link__pin()
9664 return libbpf_err(-EINVAL); in bpf_link__unpin()
11531 return libbpf_err(ret);
11951 return libbpf_err(err); in perf_buffer__poll()
11975 return libbpf_err(-EINVAL); in perf_buffer__buffer_fd()
11979 return libbpf_err(-ENOENT); in perf_buffer__buffer_fd()
11989 return libbpf_err(-EINVAL); in perf_buffer__buffer()
11993 return libbpf_err(-ENOENT); in perf_buffer__buffer()
12013 return libbpf_err(-EINVAL); in perf_buffer__consume_buffer()
12017 return libbpf_err(-ENOENT); in perf_buffer__consume_buffer()
12035 return libbpf_err(err); in perf_buffer__consume()
12048 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
12051 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
12065 return libbpf_err(btf_id); in bpf_program__set_attach_target()
12068 return libbpf_err(-EINVAL); in bpf_program__set_attach_target()
12073 return libbpf_err(err); in bpf_program__set_attach_target()
12078 return libbpf_err(err); in bpf_program__set_attach_target()
12177 return libbpf_err(err); in libbpf_num_possible_cpus()
12259 return libbpf_err(err); in bpf_object__open_skeleton()
12266 return libbpf_err(err); in bpf_object__open_skeleton()
12272 return libbpf_err(err); in bpf_object__open_skeleton()
12290 return libbpf_err(-EINVAL); in bpf_object__open_subskeleton()
12296 return libbpf_err(-errno); in bpf_object__open_subskeleton()
12302 return libbpf_err(err); in bpf_object__open_subskeleton()
12308 return libbpf_err(err); in bpf_object__open_subskeleton()
12321 return libbpf_err(-EINVAL); in bpf_object__open_subskeleton()
12355 return libbpf_err(err); in bpf_object__load_skeleton()
12394 return libbpf_err(err); in bpf_object__load_skeleton()
12424 return libbpf_err(err); in bpf_object__attach_skeleton()