Lines Matching refs:libbpf_err
327 return libbpf_err(-EINVAL); in bpf_xdp_attach()
336 return libbpf_err(err); in bpf_xdp_attach()
447 return libbpf_err(-EINVAL); in bpf_xdp_query()
450 return libbpf_err(-EINVAL); in bpf_xdp_query()
455 return libbpf_err(-EINVAL); in bpf_xdp_query()
463 return libbpf_err(err); in bpf_xdp_query()
480 return libbpf_err(err); in bpf_xdp_query()
492 return libbpf_err(err); in bpf_xdp_query()
497 return libbpf_err(err); in bpf_xdp_query()
513 return libbpf_err(ret); in bpf_xdp_query_id()
635 return libbpf_err(-EINVAL); in bpf_tc_hook_create()
638 return libbpf_err(ret); in bpf_tc_hook_create()
649 return libbpf_err(-EINVAL); in bpf_tc_hook_destroy()
654 return libbpf_err(__bpf_tc_detach(hook, NULL, true)); in bpf_tc_hook_destroy()
657 return libbpf_err(tc_qdisc_delete(hook)); in bpf_tc_hook_destroy()
659 return libbpf_err(-EOPNOTSUPP); in bpf_tc_hook_destroy()
661 return libbpf_err(-EINVAL); in bpf_tc_hook_destroy()
743 return libbpf_err(-EINVAL); in bpf_tc_attach()
756 return libbpf_err(-EINVAL); in bpf_tc_attach()
758 return libbpf_err(-EINVAL); in bpf_tc_attach()
760 return libbpf_err(-EINVAL); in bpf_tc_attach()
777 return libbpf_err(ret); in bpf_tc_attach()
782 return libbpf_err(ret); in bpf_tc_attach()
785 return libbpf_err(-EMSGSIZE); in bpf_tc_attach()
788 return libbpf_err(ret); in bpf_tc_attach()
792 return libbpf_err(ret); in bpf_tc_attach()
800 return libbpf_err(ret); in bpf_tc_attach()
802 return libbpf_err(-ENOENT); in bpf_tc_attach()
873 return libbpf_err(-EINVAL); in bpf_tc_detach()
876 return libbpf_err(ret); in bpf_tc_detach()
889 return libbpf_err(-EINVAL); in bpf_tc_query()
903 return libbpf_err(-EINVAL); in bpf_tc_query()
905 return libbpf_err(-EINVAL); in bpf_tc_query()
920 return libbpf_err(ret); in bpf_tc_query()
925 return libbpf_err(ret); in bpf_tc_query()
932 return libbpf_err(ret); in bpf_tc_query()
934 return libbpf_err(-ENOENT); in bpf_tc_query()