Home
last modified time | relevance | path

Searched refs:bpf_prog_is_dev_bound (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/kernel/bpf/
H A Doffload.c267 if (!bpf_prog_is_dev_bound(old_prog->aux)) in bpf_prog_dev_bound_inherit()
693 if (!bpf_prog_is_dev_bound(prog->aux)) in __bpf_offload_dev_match()
819 if (!bpf_prog_is_dev_bound(prog_aux)) { in bpf_dev_bound_kfunc_check()
H A Dcore.c2276 if (bpf_prog_is_dev_bound(aux)) in bpf_prog_map_compatible()
2754 if (bpf_prog_is_dev_bound(aux)) in bpf_prog_free_deferred()
H A Dsyscall.c2719 if (bpf_prog_is_dev_bound(prog->aux)) { in bpf_prog_load()
2726 bpf_prog_is_dev_bound(dst_prog->aux)) { in bpf_prog_load()
H A Dverifier.c19860 if (bpf_prog_is_dev_bound(prog->aux) && in bpf_check_attach_target()
/openbmc/linux/include/linux/
H A Dbpf.h2821 static inline bool bpf_prog_is_dev_bound(const struct bpf_prog_aux *aux) in bpf_prog_is_dev_bound() function
2883 static inline bool bpf_prog_is_dev_bound(const struct bpf_prog_aux *aux) in bpf_prog_is_dev_bound() function
/openbmc/linux/net/bpf/
H A Dtest_run.c1166 if (bpf_prog_is_dev_bound(prog->aux)) in bpf_prog_test_run_xdp()
/openbmc/linux/net/core/
H A Ddev.c9376 if (bpf_prog_is_dev_bound(new_prog->aux) && !bpf_offload_dev_match(new_prog, dev)) { in dev_xdp_attach()
9380 if (bpf_prog_is_dev_bound(new_prog->aux) && mode == XDP_MODE_SKB) { in dev_xdp_attach()