Lines Matching refs:attached
9 * Functions to manage BPF programs attached to netns
23 struct list_head node; /* node in list of links attached to net */
301 struct bpf_prog *attached;
332 attached = net->bpf.progs[type];
333 if (attached == prog) {
334 /* The same program cannot be attached twice */
354 if (attached)
355 bpf_prog_put(attached);
368 struct bpf_prog *attached;
370 /* Progs attached via links cannot be detached */
374 attached = net->bpf.progs[type];
375 if (!attached || attached != old)
379 bpf_prog_put(attached);