tag | line | file | source code |
needed | 178 | drivers/scsi/scsi_ioctl.c | int needed, buf_needed; |
needed | 214 | drivers/scsi/scsi_ioctl.c | needed = buf_needed = (inlen > outlen ? inlen : outlen); |
needed | 251 | drivers/scsi/scsi_ioctl.c | scsi_do_cmd(SCpnt, cmd, buf, needed, scsi_ioctl_done, MAX_TIMEOUT, |
needed | 599 | drivers/scsi/wd7000.c | static inline Scb *alloc_scbs(int needed) |
needed | 608 | drivers/scsi/wd7000.c | if (needed <= 0) return NULL; /* sanity check */ |
needed | 619 | drivers/scsi/wd7000.c | while (freescbs < needed) { |
needed | 625 | drivers/scsi/wd7000.c | } while (freescbs < needed && jiffies <= timeout); |
needed | 630 | drivers/scsi/wd7000.c | if (freescbs < needed) { |
needed | 637 | drivers/scsi/wd7000.c | scb = scbfree; freescbs -= needed; |
needed | 638 | drivers/scsi/wd7000.c | for (i = 0; i < needed; i++) { p = scbfree; scbfree = p->next; } |
needed | 506 | fs/buffer.c | int needed; |
needed | 520 | fs/buffer.c | needed =bdf_prm.b_un.nrefill * size; |
needed | 522 | fs/buffer.c | while (nr_free_pages > min_free_pages*2 && needed > 0 && |
needed | 524 | fs/buffer.c | needed -= PAGE_SIZE; |
needed | 527 | fs/buffer.c | if(needed <= 0) return; |
needed | 535 | fs/buffer.c | needed -= PAGE_SIZE; |
needed | 536 | fs/buffer.c | if(needed <= 0) return; |
needed | 587 | fs/buffer.c | if(needed <= 0) return; |
needed | 616 | fs/buffer.c | needed -= bh->b_size; |
needed | 661 | fs/buffer.c | if(needed <= 0) return; |
needed | 667 | fs/buffer.c | needed -= PAGE_SIZE; |
needed | 675 | fs/buffer.c | needed -= PAGE_SIZE; |