tag | line | file | source code |
needed | 148 | drivers/scsi/scsi_ioctl.c | int needed, buf_needed; |
needed | 160 | drivers/scsi/scsi_ioctl.c | needed = buf_needed = (inlen > outlen ? inlen : outlen); |
needed | 178 | drivers/scsi/scsi_ioctl.c | scsi_do_cmd(SCpnt, cmd, buf, needed, scsi_ioctl_done, MAX_TIMEOUT, |
needed | 595 | drivers/scsi/wd7000.c | static inline Scb *alloc_scbs(int needed) |
needed | 604 | drivers/scsi/wd7000.c | if (needed <= 0) return NULL; /* sanity check */ |
needed | 615 | drivers/scsi/wd7000.c | while (freescbs < needed) { |
needed | 621 | drivers/scsi/wd7000.c | } while (freescbs < needed && jiffies <= timeout); |
needed | 626 | drivers/scsi/wd7000.c | if (freescbs < needed) { |
needed | 633 | drivers/scsi/wd7000.c | scb = scbfree; freescbs -= needed; |
needed | 634 | drivers/scsi/wd7000.c | for (i = 0; i < needed; i++) { p = scbfree; scbfree = p->next; } |
needed | 504 | fs/buffer.c | int needed; |
needed | 518 | fs/buffer.c | needed =bdf_prm.b_un.nrefill * size; |
needed | 520 | fs/buffer.c | while (nr_free_pages > min_free_pages*2 && needed > 0 && |
needed | 522 | fs/buffer.c | needed -= PAGE_SIZE; |
needed | 525 | fs/buffer.c | if(needed <= 0) return; |
needed | 533 | fs/buffer.c | needed -= PAGE_SIZE; |
needed | 534 | fs/buffer.c | if(needed <= 0) return; |
needed | 585 | fs/buffer.c | if(needed <= 0) return; |
needed | 614 | fs/buffer.c | needed -= bh->b_size; |
needed | 659 | fs/buffer.c | if(needed <= 0) return; |
needed | 665 | fs/buffer.c | needed -= PAGE_SIZE; |
needed | 673 | fs/buffer.c | needed -= PAGE_SIZE; |