tag | line | file | source code |
request | 544 | arch/alpha/kernel/ptrace.c | asmlinkage long sys_ptrace(long request, long pid, long addr, long data, int a4, int a5, |
request | 553 | arch/alpha/kernel/ptrace.c | DBG(DBG_MEM, ("request=%ld pid=%ld addr=0x%lx data=0x%lx\n",request,pid,addr,data)); |
request | 555 | arch/alpha/kernel/ptrace.c | if (request == PTRACE_TRACEME) { |
request | 573 | arch/alpha/kernel/ptrace.c | if (request == PTRACE_ATTACH) { |
request | 607 | arch/alpha/kernel/ptrace.c | if (request != PTRACE_KILL) { |
request | 618 | arch/alpha/kernel/ptrace.c | switch (request) { |
request | 693 | arch/alpha/kernel/ptrace.c | if (request == PTRACE_SYSCALL) |
request | 297 | arch/i386/kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
request | 305 | arch/i386/kernel/ptrace.c | if (request == PTRACE_TRACEME) { |
request | 317 | arch/i386/kernel/ptrace.c | if (request == PTRACE_ATTACH) { |
request | 341 | arch/i386/kernel/ptrace.c | if (request != PTRACE_KILL) |
request | 347 | arch/i386/kernel/ptrace.c | switch (request) { |
request | 462 | arch/i386/kernel/ptrace.c | if (request == PTRACE_SYSCALL) |
request | 277 | arch/mips/kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
request | 289 | arch/mips/kernel/ptrace.c | if (request == PTRACE_TRACEME) { |
request | 301 | arch/mips/kernel/ptrace.c | if (request == PTRACE_ATTACH) { |
request | 325 | arch/mips/kernel/ptrace.c | if (request != PTRACE_KILL) |
request | 331 | arch/mips/kernel/ptrace.c | switch (request) { |
request | 446 | arch/mips/kernel/ptrace.c | if (request == PTRACE_SYSCALL) |
request | 340 | drivers/block/blk.h | struct request *req = ide_cur_rq[HWIF]; |
request | 343 | drivers/block/blk.h | struct request *req = CURRENT; |
request | 256 | drivers/block/hd.c | static struct request WCURRENT; |
request | 209 | drivers/block/ide-cd.c | static struct request request_sense_request[2]; |
request | 448 | drivers/block/ide-cd.c | static void restore_request (struct request *rq) |
request | 463 | drivers/block/ide-cd.c | struct request *rq; |
request | 523 | drivers/block/ide-cd.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
request | 559 | drivers/block/ide-cd.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
request | 838 | drivers/block/ide-cd.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
request | 951 | drivers/block/ide-cd.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
request | 1013 | drivers/block/ide-cd.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
request | 1092 | drivers/block/ide-cd.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
request | 1135 | drivers/block/ide-cd.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
request | 1248 | drivers/block/ide-cd.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
request | 1264 | drivers/block/ide-cd.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
request | 1292 | drivers/block/ide-cd.c | struct request req, **p, **pfirst; |
request | 1365 | drivers/block/ide-cd.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
request | 346 | drivers/block/ide.c | static struct request *ide_cur_rq [2] = {NULL,NULL}; /* current request */ |
request | 347 | drivers/block/ide.c | static struct request ide_write_rq [2]; /* copy of *ide_cur_rq for WRITEs */ |
request | 580 | drivers/block/ide.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
request | 674 | drivers/block/ide.c | struct request *rq; |
request | 721 | drivers/block/ide.c | struct request *rq; |
request | 764 | drivers/block/ide.c | struct request *rq = ide_cur_rq[DEV_HWIF]; |
request | 796 | drivers/block/ide.c | struct request *rq = &ide_write_rq[DEV_HWIF]; |
request | 831 | drivers/block/ide.c | struct request *rq = &ide_write_rq[DEV_HWIF]; |
request | 1025 | drivers/block/ide.c | static inline int do_rw_disk (ide_dev_t *dev, struct request *rq, unsigned long block) |
request | 1115 | drivers/block/ide.c | struct request *rq; |
request | 1456 | drivers/block/ide.c | struct request rq, *cur_rq; |
request | 28 | drivers/block/ll_rw_blk.c | static struct request all_requests[NR_REQUEST]; |
request | 107 | drivers/block/ll_rw_blk.c | static void plug_device(struct blk_dev_struct * dev, struct request * plug) |
request | 126 | drivers/block/ll_rw_blk.c | struct request * req; |
request | 144 | drivers/block/ll_rw_blk.c | static inline struct request * get_request(int n, int dev) |
request | 146 | drivers/block/ll_rw_blk.c | static struct request *prev_found = NULL, *prev_limit = NULL; |
request | 147 | drivers/block/ll_rw_blk.c | register struct request *req, *limit; |
request | 173 | drivers/block/ll_rw_blk.c | static struct request * __get_request_wait(int n, int dev) |
request | 175 | drivers/block/ll_rw_blk.c | register struct request *req; |
request | 194 | drivers/block/ll_rw_blk.c | static inline struct request * get_request_wait(int n, int dev) |
request | 196 | drivers/block/ll_rw_blk.c | register struct request *req; |
request | 236 | drivers/block/ll_rw_blk.c | static void add_request(struct blk_dev_struct * dev, struct request * req) |
request | 238 | drivers/block/ll_rw_blk.c | struct request * tmp; |
request | 284 | drivers/block/ll_rw_blk.c | struct request * req; |
request | 411 | drivers/block/ll_rw_blk.c | struct request * req; |
request | 448 | drivers/block/ll_rw_blk.c | struct request plug; |
request | 525 | drivers/block/ll_rw_blk.c | struct request * req[8]; |
request | 578 | drivers/block/ll_rw_blk.c | struct request * req; |
request | 1139 | drivers/scsi/aha1542.c | printk("Timed out command pending for %4.4x\n", SCpnt->request.dev); |
request | 1145 | drivers/scsi/aha1542.c | printk("Other pending command %4.4x\n", SCpnt->request.dev); |
request | 1399 | drivers/scsi/buslogic.c | scpnt->request.dev); |
request | 1406 | drivers/scsi/buslogic.c | scpnt->request.dev); |
request | 385 | drivers/scsi/constants.c | int dev = SCpnt->request.dev; |
request | 106 | drivers/scsi/eata_dma.c | scmd->request.dev = 0xfffe; |
request | 108 | drivers/scsi/eata_dma.c | if (scmd->request.sem != NULL) |
request | 109 | drivers/scsi/eata_dma.c | up(scmd->request.sem); |
request | 183 | drivers/scsi/eata_dma_proc.c | scmd.request.sem = NULL; |
request | 184 | drivers/scsi/eata_dma_proc.c | scmd.request.dev = 0xffff; /* Mark busy */ |
request | 193 | drivers/scsi/eata_dma_proc.c | while (scmd.request.dev != 0xfffe) |
request | 195 | drivers/scsi/eata_dma_proc.c | } else if (scmd.request.dev != 0xfffe) { |
request | 198 | drivers/scsi/eata_dma_proc.c | scmd.request.sem = &sem; |
request | 202 | drivers/scsi/eata_dma_proc.c | while (scmd.request.dev != 0xfffe) schedule(); |
request | 322 | drivers/scsi/eata_dma_proc.c | scmd.request.sem = NULL; |
request | 323 | drivers/scsi/eata_dma_proc.c | scmd.request.dev = 0xffff; /* Mark busy */ |
request | 332 | drivers/scsi/eata_dma_proc.c | while (scmd.request.dev != 0xfffe) |
request | 334 | drivers/scsi/eata_dma_proc.c | else if (scmd.request.dev != 0xfffe) { |
request | 337 | drivers/scsi/eata_dma_proc.c | scmd.request.sem = &sem; |
request | 341 | drivers/scsi/eata_dma_proc.c | while (scmd.request.dev != 0xfffe) schedule(); |
request | 191 | drivers/scsi/qlogic.c | static int ql_pdma(int phase, char *request, int reqlen) |
request | 200 | drivers/scsi/qlogic.c | insl( qbase + 4, request, 32 ); |
request | 202 | drivers/scsi/qlogic.c | request += 128; |
request | 206 | drivers/scsi/qlogic.c | insl( qbase + 4, request, 21 ); |
request | 208 | drivers/scsi/qlogic.c | request += 84; |
request | 211 | drivers/scsi/qlogic.c | insl( qbase + 4, request, 11 ); |
request | 213 | drivers/scsi/qlogic.c | request += 44; |
request | 223 | drivers/scsi/qlogic.c | *request++ = inb(qbase + 4); |
request | 235 | drivers/scsi/qlogic.c | outsl(qbase + 4, request, 32 ); |
request | 237 | drivers/scsi/qlogic.c | request += 128; |
request | 241 | drivers/scsi/qlogic.c | outsl( qbase + 4, request, 21 ); |
request | 243 | drivers/scsi/qlogic.c | request += 84; |
request | 246 | drivers/scsi/qlogic.c | outsl( qbase + 4, request, 10 ); |
request | 248 | drivers/scsi/qlogic.c | request += 40; |
request | 257 | drivers/scsi/qlogic.c | outb(*request++, qbase + 4); |
request | 336 | drivers/scsi/scsi.c | SCpnt->request.dev = 0xfffe; |
request | 338 | drivers/scsi/scsi.c | if (SCpnt->request.sem != NULL) |
request | 339 | drivers/scsi/scsi.c | up(SCpnt->request.sem); |
request | 446 | drivers/scsi/scsi.c | SCpnt->request.sem = NULL; |
request | 448 | drivers/scsi/scsi.c | SCpnt->request.dev = 0xffff; /* Mark not busy */ |
request | 460 | drivers/scsi/scsi.c | while (SCpnt->request.dev != 0xfffe) |
request | 462 | drivers/scsi/scsi.c | else if (SCpnt->request.dev != 0xfffe) { |
request | 465 | drivers/scsi/scsi.c | SCpnt->request.sem = &sem; |
request | 469 | drivers/scsi/scsi.c | while (SCpnt->request.dev != 0xfffe) schedule(); |
request | 505 | drivers/scsi/scsi.c | SCpnt->request.dev = 0xffff; /* Mark not busy */ |
request | 513 | drivers/scsi/scsi.c | while (SCpnt->request.dev != 0xfffe) |
request | 515 | drivers/scsi/scsi.c | else if (SCpnt->request.dev != 0xfffe) { |
request | 518 | drivers/scsi/scsi.c | SCpnt->request.sem = &sem; |
request | 522 | drivers/scsi/scsi.c | while (SCpnt->request.dev != 0xfffe) schedule(); |
request | 676 | drivers/scsi/scsi.c | SCpnt->request.dev = 0xffff; /* Mark not busy */ |
request | 684 | drivers/scsi/scsi.c | while (SCpnt->request.dev != 0xfffe); |
request | 685 | drivers/scsi/scsi.c | else if (SCpnt->request.dev != 0xfffe) { |
request | 688 | drivers/scsi/scsi.c | SCpnt->request.sem = &sem; |
request | 692 | drivers/scsi/scsi.c | while (SCpnt->request.dev != 0xfffe) |
request | 830 | drivers/scsi/scsi.c | Scsi_Cmnd * request_queueable (struct request * req, Scsi_Device * device) |
request | 856 | drivers/scsi/scsi.c | if(SCpnt->request.dev < 0) break; |
request | 865 | drivers/scsi/scsi.c | && SCpnt->request.dev < 0) |
request | 870 | drivers/scsi/scsi.c | if(SCpnt->request.dev >= 0) { |
request | 889 | drivers/scsi/scsi.c | memcpy(&SCpnt->request, req, sizeof(struct request)); |
request | 906 | drivers/scsi/scsi.c | SCpnt->request.bhtail = bh; |
request | 912 | drivers/scsi/scsi.c | SCpnt->request.nr_sectors -= req->nr_sectors; |
request | 915 | drivers/scsi/scsi.c | SCpnt->request.sem = NULL; /* Wait until whole thing done */ |
request | 921 | drivers/scsi/scsi.c | SCpnt->request.dev = 0xffff; /* Busy, but no request */ |
request | 922 | drivers/scsi/scsi.c | SCpnt->request.sem = NULL; /* And no one is waiting for the device |
request | 952 | drivers/scsi/scsi.c | Scsi_Cmnd * allocate_device (struct request ** reqp, Scsi_Device * device, |
request | 956 | drivers/scsi/scsi.c | struct request * req = NULL; |
request | 984 | drivers/scsi/scsi.c | if(SCpnt->request.dev < 0) break; |
request | 994 | drivers/scsi/scsi.c | && SCpnt->request.dev < 0) |
request | 999 | drivers/scsi/scsi.c | if(SCpnt->request.dev >= 0) { |
request | 1022 | drivers/scsi/scsi.c | if (!SCpnt || SCpnt->request.dev >= 0) /* Might have changed */ |
request | 1032 | drivers/scsi/scsi.c | (SCwait->request.dev > 0)); |
request | 1035 | drivers/scsi/scsi.c | memcpy(&SCpnt->request, req, sizeof(struct request)); |
request | 1052 | drivers/scsi/scsi.c | SCpnt->request.bhtail = bh; |
request | 1057 | drivers/scsi/scsi.c | SCpnt->request.nr_sectors -= req->nr_sectors; |
request | 1060 | drivers/scsi/scsi.c | SCpnt->request.sem = NULL; /* Wait until whole thing done*/ |
request | 1069 | drivers/scsi/scsi.c | SCpnt->request.dev = 0xffff; /* Busy */ |
request | 1070 | drivers/scsi/scsi.c | SCpnt->request.sem = NULL; /* And no one is waiting for this |
request | 1722 | drivers/scsi/scsi.c | if (MAJOR(SCpnt->request.dev) != SCSI_DISK_MAJOR && |
request | 1723 | drivers/scsi/scsi.c | MAJOR(SCpnt->request.dev) != SCSI_CDROM_MAJOR) { |
request | 1776 | drivers/scsi/scsi.c | if (SCpnt->request.dev == -1 || pid != SCpnt->pid) { |
request | 1813 | drivers/scsi/scsi.c | if (SCpnt->request.dev == -1 || pid != SCpnt->pid) |
request | 1898 | drivers/scsi/scsi.c | if (SCpnt1->request.dev > 0) { |
request | 2243 | drivers/scsi/scsi.c | SCpnt->request.dev = -1; /* Mark not busy */ |
request | 2708 | drivers/scsi/scsi.c | if(SCpnt->request.dev != -1) { |
request | 2711 | drivers/scsi/scsi.c | if(SCpnt->request.dev == 0xffe0) SCpnt->request.dev = -1; |
request | 2715 | drivers/scsi/scsi.c | SCpnt->request.dev = 0xffe0; /* Mark as busy */ |
request | 2993 | drivers/scsi/scsi.c | SCpnt->request.dev, |
request | 2994 | drivers/scsi/scsi.c | SCpnt->request.sector, |
request | 2995 | drivers/scsi/scsi.c | SCpnt->request.nr_sectors, |
request | 2996 | drivers/scsi/scsi.c | SCpnt->request.current_nr_sectors, |
request | 3014 | drivers/scsi/scsi.c | struct request * req; |
request | 485 | drivers/scsi/scsi.h | struct request request; /* A copy of the command we are working on */ |
request | 547 | drivers/scsi/scsi.h | extern Scsi_Cmnd * allocate_device(struct request **, Scsi_Device *, int); |
request | 549 | drivers/scsi/scsi.h | extern Scsi_Cmnd * request_queueable(struct request *, Scsi_Device *); |
request | 567 | drivers/scsi/scsi.h | struct request * req; |
request | 570 | drivers/scsi/scsi.h | req = &SCpnt->request; |
request | 79 | drivers/scsi/scsi_debug.c | if ((SCpnt->request.dev & 0xf) != 0) start = starts[(SCpnt->request.dev & 0xf) - 1]; \ |
request | 86 | drivers/scsi/scsi_debug.c | if (bh->b_dev != SCpnt->request.dev) panic ("Bad bh target");\ |
request | 92 | drivers/scsi/scsi_debug.c | if ((SCpnt->request.dev & 0xfff0) != ((target + NR_REAL) << 4) +(MAJOR_NR << 8)){ \ |
request | 93 | drivers/scsi/scsi_debug.c | printk("Dev #s %x %x ",SCpnt->request.dev, target); \ |
request | 102 | drivers/scsi/scsi_debug.c | if ((SCpnt->request.dev & 0xf) > npart) panic ("Bad partition"); \ |
request | 103 | drivers/scsi/scsi_debug.c | if ((SCpnt->request.dev & 0xf) != 0) start = starts[(SCpnt->request.dev & 0xf) - 1]; \ |
request | 104 | drivers/scsi/scsi_debug.c | if (SCpnt->request.cmd != RW) panic ("Wrong operation"); \ |
request | 105 | drivers/scsi/scsi_debug.c | if (SCpnt->request.sector + start != block) panic("Wrong block."); \ |
request | 106 | drivers/scsi/scsi_debug.c | if (SCpnt->request.current_nr_sectors != 2 && (!SCpnt->use_sg)) panic ("Wrong # blocks"); \ |
request | 107 | drivers/scsi/scsi_debug.c | if (SCpnt->request.bh){ \ |
request | 108 | drivers/scsi/scsi_debug.c | if (SCpnt->request.bh->b_size != 1024) panic ("Wrong bh size"); \ |
request | 109 | drivers/scsi/scsi_debug.c | if ((SCpnt->request.bh->b_blocknr << 1) + start != block) \ |
request | 110 | drivers/scsi/scsi_debug.c | { printk("Wrong bh block# %d %d ",SCpnt->request.bh->b_blocknr, block); \ |
request | 113 | drivers/scsi/scsi_debug.c | if (SCpnt->request.bh->b_dev != SCpnt->request.dev) panic ("Bad bh target");\ |
request | 146 | drivers/scsi/scsi_debug.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
request | 148 | drivers/scsi/scsi_debug.c | lpnt = (int *) SCpnt->request.buffer; |
request | 244 | drivers/scsi/scsi_debug.c | if(NR_REAL < 0) NR_REAL = (SCpnt->request.dev >> 4) & 0x0f; |
request | 269 | drivers/scsi/scsi_debug.c | usec = (SCpnt->request.nr_sectors << 9) * 1.0e6 / SCSI_DATARATE; |
request | 276 | drivers/scsi/scsi_debug.c | printk("(r%d)",SCpnt->request.nr_sectors); |
request | 284 | drivers/scsi/scsi_debug.c | bh = SCpnt->request.bh; |
request | 311 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors, |
request | 312 | drivers/scsi/scsi_debug.c | SCpnt->request.current_nr_sectors); |
request | 378 | drivers/scsi/scsi_debug.c | if ((bufflen >> 9) != SCpnt->request.nr_sectors) |
request | 100 | drivers/scsi/scsi_ioctl.c | struct request * req; |
request | 102 | drivers/scsi/scsi_ioctl.c | req = &SCpnt->request; |
request | 120 | drivers/scsi/scsi_ioctl.c | if (SCpnt->request.dev != 0xfffe){ |
request | 122 | drivers/scsi/scsi_ioctl.c | SCpnt->request.sem = &sem; |
request | 125 | drivers/scsi/scsi_ioctl.c | while (SCpnt->request.dev != 0xfffe) schedule(); |
request | 160 | drivers/scsi/scsi_ioctl.c | SCpnt->request.dev = -1; |
request | 254 | drivers/scsi/scsi_ioctl.c | if (SCpnt->request.dev != 0xfffe){ |
request | 256 | drivers/scsi/scsi_ioctl.c | SCpnt->request.sem = &sem; |
request | 259 | drivers/scsi/scsi_ioctl.c | while (SCpnt->request.dev != 0xfffe) schedule(); |
request | 280 | drivers/scsi/scsi_ioctl.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 209 | drivers/scsi/sd.c | printk("sd%c : rw_intr(%d, %d)\n", 'a' + MINOR(SCpnt->request.dev), |
request | 222 | drivers/scsi/sd.c | printk("sd%c : %d sectors remain.\n", 'a' + MINOR(SCpnt->request.dev), |
request | 223 | drivers/scsi/sd.c | SCpnt->request.nr_sectors); |
request | 236 | drivers/scsi/sd.c | if (SCpnt->request.cmd == READ) |
request | 246 | drivers/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) { |
request | 248 | drivers/scsi/sd.c | printk("nosg: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
request | 251 | drivers/scsi/sd.c | if (SCpnt->request.cmd == READ) |
request | 252 | drivers/scsi/sd.c | memcpy(SCpnt->request.buffer, SCpnt->buffer, |
request | 262 | drivers/scsi/sd.c | if (SCpnt->request.nr_sectors > this_count) |
request | 264 | drivers/scsi/sd.c | SCpnt->request.errors = 0; |
request | 266 | drivers/scsi/sd.c | if (!SCpnt->request.bh) |
request | 270 | drivers/scsi/sd.c | 'a' + MINOR(SCpnt->request.dev)); |
request | 277 | drivers/scsi/sd.c | SCpnt->request.sector, this_count); |
request | 292 | drivers/scsi/sd.c | printk("err: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
request | 302 | drivers/scsi/sd.c | printk("nosgerr: %x %x %d\n",SCpnt->request.buffer, SCpnt->buffer, |
request | 305 | drivers/scsi/sd.c | if (SCpnt->buffer != SCpnt->request.buffer) |
request | 322 | drivers/scsi/sd.c | if rscsi_disks[DEVICE_NR(SCpnt->request.dev)].remap |
request | 332 | drivers/scsi/sd.c | if(rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->removable) { |
request | 336 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->changed = 1; |
request | 353 | drivers/scsi/sd.c | if (rscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten) { |
request | 354 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].ten = 0; |
request | 364 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, |
request | 365 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->channel, |
request | 366 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->id, |
request | 367 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->lun, result); |
request | 371 | drivers/scsi/sd.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.current_nr_sectors); |
request | 386 | drivers/scsi/sd.c | struct request * req = NULL; |
request | 435 | drivers/scsi/sd.c | struct request *req1; |
request | 472 | drivers/scsi/sd.c | if(!SCpnt || SCpnt->request.dev <= 0) { |
request | 477 | drivers/scsi/sd.c | dev = MINOR(SCpnt->request.dev); |
request | 478 | drivers/scsi/sd.c | block = SCpnt->request.sector; |
request | 487 | drivers/scsi/sd.c | block + SCpnt->request.nr_sectors > sd[dev].nr_sects) |
request | 489 | drivers/scsi/sd.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 503 | drivers/scsi/sd.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 509 | drivers/scsi/sd.c | 'a' + MINOR(SCpnt->request.dev), dev, block); |
request | 524 | drivers/scsi/sd.c | if((block & 1) || (SCpnt->request.nr_sectors & 1)) { |
request | 526 | drivers/scsi/sd.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 530 | drivers/scsi/sd.c | switch (SCpnt->request.cmd) |
request | 535 | drivers/scsi/sd.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 544 | drivers/scsi/sd.c | panic ("Unknown sd command %d\n", SCpnt->request.cmd); |
request | 554 | drivers/scsi/sd.c | bounce_size = (SCpnt->request.nr_sectors << 9); |
request | 560 | drivers/scsi/sd.c | if (contiguous && SCpnt->request.bh && |
request | 561 | drivers/scsi/sd.c | ((long) SCpnt->request.bh->b_data) |
request | 562 | drivers/scsi/sd.c | + (SCpnt->request.nr_sectors << 9) - 1 > ISA_DMA_THRESHOLD |
request | 564 | drivers/scsi/sd.c | if(((long) SCpnt->request.bh->b_data) > ISA_DMA_THRESHOLD) |
request | 569 | drivers/scsi/sd.c | if(contiguous && SCpnt->request.bh && SCpnt->request.bh->b_reqnext) |
request | 570 | drivers/scsi/sd.c | for(bh = SCpnt->request.bh, bhp = bh->b_reqnext; bhp; bh = bhp, |
request | 578 | drivers/scsi/sd.c | if (!SCpnt->request.bh || contiguous) { |
request | 581 | drivers/scsi/sd.c | this_count = SCpnt->request.nr_sectors; |
request | 582 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
request | 600 | drivers/scsi/sd.c | this_count = SCpnt->request.current_nr_sectors; |
request | 601 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
request | 611 | drivers/scsi/sd.c | bh = SCpnt->request.bh; |
request | 631 | drivers/scsi/sd.c | ((unsigned int) SCpnt->request.bh->b_data-1) == ISA_DMA_THRESHOLD) count--; |
request | 645 | drivers/scsi/sd.c | this_count = SCpnt->request.current_nr_sectors; |
request | 646 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
request | 653 | drivers/scsi/sd.c | for(count = 0, bh = SCpnt->request.bh, bhp = bh->b_reqnext; |
request | 691 | drivers/scsi/sd.c | this_count = SCpnt->request.current_nr_sectors; |
request | 692 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
request | 744 | drivers/scsi/sd.c | bh = SCpnt->request.bh; |
request | 762 | drivers/scsi/sd.c | if (SCpnt->request.cmd == WRITE) |
request | 780 | drivers/scsi/sd.c | this_count = SCpnt->request.current_nr_sectors; |
request | 784 | drivers/scsi/sd.c | if (SCpnt->request.cmd == WRITE) |
request | 785 | drivers/scsi/sd.c | memcpy(buff, (char *)SCpnt->request.buffer, this_count << 9); |
request | 790 | drivers/scsi/sd.c | 'a' + MINOR(SCpnt->request.dev), |
request | 791 | drivers/scsi/sd.c | (SCpnt->request.cmd == WRITE) ? "writing" : "reading", |
request | 792 | drivers/scsi/sd.c | this_count, SCpnt->request.nr_sectors); |
request | 887 | drivers/scsi/sd.c | struct request * req; |
request | 889 | drivers/scsi/sd.c | req = &SCpnt->request; |
request | 924 | drivers/scsi/sd.c | SCpnt->request.dev = 0xffff; /* Mark as really busy again */ |
request | 934 | drivers/scsi/sd.c | while(SCpnt->request.dev != 0xfffe) barrier(); |
request | 956 | drivers/scsi/sd.c | SCpnt->request.dev = 0xffff; |
request | 966 | drivers/scsi/sd.c | while(SCpnt->request.dev != 0xfffe) |
request | 992 | drivers/scsi/sd.c | SCpnt->request.dev = 0xffff; /* Mark as really busy again */ |
request | 1003 | drivers/scsi/sd.c | while(SCpnt->request.dev != 0xfffe) |
request | 1006 | drivers/scsi/sd.c | if (SCpnt->request.dev != 0xfffe){ |
request | 1008 | drivers/scsi/sd.c | SCpnt->request.sem = &sem; |
request | 1011 | drivers/scsi/sd.c | while (SCpnt->request.dev != 0xfffe) |
request | 1020 | drivers/scsi/sd.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 259 | drivers/scsi/sg.c | int dev=SCpnt->request.dev; |
request | 264 | drivers/scsi/sg.c | SCpnt->request.dev=-1; |
request | 285 | drivers/scsi/sg.c | SCpnt->request.dev=-1; |
request | 397 | drivers/scsi/sg.c | SCpnt->request.dev=dev; |
request | 159 | drivers/scsi/sr.c | printk("sr.c done: %x %x\n",result, SCpnt->request.bh->b_data); |
request | 164 | drivers/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
request | 167 | drivers/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
request | 168 | drivers/scsi/sr.c | memcpy((char *)SCpnt->request.buffer, |
request | 176 | drivers/scsi/sr.c | SCpnt->request.nr_sectors > this_count && |
request | 177 | drivers/scsi/sr.c | SCpnt->request.bh && |
request | 178 | drivers/scsi/sr.c | SCpnt->request.bh->b_reqnext && |
request | 179 | drivers/scsi/sr.c | SCpnt->request.bh->b_reqnext->b_size == 1024) { |
request | 180 | drivers/scsi/sr.c | memcpy((char *)SCpnt->request.bh->b_reqnext->b_data, |
request | 201 | drivers/scsi/sr.c | if(SCpnt->request.sector % 4) this_count -= 2; |
request | 203 | drivers/scsi/sr.c | if(this_count > SCpnt->request.nr_sectors) |
request | 208 | drivers/scsi/sr.c | printk("(%x %x %x) ",SCpnt->request.bh, SCpnt->request.nr_sectors, |
request | 211 | drivers/scsi/sr.c | if (SCpnt->request.nr_sectors > this_count) |
request | 213 | drivers/scsi/sr.c | SCpnt->request.errors = 0; |
request | 214 | drivers/scsi/sr.c | if (!SCpnt->request.bh) |
request | 216 | drivers/scsi/sr.c | SCpnt->request.sector, this_count); |
request | 238 | drivers/scsi/sr.c | if (SCpnt->buffer != SCpnt->request.buffer) |
request | 248 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->changed = 1; |
request | 260 | drivers/scsi/sr.c | if (scsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten) { |
request | 261 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].ten = 0; |
request | 284 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, |
request | 285 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->id, |
request | 286 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->lun, |
request | 292 | drivers/scsi/sr.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.current_nr_sectors); |
request | 553 | drivers/scsi/sr.c | struct request * req = NULL; |
request | 581 | drivers/scsi/sr.c | struct request *req1; |
request | 621 | drivers/scsi/sr.c | if(!SCpnt || SCpnt->request.dev <= 0) { |
request | 626 | drivers/scsi/sr.c | dev = MINOR(SCpnt->request.dev); |
request | 627 | drivers/scsi/sr.c | block = SCpnt->request.sector; |
request | 634 | drivers/scsi/sr.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 642 | drivers/scsi/sr.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 654 | drivers/scsi/sr.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 659 | drivers/scsi/sr.c | switch (SCpnt->request.cmd) |
request | 662 | drivers/scsi/sr.c | SCpnt = end_scsi_request(SCpnt, 0, SCpnt->request.nr_sectors); |
request | 669 | drivers/scsi/sr.c | panic ("Unknown sr command %d\n", SCpnt->request.cmd); |
request | 698 | drivers/scsi/sr.c | bh = SCpnt->request.bh; |
request | 704 | drivers/scsi/sr.c | this_count = SCpnt->request.sector % 4; |
request | 736 | drivers/scsi/sr.c | bh = SCpnt->request.bh; |
request | 737 | drivers/scsi/sr.c | if(SCpnt->request.sector % 4) { |
request | 738 | drivers/scsi/sr.c | sgpnt[count].length = (SCpnt->request.sector % 4) << 9; |
request | 745 | drivers/scsi/sr.c | for(bh = SCpnt->request.bh; count < SCpnt->use_sg; |
request | 788 | drivers/scsi/sr.c | printk("SR: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector, |
request | 790 | drivers/scsi/sr.c | SCpnt->request.current_nr_sectors, |
request | 791 | drivers/scsi/sr.c | SCpnt->request.nr_sectors); |
request | 803 | drivers/scsi/sr.c | if (!SCpnt->request.bh) |
request | 804 | drivers/scsi/sr.c | this_count = SCpnt->request.nr_sectors; |
request | 806 | drivers/scsi/sr.c | this_count = (SCpnt->request.bh->b_size >> 9); |
request | 822 | drivers/scsi/sr.c | buffer = (unsigned char *) SCpnt->request.buffer; |
request | 939 | drivers/scsi/sr.c | struct request * req; |
request | 941 | drivers/scsi/sr.c | req = &SCpnt->request; |
request | 963 | drivers/scsi/sr.c | SCpnt->request.dev = 0xffff; /* Mark as really busy */ |
request | 974 | drivers/scsi/sr.c | while(SCpnt->request.dev != 0xfffe) |
request | 977 | drivers/scsi/sr.c | if (SCpnt->request.dev != 0xfffe){ |
request | 979 | drivers/scsi/sr.c | SCpnt->request.sem = &sem; |
request | 982 | drivers/scsi/sr.c | while (SCpnt->request.dev != 0xfffe) schedule(); |
request | 990 | drivers/scsi/sr.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 29 | drivers/scsi/sr_ioctl.c | struct request * req; |
request | 31 | drivers/scsi/sr_ioctl.c | req = &SCpnt->request; |
request | 54 | drivers/scsi/sr_ioctl.c | if (SCpnt->request.dev != 0xfffe){ |
request | 56 | drivers/scsi/sr_ioctl.c | SCpnt->request.sem = &sem; |
request | 59 | drivers/scsi/sr_ioctl.c | while (SCpnt->request.dev != 0xfffe) schedule(); |
request | 91 | drivers/scsi/sr_ioctl.c | SCpnt->request.dev = -1; /* Deallocate */ |
request | 117 | drivers/scsi/st.c | int dev = SCpnt->request.dev; |
request | 179 | drivers/scsi/st.c | if ((st_nbr = SCpnt->request.dev) < st_template.nr_dev && st_nbr >= 0) { |
request | 201 | drivers/scsi/st.c | SCpnt->request.dev = -1; |
request | 203 | drivers/scsi/st.c | SCpnt->request.dev = 0xffff; |
request | 268 | drivers/scsi/st.c | SCpnt->request.dev = dev; |
request | 276 | drivers/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &(STp->waiting) ); |
request | 279 | drivers/scsi/st.c | SCpnt->request.dev = -1; |
request | 337 | drivers/scsi/st.c | SCpnt->request.dev = dev; |
request | 345 | drivers/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &(STp->waiting) ); |
request | 367 | drivers/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 473 | drivers/scsi/st.c | SCpnt->request.dev = dev; |
request | 483 | drivers/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &(STp->waiting) ); |
request | 492 | drivers/scsi/st.c | SCpnt->request.dev = dev; |
request | 502 | drivers/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &(STp->waiting) ); |
request | 519 | drivers/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 535 | drivers/scsi/st.c | SCpnt->request.dev = dev; |
request | 544 | drivers/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &(STp->waiting) ); |
request | 570 | drivers/scsi/st.c | SCpnt->request.dev = dev; |
request | 579 | drivers/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &(STp->waiting) ); |
request | 590 | drivers/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 697 | drivers/scsi/st.c | SCpnt->request.dev = dev; |
request | 706 | drivers/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &(STp->waiting) ); |
request | 711 | drivers/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 715 | drivers/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 865 | drivers/scsi/st.c | SCpnt->request.dev = dev; |
request | 874 | drivers/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &(STp->waiting) ); |
request | 927 | drivers/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 957 | drivers/scsi/st.c | SCpnt->request.dev = -1; |
request | 982 | drivers/scsi/st.c | SCpnt->request.dev = dev; |
request | 989 | drivers/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 1076 | drivers/scsi/st.c | SCpnt->request.dev = dev; |
request | 1085 | drivers/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &(STp->waiting) ); |
request | 1123 | drivers/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 1160 | drivers/scsi/st.c | SCpnt->request.dev = -1; |
request | 1180 | drivers/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 1215 | drivers/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 1234 | drivers/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 1614 | drivers/scsi/st.c | SCpnt->request.dev = dev; |
request | 1623 | drivers/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &(STp->waiting) ); |
request | 1629 | drivers/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 1872 | drivers/scsi/st.c | SCpnt->request.dev = dev; |
request | 1882 | drivers/scsi/st.c | if (SCpnt->request.dev == dev) sleep_on( &(STp->waiting) ); |
request | 1908 | drivers/scsi/st.c | SCpnt->request.dev = -1; /* Mark as not busy */ |
request | 25 | include/linux/blkdev.h | struct request * next; |
request | 30 | include/linux/blkdev.h | struct request * current_request; |