Lines Matching refs:libbpf_err

329 		return libbpf_err(-EINVAL);  in bpf_xdp_attach()
338 return libbpf_err(err); in bpf_xdp_attach()
449 return libbpf_err(-EINVAL); in bpf_xdp_query()
452 return libbpf_err(-EINVAL); in bpf_xdp_query()
457 return libbpf_err(-EINVAL); in bpf_xdp_query()
465 return libbpf_err(err); in bpf_xdp_query()
482 return libbpf_err(err); in bpf_xdp_query()
494 return libbpf_err(err); in bpf_xdp_query()
499 return libbpf_err(err); in bpf_xdp_query()
515 return libbpf_err(ret); in bpf_xdp_query_id()
637 return libbpf_err(-EINVAL); in bpf_tc_hook_create()
640 return libbpf_err(ret); in bpf_tc_hook_create()
651 return libbpf_err(-EINVAL); in bpf_tc_hook_destroy()
656 return libbpf_err(__bpf_tc_detach(hook, NULL, true)); in bpf_tc_hook_destroy()
659 return libbpf_err(tc_qdisc_delete(hook)); in bpf_tc_hook_destroy()
661 return libbpf_err(-EOPNOTSUPP); in bpf_tc_hook_destroy()
663 return libbpf_err(-EINVAL); in bpf_tc_hook_destroy()
745 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()
762 return libbpf_err(-EINVAL); in bpf_tc_attach()
779 return libbpf_err(ret); in bpf_tc_attach()
784 return libbpf_err(ret); in bpf_tc_attach()
787 return libbpf_err(-EMSGSIZE); in bpf_tc_attach()
790 return libbpf_err(ret); in bpf_tc_attach()
794 return libbpf_err(ret); in bpf_tc_attach()
802 return libbpf_err(ret); in bpf_tc_attach()
804 return libbpf_err(-ENOENT); in bpf_tc_attach()
875 return libbpf_err(-EINVAL); in bpf_tc_detach()
878 return libbpf_err(ret); in bpf_tc_detach()
891 return libbpf_err(-EINVAL); in bpf_tc_query()
905 return libbpf_err(-EINVAL); in bpf_tc_query()
907 return libbpf_err(-EINVAL); in bpf_tc_query()
922 return libbpf_err(ret); in bpf_tc_query()
927 return libbpf_err(ret); in bpf_tc_query()
934 return libbpf_err(ret); in bpf_tc_query()
936 return libbpf_err(-ENOENT); in bpf_tc_query()