Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Doffload.c274 if (!bpf_prog_is_dev_bound(old_prog->aux)) in bpf_prog_dev_bound_inherit()
700 if (!bpf_prog_is_dev_bound(prog->aux)) in __bpf_offload_dev_match()
826 if (!bpf_prog_is_dev_bound(prog_aux)) { in bpf_dev_bound_kfunc_check()
H A Dcore.c2320 if (bpf_prog_is_dev_bound(aux)) in bpf_prog_map_compatible()
2800 if (bpf_prog_is_dev_bound(aux)) in bpf_prog_free_deferred()
H A Dsyscall.c2907 if (bpf_prog_is_dev_bound(prog->aux)) { in bpf_prog_load()
2914 bpf_prog_is_dev_bound(dst_prog->aux)) { in bpf_prog_load()
H A Dverifier.c22562 if (bpf_prog_is_dev_bound(prog->aux) && in bpf_check_attach_target()
/linux/include/linux/
H A Dbpf.h3093 static inline bool bpf_prog_is_dev_bound(const struct bpf_prog_aux *aux) in bpf_prog_is_dev_bound() function
3156 static inline bool bpf_prog_is_dev_bound(const struct bpf_prog_aux *aux) in bpf_prog_is_dev_bound() function
/linux/net/bpf/
H A Dtest_run.c1223 if (bpf_prog_is_dev_bound(prog->aux)) in bpf_prog_test_run_xdp()
/linux/net/core/
H A Ddev.c10008 if (bpf_prog_is_dev_bound(new_prog->aux) && !bpf_offload_dev_match(new_prog, dev)) { in dev_xdp_attach()
10012 if (bpf_prog_is_dev_bound(new_prog->aux) && mode == XDP_MODE_SKB) { in dev_xdp_attach()