Lines Matching refs:libbpf_err

226 		return libbpf_err(-EINVAL);  in bpf_set_link_xdp_fd_opts()
234 return libbpf_err(ret); in bpf_set_link_xdp_fd_opts()
242 return libbpf_err(ret); in bpf_set_link_xdp_fd()
320 return libbpf_err(-EINVAL); in bpf_get_link_xdp_info()
326 return libbpf_err(-EINVAL); in bpf_get_link_xdp_info()
340 return libbpf_err(ret); in bpf_get_link_xdp_info()
368 return libbpf_err(ret); in bpf_get_link_xdp_id()
461 return libbpf_err(-EINVAL); in bpf_tc_hook_create()
464 return libbpf_err(ret); in bpf_tc_hook_create()
475 return libbpf_err(-EINVAL); in bpf_tc_hook_destroy()
480 return libbpf_err(__bpf_tc_detach(hook, NULL, true)); in bpf_tc_hook_destroy()
482 return libbpf_err(tc_qdisc_delete(hook)); in bpf_tc_hook_destroy()
484 return libbpf_err(-EOPNOTSUPP); in bpf_tc_hook_destroy()
486 return libbpf_err(-EINVAL); in bpf_tc_hook_destroy()
567 return libbpf_err(-EINVAL); in bpf_tc_attach()
580 return libbpf_err(-EINVAL); in bpf_tc_attach()
582 return libbpf_err(-EINVAL); in bpf_tc_attach()
584 return libbpf_err(-EINVAL); in bpf_tc_attach()
601 return libbpf_err(ret); in bpf_tc_attach()
606 return libbpf_err(ret); in bpf_tc_attach()
609 return libbpf_err(-EMSGSIZE); in bpf_tc_attach()
612 return libbpf_err(ret); in bpf_tc_attach()
616 return libbpf_err(ret); in bpf_tc_attach()
623 return libbpf_err(ret); in bpf_tc_attach()
625 return libbpf_err(-ENOENT); in bpf_tc_attach()
696 return libbpf_err(-EINVAL); in bpf_tc_detach()
699 return libbpf_err(ret); in bpf_tc_detach()
712 return libbpf_err(-EINVAL); in bpf_tc_query()
726 return libbpf_err(-EINVAL); in bpf_tc_query()
728 return libbpf_err(-EINVAL); in bpf_tc_query()
743 return libbpf_err(ret); in bpf_tc_query()
748 return libbpf_err(ret); in bpf_tc_query()
754 return libbpf_err(ret); in bpf_tc_query()
756 return libbpf_err(-ENOENT); in bpf_tc_query()