tag | line | file | source code |
needed | 145 | kernel/blk_drv/scsi/scsi_ioctl.c | int needed; |
needed | 157 | kernel/blk_drv/scsi/scsi_ioctl.c | needed = (inlen > outlen ? inlen : outlen); |
needed | 158 | kernel/blk_drv/scsi/scsi_ioctl.c | if(needed){ |
needed | 159 | kernel/blk_drv/scsi/scsi_ioctl.c | needed = (needed + 511) & ~511; |
needed | 160 | kernel/blk_drv/scsi/scsi_ioctl.c | if (needed > MAX_BUF) needed = MAX_BUF; |
needed | 161 | kernel/blk_drv/scsi/scsi_ioctl.c | buf = scsi_malloc(needed); |
needed | 188 | kernel/blk_drv/scsi/scsi_ioctl.c | if (buf) scsi_free(buf, needed); |