Lines Matching refs:req
85 struct req {
102 struct req *req; /* buffer for requests */
124 reqsiz = (ntrec + 1) * sizeof(struct req);
146 workers[i].req = (struct req *)workers[i].tblock - ntrec - 1;
160 wp->req[trecno].dblk = (ufs2_daddr_t)0;
161 wp->req[trecno].count = 1;
181 wp->req[trecno].dblk = dblkno;
182 wp->req[trecno].count = avail;
228 int siz = (char *)nextblock - (char *)wp->req;
230 wp->req[trecno].count = 0; /* Sentinel */
232 if (atomic_write(wp->fd, (const void *)wp->req, siz) != siz)
391 struct req *p, *q, *prev;
406 q = &twp->req[1];
414 for (p = wp->req; p->count > 0; p += p->count) {
429 q = &twp->req[0];
471 wp->req[0] = *q;
780 while ((nread = atomic_read(cmd, (void *)wp->req, reqsiz)) == reqsiz) {
781 struct req *p = wp->req;