tag | line | file | source code |
request | 35 | kernel/blk_drv/blk.h | struct request * next; |
request | 50 | kernel/blk_drv/blk.h | struct request * current_request; |
request | 68 | kernel/blk_drv/blk.h | extern struct request request[NR_REQUEST]; |
request | 211 | kernel/blk_drv/blk.h | struct request * req; |
request | 25 | kernel/blk_drv/ll_rw_blk.c | struct request request[NR_REQUEST]; |
request | 92 | kernel/blk_drv/ll_rw_blk.c | static void add_request(struct blk_dev_struct * dev, struct request * req) |
request | 94 | kernel/blk_drv/ll_rw_blk.c | struct request * tmp; |
request | 127 | kernel/blk_drv/ll_rw_blk.c | struct request * req; |
request | 186 | kernel/blk_drv/ll_rw_blk.c | req = request+NR_REQUEST; |
request | 188 | kernel/blk_drv/ll_rw_blk.c | req = request+(NR_REQUEST/2); |
request | 190 | kernel/blk_drv/ll_rw_blk.c | while (--req >= request) |
request | 222 | kernel/blk_drv/ll_rw_blk.c | struct request * req; |
request | 237 | kernel/blk_drv/ll_rw_blk.c | req = request+NR_REQUEST; |
request | 238 | kernel/blk_drv/ll_rw_blk.c | while (--req >= request) |
request | 241 | kernel/blk_drv/ll_rw_blk.c | if (req < request) { |
request | 270 | kernel/blk_drv/ll_rw_blk.c | struct request plug; |
request | 332 | kernel/blk_drv/ll_rw_blk.c | struct request * req; |
request | 352 | kernel/blk_drv/ll_rw_blk.c | req = request+NR_REQUEST; |
request | 353 | kernel/blk_drv/ll_rw_blk.c | while (--req >= request) |
request | 356 | kernel/blk_drv/ll_rw_blk.c | if (req < request) { |
request | 382 | kernel/blk_drv/ll_rw_blk.c | request[i].dev = -1; |
request | 383 | kernel/blk_drv/ll_rw_blk.c | request[i].next = NULL; |
request | 148 | kernel/blk_drv/scsi/scsi.c | SCpnt->request.dev = 0xfffe; |
request | 194 | kernel/blk_drv/scsi/scsi.c | SCmd.request.dev = 0xffff; /* Mark not busy */ |
request | 204 | kernel/blk_drv/scsi/scsi.c | while (SCmd.request.dev != 0xfffe); |
request | 230 | kernel/blk_drv/scsi/scsi.c | SCmd.request.dev = 0xffff; /* Mark not busy */ |
request | 237 | kernel/blk_drv/scsi/scsi.c | while (SCmd.request.dev != 0xfffe); |
request | 327 | kernel/blk_drv/scsi/scsi.c | SCmd.request.dev = 0xffff; /* Mark not busy */ |
request | 334 | kernel/blk_drv/scsi/scsi.c | while (SCmd.request.dev != 0xfffe); |
request | 416 | kernel/blk_drv/scsi/scsi.c | Scsi_Cmnd * request_queueable (struct request * req, int index) |
request | 432 | kernel/blk_drv/scsi/scsi.c | if(SCpnt->request.dev < 0) break; |
request | 442 | kernel/blk_drv/scsi/scsi.c | memcpy(&SCpnt->request, req, sizeof(struct request)); |
request | 445 | kernel/blk_drv/scsi/scsi.c | SCpnt->request.dev = 0xffff; /* Busy, but no request */ |
request | 446 | kernel/blk_drv/scsi/scsi.c | SCpnt->request.waiting = NULL; /* And no one is waiting for the device either */ |
request | 464 | kernel/blk_drv/scsi/scsi.c | Scsi_Cmnd * allocate_device (struct request ** reqp, int index, int wait) |
request | 467 | kernel/blk_drv/scsi/scsi.c | struct request * req = NULL; |
request | 487 | kernel/blk_drv/scsi/scsi.c | if(SCpnt->request.dev < 0) break; |
request | 497 | kernel/blk_drv/scsi/scsi.c | if (!SCpnt || SCpnt->request.dev >= 0) /* Might have changed */ |
request | 507 | kernel/blk_drv/scsi/scsi.c | (SCwait->request.dev > 0)); |
request | 510 | kernel/blk_drv/scsi/scsi.c | memcpy(&SCpnt->request, req, sizeof(struct request)); |
request | 514 | kernel/blk_drv/scsi/scsi.c | SCpnt->request.dev = 0xffff; /* Busy */ |
request | 515 | kernel/blk_drv/scsi/scsi.c | SCpnt->request.waiting = NULL; /* And no one is waiting for this to complete */ |
request | 1135 | kernel/blk_drv/scsi/scsi.c | if ((SCpnt1->request.dev > 0) && |
request | 1395 | kernel/blk_drv/scsi/scsi.c | SCpnt->request.dev = -1; /* Mark not busy */ |
request | 369 | kernel/blk_drv/scsi/scsi.h | struct request request; /* A copy of the command we are working on*/ |
request | 426 | kernel/blk_drv/scsi/scsi.h | extern Scsi_Cmnd * allocate_device(struct request **, int, int); |
request | 428 | kernel/blk_drv/scsi/scsi.h | extern Scsi_Cmnd * request_queueable(struct request *, int); |
request | 449 | kernel/blk_drv/scsi/scsi.h | struct request * req; |
request | 453 | kernel/blk_drv/scsi/scsi.h | req = &SCpnt->request; |
request | 49 | kernel/blk_drv/scsi/scsi_debug.c | if ((SCpnt->request.dev & 0xf) != 0) start = starts[(SCpnt->request.dev & 0xf) - 1]; \ |
request | 55 | kernel/blk_drv/scsi/scsi_debug.c | if (bh->b_dev != SCpnt->request.dev) panic ("Bad bh target");\ |
request | 61 | kernel/blk_drv/scsi/scsi_debug.c | if ((SCpnt->request.dev & 0xfff0) != ((target + NR_REAL) << 4) +(MAJOR_NR << 8)){ \ |
request | 62 | kernel/blk_drv/scsi/scsi_debug.c | printk("Dev #s %x %x ",SCpnt->request.dev, target); \ |
request | 70 | kernel/blk_drv/scsi/scsi_debug.c | if ((SCpnt->request.dev & 0xf) > npart) panic ("Bad partition"); \ |
request | 71 | kernel/blk_drv/scsi/scsi_debug.c | if ((SCpnt->request.dev & 0xf) != 0) start = starts[(SCpnt->request.dev & 0xf) - 1]; \ |
request | 72 | kernel/blk_drv/scsi/scsi_debug.c | if (SCpnt->request.cmd != RW) panic ("Wrong operation"); \ |
request | 73 | kernel/blk_drv/scsi/scsi_debug.c | if (SCpnt->request.sector + start != block) panic("Wrong block."); \ |
request | 74 | kernel/blk_drv/scsi/scsi_debug.c | if (SCpnt->request.current_nr_sectors != 2 && (!SCpnt->use_sg)) panic ("Wrong # blocks"); \ |
request | 75 | kernel/blk_drv/scsi/scsi_debug.c | if (SCpnt->request.bh){ \ |
request | 76 | kernel/blk_drv/scsi/scsi_debug.c | if (SCpnt->request.bh->b_size != 1024) panic ("Wrong bh size"); \ |
request | 77 | kernel/blk_drv/scsi/scsi_debug.c | if ((SCpnt->request.bh->b_blocknr << 1) + start != block) \ |
request | 78 | kernel/blk_drv/scsi/scsi_debug.c | { printk("Wrong bh block# %d %d ",SCpnt->request.bh->b_blocknr, block); \ |
request | 80 | kernel/blk_drv/scsi/scsi_debug.c | if (SCpnt->request.bh->b_dev != SCpnt->request.dev) panic ("Bad bh target");\ |
request | 108 | kernel/blk_drv/scsi/scsi_debug.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
request | 110 | kernel/blk_drv/scsi/scsi_debug.c | lpnt = (int *) SCpnt->request.buffer; |
request | 203 | kernel/blk_drv/scsi/scsi_debug.c | if(NR_REAL < 0) NR_REAL = (SCpnt->request.dev >> 4) & 0x0f; |
request | 222 | kernel/blk_drv/scsi/scsi_debug.c | printk("(r%d)",SCpnt->request.nr_sectors); |
request | 229 | kernel/blk_drv/scsi/scsi_debug.c | bh = SCpnt->request.bh; |
request | 252 | kernel/blk_drv/scsi/scsi_debug.c | if (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors, |
request | 253 | kernel/blk_drv/scsi/scsi_debug.c | SCpnt->request.current_nr_sectors); |
request | 304 | kernel/blk_drv/scsi/scsi_debug.c | printk("(w%d)",SCpnt->request.nr_sectors); |
request | 306 | kernel/blk_drv/scsi/scsi_debug.c | if ((bufflen >> 9) != SCpnt->request.nr_sectors) |
request | 75 | kernel/blk_drv/scsi/scsi_ioctl.c | struct request * req; |
request | 78 | kernel/blk_drv/scsi/scsi_ioctl.c | req = &SCpnt->request; |
request | 101 | kernel/blk_drv/scsi/scsi_ioctl.c | if (SCpnt->request.dev != 0xfffe){ |
request | 102 | kernel/blk_drv/scsi/scsi_ioctl.c | SCpnt->request.waiting = current; |
request | 104 | kernel/blk_drv/scsi/scsi_ioctl.c | while (SCpnt->request.dev != 0xfffe) schedule(); |
request | 139 | kernel/blk_drv/scsi/scsi_ioctl.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 186 | kernel/blk_drv/scsi/scsi_ioctl.c | if (SCpnt->request.dev != 0xfffe){ |
request | 187 | kernel/blk_drv/scsi/scsi_ioctl.c | SCpnt->request.waiting = current; |
request | 189 | kernel/blk_drv/scsi/scsi_ioctl.c | while (SCpnt->request.dev != 0xfffe) schedule(); |
request | 197 | kernel/blk_drv/scsi/scsi_ioctl.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 144 | kernel/blk_drv/scsi/sd.c | printk("sd%d : rw_intr(%d, %x)\n", MINOR(SCpnt->request.dev), SCpnt->host, result); |
request | 156 | kernel/blk_drv/scsi/sd.c | printk("sd%d : %d sectors remain.\n", MINOR(SCpnt->request.dev), SCpnt->request.nr_sectors); |
request | 168 | kernel/blk_drv/scsi/sd.c | if (SCpnt->request.cmd == READ) |
request | 175 | kernel/blk_drv/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) { |
request | 177 | kernel/blk_drv/scsi/sd.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
request | 180 | kernel/blk_drv/scsi/sd.c | if (SCpnt->request.cmd == READ) |
request | 181 | kernel/blk_drv/scsi/sd.c | memcpy(SCpnt->request.buffer, SCpnt->buffer, |
request | 191 | kernel/blk_drv/scsi/sd.c | if (SCpnt->request.nr_sectors > this_count) |
request | 193 | kernel/blk_drv/scsi/sd.c | SCpnt->request.errors = 0; |
request | 195 | kernel/blk_drv/scsi/sd.c | if (!SCpnt->request.bh) |
request | 199 | kernel/blk_drv/scsi/sd.c | MINOR(SCpnt->request.dev)); |
request | 206 | kernel/blk_drv/scsi/sd.c | SCpnt->request.sector, this_count); |
request | 222 | kernel/blk_drv/scsi/sd.c | printk("err: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
request | 232 | kernel/blk_drv/scsi/sd.c | printk("nosgerr: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
request | 235 | kernel/blk_drv/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) |
request | 257 | kernel/blk_drv/scsi/sd.c | if rscsi_disks[DEVICE_NR(SCpnt->request.dev)].remap |
request | 271 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->changed = 1; |
request | 287 | kernel/blk_drv/scsi/sd.c | if (rscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten) { |
request | 288 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten = 0; |
request | 297 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->host_no, |
request | 298 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->id, |
request | 299 | kernel/blk_drv/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->lun, result); |
request | 307 | kernel/blk_drv/scsi/sd.c | end_scsi_request(SCpnt, 0, SCpnt->request.current_nr_sectors); |
request | 322 | kernel/blk_drv/scsi/sd.c | struct request * req = NULL; |
request | 358 | kernel/blk_drv/scsi/sd.c | struct request *req1; |
request | 395 | kernel/blk_drv/scsi/sd.c | if(SCpnt->request.dev <= 0) |
request | 398 | kernel/blk_drv/scsi/sd.c | dev = MINOR(SCpnt->request.dev); |
request | 399 | kernel/blk_drv/scsi/sd.c | block = SCpnt->request.sector; |
request | 406 | kernel/blk_drv/scsi/sd.c | if (dev >= (NR_SD << 4) || block + SCpnt->request.nr_sectors > sd[dev].nr_sects) |
request | 408 | kernel/blk_drv/scsi/sd.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 421 | kernel/blk_drv/scsi/sd.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 426 | kernel/blk_drv/scsi/sd.c | printk("sd%d : real dev = /dev/sd%d, block = %d\n", MINOR(SCpnt->request.dev), dev, block); |
request | 429 | kernel/blk_drv/scsi/sd.c | switch (SCpnt->request.cmd) |
request | 434 | kernel/blk_drv/scsi/sd.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 443 | kernel/blk_drv/scsi/sd.c | printk ("Unknown sd command %d\n", SCpnt->request.cmd); |
request | 449 | kernel/blk_drv/scsi/sd.c | if (!SCpnt->request.bh || |
request | 450 | kernel/blk_drv/scsi/sd.c | (SCpnt->request.nr_sectors == SCpnt->request.current_nr_sectors)) { |
request | 453 | kernel/blk_drv/scsi/sd.c | this_count = SCpnt->request.nr_sectors; |
request | 454 | kernel/blk_drv/scsi/sd.c | buff = SCpnt->request.buffer; |
request | 473 | kernel/blk_drv/scsi/sd.c | this_count = SCpnt->request.current_nr_sectors; |
request | 474 | kernel/blk_drv/scsi/sd.c | buff = SCpnt->request.buffer; |
request | 483 | kernel/blk_drv/scsi/sd.c | bh = SCpnt->request.bh; |
request | 502 | kernel/blk_drv/scsi/sd.c | this_count = SCpnt->request.current_nr_sectors; |
request | 503 | kernel/blk_drv/scsi/sd.c | buff = SCpnt->request.buffer; |
request | 507 | kernel/blk_drv/scsi/sd.c | bh = SCpnt->request.bh; |
request | 508 | kernel/blk_drv/scsi/sd.c | for(count = 0, bh = SCpnt->request.bh; count < SCpnt->use_sg; |
request | 535 | kernel/blk_drv/scsi/sd.c | this_count = SCpnt->request.current_nr_sectors; |
request | 536 | kernel/blk_drv/scsi/sd.c | buff = SCpnt->request.buffer; |
request | 542 | kernel/blk_drv/scsi/sd.c | if (SCpnt->request.cmd == WRITE) |
request | 557 | kernel/blk_drv/scsi/sd.c | if (SCpnt->request.cmd == WRITE) |
request | 558 | kernel/blk_drv/scsi/sd.c | memcpy(buff, (char *)SCpnt->request.buffer, this_count << 9); |
request | 563 | kernel/blk_drv/scsi/sd.c | printk("sd%d : %s %d/%d 512 byte blocks.\n", MINOR(SCpnt->request.dev), |
request | 564 | kernel/blk_drv/scsi/sd.c | (SCpnt->request.cmd == WRITE) ? "writing" : "reading", |
request | 565 | kernel/blk_drv/scsi/sd.c | this_count, SCpnt->request.nr_sectors); |
request | 656 | kernel/blk_drv/scsi/sd.c | struct request * req; |
request | 659 | kernel/blk_drv/scsi/sd.c | req = &SCpnt->request; |
request | 689 | kernel/blk_drv/scsi/sd.c | SCpnt->request.dev = 0xffff; /* Mark as really busy again */ |
request | 699 | kernel/blk_drv/scsi/sd.c | while(SCpnt->request.dev != 0xfffe); |
request | 701 | kernel/blk_drv/scsi/sd.c | if (SCpnt->request.dev != 0xfffe){ |
request | 702 | kernel/blk_drv/scsi/sd.c | SCpnt->request.waiting = current; |
request | 704 | kernel/blk_drv/scsi/sd.c | while (SCpnt->request.dev != 0xfffe) schedule(); |
request | 712 | kernel/blk_drv/scsi/sd.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 115 | kernel/blk_drv/scsi/sr.c | printk("sr.c done: %x %x\n",result, SCpnt->request.bh->b_data); |
request | 120 | kernel/blk_drv/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
request | 123 | kernel/blk_drv/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
request | 124 | kernel/blk_drv/scsi/sr.c | memcpy((char *)SCpnt->request.buffer, |
request | 132 | kernel/blk_drv/scsi/sr.c | SCpnt->request.nr_sectors > this_count && |
request | 133 | kernel/blk_drv/scsi/sr.c | SCpnt->request.bh && |
request | 134 | kernel/blk_drv/scsi/sr.c | SCpnt->request.bh->b_reqnext && |
request | 135 | kernel/blk_drv/scsi/sr.c | SCpnt->request.bh->b_reqnext->b_size == 1024) { |
request | 136 | kernel/blk_drv/scsi/sr.c | memcpy((char *)SCpnt->request.bh->b_reqnext->b_data, |
request | 157 | kernel/blk_drv/scsi/sr.c | if(SCpnt->request.sector % 4) this_count -= 2; |
request | 159 | kernel/blk_drv/scsi/sr.c | if(this_count > SCpnt->request.nr_sectors) |
request | 164 | kernel/blk_drv/scsi/sr.c | printk("(%x %x %x) ",SCpnt->request.bh, SCpnt->request.nr_sectors, |
request | 167 | kernel/blk_drv/scsi/sr.c | if (SCpnt->request.nr_sectors > this_count) |
request | 169 | kernel/blk_drv/scsi/sr.c | SCpnt->request.errors = 0; |
request | 170 | kernel/blk_drv/scsi/sr.c | if (!SCpnt->request.bh) |
request | 173 | kernel/blk_drv/scsi/sr.c | SCpnt->request.sector, this_count); |
request | 197 | kernel/blk_drv/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
request | 207 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->changed = 1; |
request | 216 | kernel/blk_drv/scsi/sr.c | if (scsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten) { |
request | 217 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten = 0; |
request | 241 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->host_no, |
request | 242 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->id, |
request | 243 | kernel/blk_drv/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->lun, |
request | 252 | kernel/blk_drv/scsi/sr.c | end_scsi_request(SCpnt, 0, SCpnt->request.current_nr_sectors); |
request | 278 | kernel/blk_drv/scsi/sr.c | struct request * req = NULL; |
request | 305 | kernel/blk_drv/scsi/sr.c | struct request *req1; |
request | 344 | kernel/blk_drv/scsi/sr.c | if(SCpnt->request.dev <= 0) |
request | 347 | kernel/blk_drv/scsi/sr.c | dev = MINOR(SCpnt->request.dev); |
request | 348 | kernel/blk_drv/scsi/sr.c | block = SCpnt->request.sector; |
request | 355 | kernel/blk_drv/scsi/sr.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 363 | kernel/blk_drv/scsi/sr.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 374 | kernel/blk_drv/scsi/sr.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 379 | kernel/blk_drv/scsi/sr.c | switch (SCpnt->request.cmd) |
request | 382 | kernel/blk_drv/scsi/sr.c | end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 389 | kernel/blk_drv/scsi/sr.c | printk ("Unknown sr command %d\n", SCpnt->request.cmd); |
request | 419 | kernel/blk_drv/scsi/sr.c | bh = SCpnt->request.bh; |
request | 425 | kernel/blk_drv/scsi/sr.c | this_count = SCpnt->request.sector % 4; |
request | 457 | kernel/blk_drv/scsi/sr.c | bh = SCpnt->request.bh; |
request | 458 | kernel/blk_drv/scsi/sr.c | if(SCpnt->request.sector % 4) { |
request | 459 | kernel/blk_drv/scsi/sr.c | sgpnt[count].length = (SCpnt->request.sector % 4) << 9; |
request | 466 | kernel/blk_drv/scsi/sr.c | for(bh = SCpnt->request.bh; count < SCpnt->use_sg; |
request | 509 | kernel/blk_drv/scsi/sr.c | printk("SG: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector, |
request | 511 | kernel/blk_drv/scsi/sr.c | SCpnt->request.current_nr_sectors, |
request | 512 | kernel/blk_drv/scsi/sr.c | SCpnt->request.nr_sectors); |
request | 524 | kernel/blk_drv/scsi/sr.c | if (!SCpnt->request.bh) |
request | 525 | kernel/blk_drv/scsi/sr.c | this_count = SCpnt->request.nr_sectors; |
request | 527 | kernel/blk_drv/scsi/sr.c | this_count = (SCpnt->request.bh->b_size >> 9); |
request | 543 | kernel/blk_drv/scsi/sr.c | buffer = SCpnt->request.buffer; |
request | 614 | kernel/blk_drv/scsi/sr.c | struct request * req; |
request | 617 | kernel/blk_drv/scsi/sr.c | req = &SCpnt->request; |
request | 655 | kernel/blk_drv/scsi/sr.c | SCpnt->request.dev = 0xffff; /* Mark as really busy */ |
request | 663 | kernel/blk_drv/scsi/sr.c | while(SCpnt->request.dev != 0xfffe); |
request | 665 | kernel/blk_drv/scsi/sr.c | if (SCpnt->request.dev != 0xfffe){ |
request | 666 | kernel/blk_drv/scsi/sr.c | SCpnt->request.waiting = current; |
request | 668 | kernel/blk_drv/scsi/sr.c | while (SCpnt->request.dev != 0xfffe) schedule(); |
request | 676 | kernel/blk_drv/scsi/sr.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 22 | kernel/blk_drv/scsi/sr_ioctl.c | struct request * req; |
request | 25 | kernel/blk_drv/scsi/sr_ioctl.c | req = &SCpnt->request; |
request | 51 | kernel/blk_drv/scsi/sr_ioctl.c | if (SCpnt->request.dev != 0xfffe){ |
request | 52 | kernel/blk_drv/scsi/sr_ioctl.c | SCpnt->request.waiting = current; |
request | 54 | kernel/blk_drv/scsi/sr_ioctl.c | while (SCpnt->request.dev != 0xfffe) schedule(); |
request | 86 | kernel/blk_drv/scsi/sr_ioctl.c | SCpnt->request.dev = -1; /* Deallocate */ |
request | 96 | kernel/blk_drv/scsi/st.c | if ((st_nbr = SCpnt->request.dev) < NR_ST && st_nbr >= 0) { |
request | 104 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; |
request | 106 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = 0xffff; |
request | 228 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = dev; |
request | 233 | kernel/blk_drv/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &scsi_tapes[dev].waiting ); |
request | 246 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 331 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = dev; |
request | 336 | kernel/blk_drv/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &scsi_tapes[dev].waiting ); |
request | 346 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = dev; |
request | 351 | kernel/blk_drv/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &scsi_tapes[dev].waiting ); |
request | 365 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 372 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = dev; |
request | 377 | kernel/blk_drv/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &scsi_tapes[dev].waiting ); |
request | 400 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = dev; |
request | 405 | kernel/blk_drv/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &scsi_tapes[dev].waiting ); |
request | 415 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 507 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = dev; |
request | 512 | kernel/blk_drv/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &scsi_tapes[dev].waiting ); |
request | 520 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 612 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = dev; |
request | 618 | kernel/blk_drv/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &scsi_tapes[dev].waiting ); |
request | 630 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 653 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; |
request | 670 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = dev; |
request | 678 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 735 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = dev; |
request | 741 | kernel/blk_drv/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &scsi_tapes[dev].waiting ); |
request | 763 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 793 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; |
request | 802 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 830 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 840 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 1047 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = dev; |
request | 1052 | kernel/blk_drv/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &scsi_tapes[dev].waiting ); |
request | 1054 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 1165 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = dev; |
request | 1171 | kernel/blk_drv/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &scsi_tapes[dev].waiting ); |
request | 1194 | kernel/blk_drv/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 220 | kernel/ptrace.c | int sys_ptrace(long request, long pid, long addr, long data) |
request | 224 | kernel/ptrace.c | if (request == PTRACE_TRACEME) { |
request | 236 | kernel/ptrace.c | if (request == PTRACE_ATTACH) { |
request | 263 | kernel/ptrace.c | if (child->state != TASK_STOPPED && request != PTRACE_DETACH) |
request | 268 | kernel/ptrace.c | switch (request) { |
request | 320 | kernel/ptrace.c | if (request == PTRACE_SYSCALL) |