Lines Matching refs:regreq
2658 struct nmreq_register regreq; in netmap_ioctl() local
2659 bzero(®req, sizeof(regreq)); in netmap_ioctl()
2660 regreq.nr_mode = NR_REG_ALL_NIC; in netmap_ioctl()
2661 regreq.nr_tx_slots = req->nr_tx_slots; in netmap_ioctl()
2662 regreq.nr_rx_slots = req->nr_rx_slots; in netmap_ioctl()
2663 regreq.nr_tx_rings = req->nr_tx_rings; in netmap_ioctl()
2664 regreq.nr_rx_rings = req->nr_rx_rings; in netmap_ioctl()
2665 regreq.nr_host_tx_rings = req->nr_host_tx_rings; in netmap_ioctl()
2666 regreq.nr_host_rx_rings = req->nr_host_rx_rings; in netmap_ioctl()
2667 regreq.nr_mem_id = req->nr_mem_id; in netmap_ioctl()
2671 hdr->nr_body = (uintptr_t)®req; in netmap_ioctl()
2735 struct nmreq_register regreq; in netmap_ioctl() local
2736 bzero(®req, sizeof(regreq)); in netmap_ioctl()
2737 regreq.nr_mode = NR_REG_ALL_NIC; in netmap_ioctl()
2752 hdr->nr_body = (uintptr_t)®req; in netmap_ioctl()
2779 struct nmreq_register regreq; in netmap_ioctl() local
2782 bzero(®req, sizeof(regreq)); in netmap_ioctl()
2783 regreq.nr_mode = NR_REG_ALL_NIC; in netmap_ioctl()
2786 hdr->nr_body = (uintptr_t)®req; in netmap_ioctl()
2823 struct nmreq_register regreq; in netmap_ioctl() local
2824 bzero(®req, sizeof(regreq)); in netmap_ioctl()
2825 regreq.nr_mem_id = req->nr_mem_id; in netmap_ioctl()
2826 regreq.nr_mode = NR_REG_ALL_NIC; in netmap_ioctl()
2829 hdr->nr_body = (uintptr_t)®req; in netmap_ioctl()