Lines Matching refs:req

263  * \param req	sysctl access structure
338 return (SYSCTL_OUT(req, results, strnlen(results, TOTAL_BUFLEN)));
410 struct netif_tx_request *req;
412 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
415 req->flags = 0;
416 req->size = 69; /* arbitrary number for test */
441 struct netif_tx_request *req;
444 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
446 req->flags = NETTXF_more_data;
447 req->size = 100;
450 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
452 req->flags = 0;
453 req->size = 40;
478 struct netif_tx_request *req;
481 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
483 req->flags = NETTXF_more_data;
484 req->size = 200;
487 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
489 req->flags = NETTXF_more_data;
490 req->size = 40;
493 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
495 req->flags = 0;
496 req->size = 50;
511 XNB_ASSERT(RING_GET_REQUEST(&xnb_unit_pvt.txb, pkt.cdr + 1) == req);
522 struct netif_tx_request *req;
526 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
528 req->flags = NETTXF_extra_info | NETTXF_more_data;
529 req->size = 150;
541 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
543 req->flags = 0;
544 req->size = 50;
563 XNB_ASSERT(RING_GET_REQUEST(&xnb_unit_pvt.txb, pkt.cdr) == req);
575 struct netif_tx_request *req;
577 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
579 req->flags = NETTXF_more_data;
580 req->size = 150;
600 struct netif_tx_request *req;
617 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
619 req->flags = NETTXF_more_data;
620 req->size = 550;
623 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
625 req->flags = NETTXF_more_data;
626 req->size = 100;
629 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
631 req->flags = 0;
632 req->size = 50;
642 XNB_ASSERT(RING_GET_REQUEST(&xnb_unit_pvt.txb, pkt.cdr + 1) == req);
676 struct netif_tx_request *req;
679 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
681 req->size = 1000;
682 req->flags = 0;
696 XNB_ASSERT(rsp->id == req->id);
708 struct netif_tx_request *req;
712 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
714 req->size = 1000;
715 req->flags = NETTXF_extra_info;
716 req->id = 69;
737 XNB_ASSERT(rsp->id == req->id);
753 struct netif_tx_request *req;
757 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
759 req->size = 1000;
760 req->flags = NETTXF_extra_info | NETTXF_more_data;
761 req->id = 254;
770 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
772 req->size = 300;
773 req->flags = NETTXF_more_data;
774 req->id = 1034;
777 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
779 req->size = 400;
780 req->flags = 0;
781 req->id = 34;
828 struct netif_tx_request *req;
832 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
834 req->size = 1000;
835 req->flags = NETTXF_extra_info;
836 req->id = 69;
858 XNB_ASSERT(rsp->id == req->id);
874 struct netif_tx_request *req;
877 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
879 req->size = 1000;
880 req->flags = 0;
894 XNB_ASSERT(rsp->id == req->id);
906 struct netif_tx_request *req;
924 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
926 req->flags = NETTXF_more_data;
927 req->size = 550;
928 req->id = 1;
931 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
933 req->flags = NETTXF_more_data;
934 req->size = 100;
935 req->id = 2;
938 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
940 req->flags = 0;
941 req->size = 50;
942 req->id = 3;
956 XNB_ASSERT(rsp->id == req->id);
971 struct netif_tx_request *req;
973 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
975 req->flags = flags;
976 req->size = size;
1132 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1134 req->flags = 0;
1135 req->size = size;
1136 req->gref = 7;
1137 req->offset = 17;
1151 XNB_ASSERT(xnb_unit_pvt.gnttab[0].source.offset == req->offset);
1172 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1174 req->flags = NETTXF_more_data;
1175 req->size = 1900;
1176 req->gref = 7;
1177 req->offset = 0;
1180 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1182 req->flags = 0;
1183 req->size = 500;
1184 req->gref = 8;
1185 req->offset = 0;
1218 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1220 req->flags = 0;
1221 req->size = data_this_transaction;
1222 req->gref = 8;
1223 req->offset = 0;
1293 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1295 req->flags = 0;
1296 req->size = size;
1297 req->gref = 7;
1298 req->offset = 17;
1329 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1331 req->flags = NETTXF_more_data;
1332 req->size = 1900;
1333 req->gref = 7;
1334 req->offset = 0;
1337 req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1339 req->flags = 0;
1340 req->size = 500;
1341 req->gref = 8;
1342 req->offset = 0;
1377 struct netif_tx_request *req = RING_GET_REQUEST(&xnb_unit_pvt.txf,
1379 req->flags = 0;
1380 req->size = data_this_transaction;
1381 req->gref = 8;
1382 req->offset = 0;
1671 struct netif_rx_request *req;
1680 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf,
1682 req->gref = 7;
1715 struct netif_rx_request *req;
1726 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf,
1728 req->gref = i;
1729 req->id = 5;
1788 struct netif_rx_request *req;
1798 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start);
1799 req->gref = 7;
1814 XNB_ASSERT(rsp->id == req->id);
1837 struct netif_rx_request *req;
1853 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start);
1854 req->id = id;
1855 req->gref = gref;
1856 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start + 1);
1857 req->id = id + 1;
1858 req->gref = gref + 1;
1906 struct netif_rx_request *req;
1923 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start);
1924 req->gref = gref1;
1925 req->id = id1;
1926 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start + 1);
1927 req->gref = gref2;
1928 req->id = id2;
1970 struct netif_rx_request *req;
1988 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start);
1989 req->gref = gref;
1990 req->id = id;
2030 struct netif_rx_request *req;
2040 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start);
2041 req->gref = gref;
2042 req->id = id;
2047 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start + 1);
2048 req->gref = canary;
2049 req->id = canary;
2064 req = RING_GET_REQUEST(&xnb_unit_pvt.rxf, start + 1);
2065 XNB_ASSERT(req->gref == canary);
2066 XNB_ASSERT(req->id == canary);