| H A D | tun.c | 232 struct tun_file *tfile = container_of(napi, struct tun_file, napi); in tun_napi_receive() local 233 struct sk_buff_head *queue = &tfile->sk.sk_write_queue; in tun_napi_receive() 270 static void tun_napi_init(struct tun_struct *tun, struct tun_file *tfile, in tun_napi_init() argument 273 tfile->napi_enabled = napi_en; in tun_napi_init() 274 tfile->napi_frags_enabled = napi_en && napi_frags; in tun_napi_init() 276 netif_napi_add_tx(tun->dev, &tfile->napi, tun_napi_poll); in tun_napi_init() 277 napi_enable(&tfile->napi); in tun_napi_init() 281 static void tun_napi_enable(struct tun_file *tfile) in tun_napi_enable() argument 283 if (tfile->napi_enabled) in tun_napi_enable() 284 napi_enable(&tfile in tun_napi_enable() 287 tun_napi_disable(struct tun_file * tfile) tun_napi_disable() argument 293 tun_napi_del(struct tun_file * tfile) tun_napi_del() argument 299 tun_napi_frags_enabled(const struct tun_file * tfile) tun_napi_frags_enabled() argument 415 tun_flow_update(struct tun_struct * tun,u32 rxhash,struct tun_file * tfile) tun_flow_update() argument 532 tun_disable_queue(struct tun_struct * tun,struct tun_file * tfile) tun_disable_queue() argument 539 tun_enable_queue(struct tun_file * tfile) tun_enable_queue() argument 563 tun_queue_purge(struct tun_file * tfile) tun_queue_purge() argument 574 __tun_detach(struct tun_file * tfile,bool clean) __tun_detach() argument 645 tun_detach(struct tun_file * tfile,bool clean) tun_detach() argument 665 struct tun_file *tfile, *tmp; tun_detach_all() local 707 tun_force_wake_queue(struct tun_struct * tun,struct tun_file * tfile) tun_force_wake_queue() argument 729 struct tun_file *tfile = file->private_data; tun_attach() local 823 tun_get(struct tun_file * tfile) tun_get() argument 1006 struct tun_file *tfile; tun_net_close() local 1065 struct tun_file *tfile; tun_net_xmit() local 1216 struct tun_file *tfile; tun_xdp_set() local 1280 __tun_xdp_flush_tfile(struct tun_file * tfile) __tun_xdp_flush_tfile() argument 1292 struct tun_file *tfile; tun_xdp_xmit() local 1432 tun_sock_writeable(struct tun_struct * tun,struct tun_file * tfile) tun_sock_writeable() argument 1444 struct tun_file *tfile = file->private_data; tun_chr_poll() local 1476 tun_napi_alloc_frags(struct tun_file * tfile,size_t len,const struct iov_iter * it) tun_napi_alloc_frags() argument 1533 tun_alloc_skb(struct tun_file * tfile,size_t prepad,size_t len,size_t linear,int noblock) tun_alloc_skb() argument 1560 tun_rx_batched(struct tun_struct * tun,struct tun_file * tfile,struct sk_buff * skb,int more) tun_rx_batched() argument 1600 tun_can_build_skb(struct tun_struct * tun,struct tun_file * tfile,int len,int noblock,bool zerocopy) tun_can_build_skb() argument 1622 __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 1683 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 1779 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 2080 struct tun_file *tfile = file->private_data; tun_chr_write_iter() local 2098 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 2126 tun_put_user(struct tun_struct * tun,struct tun_file * tfile,struct sk_buff * skb,struct iov_iter * iter) tun_put_user() argument 2211 __tun_wake_queue(struct tun_struct * tun,struct tun_file * tfile,int consumed) __tun_wake_queue() argument 2243 tun_ring_consume(struct tun_struct * tun,struct tun_file * tfile) tun_ring_consume() argument 2256 tun_ring_recv(struct tun_struct * tun,struct tun_file * tfile,int noblock,int * err) tun_ring_recv() argument 2298 tun_do_read(struct tun_struct * tun,struct tun_file * tfile,struct iov_iter * to,int noblock,void * ptr) tun_do_read() argument 2338 struct tun_file *tfile = file->private_data; tun_chr_read_iter() local 2497 struct tun_file *tfile; tun_sock_write_space() local 2522 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 2660 struct tun_file *tfile = container_of(sock, struct tun_file, socket); tun_sendmsg() local 2715 struct tun_file *tfile = container_of(sock, struct tun_file, socket); tun_recvmsg() local 2766 struct tun_file *tfile = container_of(sock, struct tun_file, socket); tun_peek_len() local 2843 struct tun_file *tfile = file->private_data; tun_set_iff() local 3053 struct tun_file *tfile; tun_detach_filter() local 3068 struct tun_file *tfile; tun_attach_filter() local 3087 struct tun_file *tfile; tun_set_sndbuf() local 3098 struct tun_file *tfile = file->private_data; tun_set_queue() local 3194 struct tun_file *tfile = file->private_data; __tun_chr_ioctl() local 3522 struct tun_file *tfile = file->private_data; tun_chr_fasync() local 3547 struct tun_file *tfile; tun_chr_open() local 3585 struct tun_file *tfile = file->private_data; tun_chr_close() local 3595 struct tun_file *tfile = file->private_data; tun_chr_show_fdinfo() local 3754 struct tun_file *tfile; tun_queue_resize() local 3802 struct tun_file *tfile; tun_device_event() local 3866 struct tun_file *tfile; tun_get_socket() local 3878 struct tun_file *tfile; tun_get_tx_ring() local 3892 struct tun_file *tfile; tun_wake_queue() local [all...] |