Lines Matching refs:tap_queue

35 static inline bool tap_legacy_is_little_endian(struct tap_queue *q)
41 static long tap_get_vnet_be(struct tap_queue *q, int __user *sp)
51 static long tap_set_vnet_be(struct tap_queue *q, int __user *sp)
66 static inline bool tap_legacy_is_little_endian(struct tap_queue *q)
71 static long tap_get_vnet_be(struct tap_queue *q, int __user *argp)
76 static long tap_set_vnet_be(struct tap_queue *q, int __user *argp)
82 static inline bool tap_is_little_endian(struct tap_queue *q)
88 static inline u16 tap16_to_cpu(struct tap_queue *q, __virtio16 val)
93 static inline __virtio16 cpu_to_tap16(struct tap_queue *q, u16 val)
101 .obj_size = sizeof(struct tap_queue),
131 * The tap_queue and the macvlan_dev are loosely coupled, the
135 * Both the file and the macvlan_dev hold a reference on the tap_queue
147 struct tap_queue *q)
168 struct tap_queue *q)
189 static int tap_disable_queue(struct tap_queue *q)
192 struct tap_queue *nq;
224 static void tap_put_queue(struct tap_queue *q)
254 static struct tap_queue *tap_get_queue(struct tap_dev *tap,
257 struct tap_queue *queue = NULL;
302 struct tap_queue *q, *tmp;
325 struct tap_queue *q;
506 struct tap_queue *q = container_of(sk, struct tap_queue, sk);
515 struct tap_queue *q;
524 q = (struct tap_queue *)sk_alloc(net, AF_UNSPEC, GFP_KERNEL,
580 struct tap_queue *q = file->private_data;
587 struct tap_queue *q = file->private_data;
637 static ssize_t tap_get_user(struct tap_queue *q, void *msg_control,
780 struct tap_queue *q = file->private_data;
790 static ssize_t tap_put_user(struct tap_queue *q,
848 static ssize_t tap_do_read(struct tap_queue *q,
900 struct tap_queue *q = file->private_data;
914 static struct tap_dev *tap_get_tap_dev(struct tap_queue *q)
933 struct tap_queue *q = file->private_data;
952 static int set_offload(struct tap_queue *q, unsigned long arg)
1011 struct tap_queue *q = file->private_data;
1170 static int tap_get_user_xdp(struct tap_queue *q, struct xdp_buff *xdp)
1234 struct tap_queue *q = container_of(sock, struct tap_queue, sock);
1255 struct tap_queue *q = container_of(sock, struct tap_queue, sock);
1272 struct tap_queue *q = container_of(sock, struct tap_queue,
1290 struct tap_queue *q;
1302 struct tap_queue *q;
1316 struct tap_queue *q;