Home
last modified time | relevance | path

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

/kernel/bpf/
Dnet_namespace.c301 struct bpf_prog *attached; in netns_bpf_prog_attach() local
332 attached = net->bpf.progs[type]; in netns_bpf_prog_attach()
333 if (attached == prog) { in netns_bpf_prog_attach()
354 if (attached) in netns_bpf_prog_attach()
355 bpf_prog_put(attached); in netns_bpf_prog_attach()
368 struct bpf_prog *attached; in __netns_bpf_prog_detach() local
374 attached = net->bpf.progs[type]; in __netns_bpf_prog_detach()
375 if (!attached || attached != old) in __netns_bpf_prog_detach()
379 bpf_prog_put(attached); in __netns_bpf_prog_detach()