Lines Matching refs:req

262  * \param req	sysctl access structure
337 return (SYSCTL_OUT(req, results, strnlen(results, TOTAL_BUFLEN)));
409 struct netif_tx_request *req;
411 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
414 req->flags = 0;
415 req->size = 69; /* arbitrary number for test */
440 struct netif_tx_request *req;
443 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
445 req->flags = NETTXF_more_data;
446 req->size = 100;
449 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
451 req->flags = 0;
452 req->size = 40;
477 struct netif_tx_request *req;
480 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
482 req->flags = NETTXF_more_data;
483 req->size = 200;
486 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
488 req->flags = NETTXF_more_data;
489 req->size = 40;
492 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
494 req->flags = 0;
495 req->size = 50;
510 XNB_ASSERT(RING_GET_REQUEST(&xnb_unit_pvt.txb, pkt.cdr + 1) == req);
521 struct netif_tx_request *req;
525 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
527 req->flags = NETTXF_extra_info | NETTXF_more_data;
528 req->size = 150;
540 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
542 req->flags = 0;
543 req->size = 50;
562 XNB_ASSERT(RING_GET_REQUEST(&xnb_unit_pvt.txb, pkt.cdr) == req);
574 struct netif_tx_request *req;
576 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
578 req->flags = NETTXF_more_data;
579 req->size = 150;
599 struct netif_tx_request *req;
616 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
618 req->flags = NETTXF_more_data;
619 req->size = 550;
622 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
624 req->flags = NETTXF_more_data;
625 req->size = 100;
628 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
630 req->flags = 0;
631 req->size = 50;
641 XNB_ASSERT(RING_GET_REQUEST(&xnb_unit_pvt.txb, pkt.cdr + 1) == req);
672 struct netif_tx_request *req;
675 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
677 req->size = 1000;
678 req->flags = 0;
692 XNB_ASSERT(rsp->id == req->id);
704 struct netif_tx_request *req;
708 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
710 req->size = 1000;
711 req->flags = NETTXF_extra_info;
712 req->id = 69;
733 XNB_ASSERT(rsp->id == req->id);
749 struct netif_tx_request *req;
753 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
755 req->size = 1000;
756 req->flags = NETTXF_extra_info | NETTXF_more_data;
757 req->id = 254;
766 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
768 req->size = 300;
769 req->flags = NETTXF_more_data;
770 req->id = 1034;
773 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
775 req->size = 400;
776 req->flags = 0;
777 req->id = 34;
824 struct netif_tx_request *req;
828 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
830 req->size = 1000;
831 req->flags = NETTXF_extra_info;
832 req->id = 69;
854 XNB_ASSERT(rsp->id == req->id);
870 struct netif_tx_request *req;
873 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
875 req->size = 1000;
876 req->flags = 0;
890 XNB_ASSERT(rsp->id == req->id);
901 struct netif_tx_request *req;
919 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
921 req->flags = NETTXF_more_data;
922 req->size = 550;
923 req->id = 1;
926 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
928 req->flags = NETTXF_more_data;
929 req->size = 100;
930 req->id = 2;
933 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
935 req->flags = 0;
936 req->size = 50;
937 req->id = 3;
950 XNB_ASSERT(rsp->id == req->id);
964 struct netif_tx_request *req;
966 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
968 req->flags = flags;
969 req->size = size;
1123 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1125 req->flags = 0;
1126 req->size = size;
1127 req->gref = 7;
1128 req->offset = 17;
1142 XNB_ASSERT(xnb_unit_pvt.gnttab[0].source.offset == req->offset);
1163 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1165 req->flags = NETTXF_more_data;
1166 req->size = 1900;
1167 req->gref = 7;
1168 req->offset = 0;
1171 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1173 req->flags = 0;
1174 req->size = 500;
1175 req->gref = 8;
1176 req->offset = 0;
1209 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1211 req->flags = 0;
1212 req->size = data_this_transaction;
1213 req->gref = 8;
1214 req->offset = 0;
1283 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1285 req->flags = 0;
1286 req->size = size;
1287 req->gref = 7;
1288 req->offset = 17;
1319 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1321 req->flags = NETTXF_more_data;
1322 req->size = 1900;
1323 req->gref = 7;
1324 req->offset = 0;
1327 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1329 req->flags = 0;
1330 req->size = 500;
1331 req->gref = 8;
1332 req->offset = 0;
1367 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1369 req->flags = 0;
1370 req->size = data_this_transaction;
1371 req->gref = 8;
1372 req->offset = 0;
1661 struct netif_rx_request *req;
1670 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf,
1672 req->gref = 7;
1705 struct netif_rx_request *req;
1716 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf,
1718 req->gref = i;
1719 req->id = 5;
1778 struct netif_rx_request *req;
1788 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start);
1789 req->gref = 7;
1804 XNB_ASSERT(rsp->id == req->id);
1827 struct netif_rx_request *req;
1843 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start);
1844 req->id = id;
1845 req->gref = gref;
1846 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start + 1);
1847 req->id = id + 1;
1848 req->gref = gref + 1;
1896 struct netif_rx_request *req;
1913 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start);
1914 req->gref = gref1;
1915 req->id = id1;
1916 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start + 1);
1917 req->gref = gref2;
1918 req->id = id2;
1960 struct netif_rx_request *req;
1978 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start);
1979 req->gref = gref;
1980 req->id = id;
2020 struct netif_rx_request *req;
2030 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start);
2031 req->gref = gref;
2032 req->id = id;
2037 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start + 1);
2038 req->gref = canary;
2039 req->id = canary;
2054 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start + 1);
2055 XNB_ASSERT(req->gref == canary);
2056 XNB_ASSERT(req->id == canary);