Lines Matching defs:tfile
229 struct tun_file *tfile = container_of(napi, struct tun_file, napi); in tun_napi_receive() local
267 static void tun_napi_init(struct tun_struct *tun, struct tun_file *tfile, in tun_napi_init()
278 static void tun_napi_enable(struct tun_file *tfile) in tun_napi_enable()
284 static void tun_napi_disable(struct tun_file *tfile) in tun_napi_disable()
290 static void tun_napi_del(struct tun_file *tfile) in tun_napi_del()
296 static bool tun_napi_frags_enabled(const struct tun_file *tfile) in tun_napi_frags_enabled()
476 struct tun_file *tfile) in tun_flow_update()
593 static void tun_disable_queue(struct tun_struct *tun, struct tun_file *tfile) in tun_disable_queue()
600 static struct tun_struct *tun_enable_queue(struct tun_file *tfile) in tun_enable_queue()
624 static void tun_queue_purge(struct tun_file *tfile) in tun_queue_purge()
635 static void __tun_detach(struct tun_file *tfile, bool clean) in __tun_detach()
693 static void tun_detach(struct tun_file *tfile, bool clean) in tun_detach()
713 struct tun_file *tfile, *tmp; in tun_detach_all() local
758 struct tun_file *tfile = file->private_data; in tun_attach() local
849 static struct tun_struct *tun_get(struct tun_file *tfile) in tun_get()
1072 struct tun_file *tfile; in tun_net_xmit() local
1195 struct tun_file *tfile; in tun_xdp_set() local
1259 static void __tun_xdp_flush_tfile(struct tun_file *tfile) in __tun_xdp_flush_tfile()
1271 struct tun_file *tfile; in tun_xdp_xmit() local
1411 static bool tun_sock_writeable(struct tun_struct *tun, struct tun_file *tfile) in tun_sock_writeable()
1423 struct tun_file *tfile = file->private_data; in tun_chr_poll() local
1455 static struct sk_buff *tun_napi_alloc_frags(struct tun_file *tfile, in tun_napi_alloc_frags()
1512 static struct sk_buff *tun_alloc_skb(struct tun_file *tfile, in tun_alloc_skb()
1539 static void tun_rx_batched(struct tun_struct *tun, struct tun_file *tfile, in tun_rx_batched()
1579 static bool tun_can_build_skb(struct tun_struct *tun, struct tun_file *tfile, in tun_can_build_skb()
1601 static struct sk_buff *__tun_build_skb(struct tun_file *tfile, in __tun_build_skb()
1659 struct tun_file *tfile, in tun_build_skb()
1748 static ssize_t tun_get_user(struct tun_struct *tun, struct tun_file *tfile, in tun_get_user()
2042 struct tun_file *tfile = file->private_data; in tun_chr_write_iter() local
2060 struct tun_file *tfile, in tun_put_user_xdp()
2091 struct tun_file *tfile, in tun_put_user()
2182 static void *tun_ring_recv(struct tun_file *tfile, int noblock, int *err) in tun_ring_recv()
2223 static ssize_t tun_do_read(struct tun_struct *tun, struct tun_file *tfile, in tun_do_read()
2263 struct tun_file *tfile = file->private_data; in tun_chr_read_iter() local
2418 struct tun_file *tfile; in tun_sock_write_space() local
2443 struct tun_file *tfile, in tun_xdp_one()
2567 struct tun_file *tfile = container_of(sock, struct tun_file, socket); in tun_sendmsg() local
2622 struct tun_file *tfile = container_of(sock, struct tun_file, socket); in tun_recvmsg() local
2673 struct tun_file *tfile = container_of(sock, struct tun_file, socket); in tun_peek_len() local
2750 struct tun_file *tfile = file->private_data; in tun_set_iff() local
2943 struct tun_file *tfile; in tun_detach_filter() local
2958 struct tun_file *tfile; in tun_attach_filter() local
2977 struct tun_file *tfile; in tun_set_sndbuf() local
2988 struct tun_file *tfile = file->private_data; in tun_set_queue() local
3084 struct tun_file *tfile = file->private_data; in __tun_chr_ioctl() local
3452 struct tun_file *tfile = file->private_data; in tun_chr_fasync() local
3477 struct tun_file *tfile; in tun_chr_open() local
3515 struct tun_file *tfile = file->private_data; in tun_chr_close() local
3525 struct tun_file *tfile = file->private_data; in tun_chr_show_fdinfo() local
3684 struct tun_file *tfile; in tun_queue_resize() local
3725 struct tun_file *tfile; in tun_device_event() local
3789 struct tun_file *tfile; in tun_get_socket() local
3801 struct tun_file *tfile; in tun_get_tx_ring() local