| H A D | tun.c | 229 struct tun_file *tfile = container_of(napi, struct tun_file, napi); in tun_napi_receive() local 230 struct sk_buff_head *queue = &tfile->sk.sk_write_queue; in tun_napi_receive() 267 static void tun_napi_init(struct tun_struct *tun, struct tun_file *tfile, in tun_napi_init() argument 270 tfile->napi_enabled = napi_en; in tun_napi_init() 271 tfile->napi_frags_enabled = napi_en && napi_frags; in tun_napi_init() 273 netif_napi_add_tx(tun->dev, &tfile->napi, tun_napi_poll); in tun_napi_init() 274 napi_enable(&tfile->napi); in tun_napi_init() 278 static void tun_napi_enable(struct tun_file *tfile) in tun_napi_enable() argument 280 if (tfile->napi_enabled) in tun_napi_enable() 281 napi_enable(&tfile in tun_napi_enable() 284 tun_napi_disable(struct tun_file * tfile) tun_napi_disable() argument 290 tun_napi_del(struct tun_file * tfile) tun_napi_del() argument 296 tun_napi_frags_enabled(const struct tun_file * tfile) tun_napi_frags_enabled() argument 412 tun_flow_update(struct tun_struct * tun,u32 rxhash,struct tun_file * tfile) tun_flow_update() argument 529 tun_disable_queue(struct tun_struct * tun,struct tun_file * tfile) tun_disable_queue() argument 536 tun_enable_queue(struct tun_file * tfile) tun_enable_queue() argument 560 tun_queue_purge(struct tun_file * tfile) tun_queue_purge() argument 571 __tun_detach(struct tun_file * tfile,bool clean) __tun_detach() argument 629 tun_detach(struct tun_file * tfile,bool clean) tun_detach() argument 649 struct tun_file *tfile, *tmp; tun_detach_all() local 694 struct tun_file *tfile = file->private_data; tun_attach() local 785 tun_get(struct tun_file * tfile) tun_get() argument 1009 struct tun_file *tfile; tun_net_xmit() local 1132 struct tun_file *tfile; tun_xdp_set() local 1196 __tun_xdp_flush_tfile(struct tun_file * tfile) __tun_xdp_flush_tfile() argument 1208 struct tun_file *tfile; tun_xdp_xmit() local 1348 tun_sock_writeable(struct tun_struct * tun,struct tun_file * tfile) tun_sock_writeable() argument 1360 struct tun_file *tfile = file->private_data; tun_chr_poll() local 1392 tun_napi_alloc_frags(struct tun_file * tfile,size_t len,const struct iov_iter * it) tun_napi_alloc_frags() argument 1449 tun_alloc_skb(struct tun_file * tfile,size_t prepad,size_t len,size_t linear,int noblock) tun_alloc_skb() argument 1476 tun_rx_batched(struct tun_struct * tun,struct tun_file * tfile,struct sk_buff * skb,int more) tun_rx_batched() argument 1516 tun_can_build_skb(struct tun_struct * tun,struct tun_file * tfile,int len,int noblock,bool zerocopy) tun_can_build_skb() argument 1538 __tun_build_skb(struct tun_file * tfile,struct page_frag * alloc_frag,char * buf,int buflen,int len,int pad,int metasize) __tun_build_skb() argument 1599 tun_build_skb(struct tun_struct * tun,struct tun_file * tfile,struct iov_iter * from,struct virtio_net_hdr * hdr,int len,int * skb_xdp) tun_build_skb() argument 1695 tun_get_user(struct tun_struct * tun,struct tun_file * tfile,void * msg_control,struct iov_iter * from,int noblock,bool more) tun_get_user() argument 1990 struct tun_file *tfile = file->private_data; tun_chr_write_iter() local 2008 tun_put_user_xdp(struct tun_struct * tun,struct tun_file * tfile,struct xdp_frame * xdp_frame,struct iov_iter * iter) tun_put_user_xdp() argument 2036 tun_put_user(struct tun_struct * tun,struct tun_file * tfile,struct sk_buff * skb,struct iov_iter * iter) tun_put_user() argument 2118 tun_ring_recv(struct tun_file * tfile,int noblock,int * err) tun_ring_recv() argument 2159 tun_do_read(struct tun_struct * tun,struct tun_file * tfile,struct iov_iter * to,int noblock,void * ptr) tun_do_read() argument 2199 struct tun_file *tfile = file->private_data; tun_chr_read_iter() local 2354 struct tun_file *tfile; tun_sock_write_space() local 2379 tun_xdp_one(struct tun_struct * tun,struct tun_file * tfile,struct xdp_buff * xdp,int * flush,struct tun_page * tpage) tun_xdp_one() argument 2517 struct tun_file *tfile = container_of(sock, struct tun_file, socket); tun_sendmsg() local 2572 struct tun_file *tfile = container_of(sock, struct tun_file, socket); tun_recvmsg() local 2623 struct tun_file *tfile = container_of(sock, struct tun_file, socket); tun_peek_len() local 2700 struct tun_file *tfile = file->private_data; tun_set_iff() local 2907 struct tun_file *tfile; tun_detach_filter() local 2922 struct tun_file *tfile; tun_attach_filter() local 2941 struct tun_file *tfile; tun_set_sndbuf() local 2952 struct tun_file *tfile = file->private_data; tun_set_queue() local 3048 struct tun_file *tfile = file->private_data; __tun_chr_ioctl() local 3376 struct tun_file *tfile = file->private_data; tun_chr_fasync() local 3401 struct tun_file *tfile; tun_chr_open() local 3439 struct tun_file *tfile = file->private_data; tun_chr_close() local 3449 struct tun_file *tfile = file->private_data; tun_chr_show_fdinfo() local 3608 struct tun_file *tfile; tun_queue_resize() local 3649 struct tun_file *tfile; tun_device_event() local 3713 struct tun_file *tfile; tun_get_socket() local 3725 struct tun_file *tfile; tun_get_tx_ring() local [all...] |