tag | line | file | source code |
buf_needed | 178 | drivers/scsi/scsi_ioctl.c | int needed, buf_needed; |
buf_needed | 214 | drivers/scsi/scsi_ioctl.c | needed = buf_needed = (inlen > outlen ? inlen : outlen); |
buf_needed | 215 | drivers/scsi/scsi_ioctl.c | if(buf_needed){ |
buf_needed | 216 | drivers/scsi/scsi_ioctl.c | buf_needed = (buf_needed + 511) & ~511; |
buf_needed | 217 | drivers/scsi/scsi_ioctl.c | if (buf_needed > MAX_BUF) buf_needed = MAX_BUF; |
buf_needed | 218 | drivers/scsi/scsi_ioctl.c | buf = (char *) scsi_malloc(buf_needed); |
buf_needed | 220 | drivers/scsi/scsi_ioctl.c | memset(buf, 0, buf_needed); |
buf_needed | 281 | drivers/scsi/scsi_ioctl.c | if (buf) scsi_free(buf, buf_needed); |