Lines Matching refs:regreq
2639 struct nmreq_register regreq; in netmap_ioctl() local
2640 bzero(®req, sizeof(regreq)); in netmap_ioctl()
2641 regreq.nr_mode = NR_REG_ALL_NIC; in netmap_ioctl()
2642 regreq.nr_tx_slots = req->nr_tx_slots; in netmap_ioctl()
2643 regreq.nr_rx_slots = req->nr_rx_slots; in netmap_ioctl()
2644 regreq.nr_tx_rings = req->nr_tx_rings; in netmap_ioctl()
2645 regreq.nr_rx_rings = req->nr_rx_rings; in netmap_ioctl()
2646 regreq.nr_host_tx_rings = req->nr_host_tx_rings; in netmap_ioctl()
2647 regreq.nr_host_rx_rings = req->nr_host_rx_rings; in netmap_ioctl()
2648 regreq.nr_mem_id = req->nr_mem_id; in netmap_ioctl()
2652 hdr->nr_body = (uintptr_t)®req; in netmap_ioctl()
2713 struct nmreq_register regreq; in netmap_ioctl() local
2714 bzero(®req, sizeof(regreq)); in netmap_ioctl()
2715 regreq.nr_mode = NR_REG_ALL_NIC; in netmap_ioctl()
2730 hdr->nr_body = (uintptr_t)®req; in netmap_ioctl()
2757 struct nmreq_register regreq; in netmap_ioctl() local
2760 bzero(®req, sizeof(regreq)); in netmap_ioctl()
2761 regreq.nr_mode = NR_REG_ALL_NIC; in netmap_ioctl()
2764 hdr->nr_body = (uintptr_t)®req; in netmap_ioctl()
2801 struct nmreq_register regreq; in netmap_ioctl() local
2802 bzero(®req, sizeof(regreq)); in netmap_ioctl()
2803 regreq.nr_mem_id = req->nr_mem_id; in netmap_ioctl()
2804 regreq.nr_mode = NR_REG_ALL_NIC; in netmap_ioctl()
2807 hdr->nr_body = (uintptr_t)®req; in netmap_ioctl()