Lines Matching full:detached
145 struct tun_struct *detached; member
595 tfile->detached = tun; in tun_disable_queue()
602 struct tun_struct *tun = tfile->detached; in tun_enable_queue()
604 tfile->detached = NULL; in tun_enable_queue()
643 if (!tfile->detached) in __tun_detach()
648 if (tun && !tfile->detached) { in __tun_detach()
673 } else if (tfile->detached && clean) { in __tun_detach()
766 if (rtnl_dereference(tfile->tun) && !tfile->detached) in tun_attach()
774 if (!tfile->detached && in tun_attach()
789 if (!tfile->detached && in tun_attach()
799 if (tfile->detached) { in tun_attach()
800 /* Re-attach detached tfile, updating XDP queue_index */ in tun_attach()
820 if (tfile->detached) { in tun_attach()
1952 !tfile->detached) in tun_get_user()
2510 !tfile->detached) in tun_xdp_one()
2723 if (tfile->detached) in tun_set_iff()
2958 tun = tfile->detached; in tun_set_queue()
2970 if (!tun || !(tun->flags & IFF_MULTI_QUEUE) || tfile->detached) in tun_set_queue()
3128 if (tfile->detached) in __tun_chr_ioctl()