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.c275 if (!bpf_prog_is_dev_bound(old_prog->aux)) in bpf_prog_dev_bound_inherit()
705 if (!bpf_prog_is_dev_bound(prog->aux)) in __bpf_offload_dev_match()
831 if (!bpf_prog_is_dev_bound(prog_aux)) { in bpf_dev_bound_kfunc_check()
H A Dcore.c2435 if (bpf_prog_is_dev_bound(fp->aux)) in bpf_check_tail_call()
2899 if (bpf_prog_is_dev_bound(aux)) in bpf_prog_free_deferred()
H A Dsyscall.c3043 if (bpf_prog_is_dev_bound(prog->aux)) { in bpf_prog_load()
3050 bpf_prog_is_dev_bound(dst_prog->aux)) { in bpf_prog_load()
H A Dverifier.c24173 if (bpf_prog_is_dev_bound(prog->aux) && in bpf_check_attach_target()
/linux/include/linux/
H A Dbpf.h3304 static inline bool bpf_prog_is_dev_bound(const struct bpf_prog_aux *aux) in bpf_prog_is_dev_bound() function
3367 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.c1289 if (bpf_prog_is_dev_bound(prog->aux)) in bpf_prog_test_run_xdp()
/linux/net/core/
H A Ddev.c10441 if (bpf_prog_is_dev_bound(new_prog->aux) && !bpf_offload_dev_match(new_prog, dev)) { in dev_xdp_attach()
10445 if (bpf_prog_is_dev_bound(new_prog->aux) && mode == XDP_MODE_SKB) { in dev_xdp_attach()