Lines Matching refs:inbuf
1450 u8 *inbuf = NULL; in ide_taskfile_ioctl() local
1488 inbuf = kmalloc(taskin, GFP_KERNEL); in ide_taskfile_ioctl()
1489 if (inbuf == NULL) { in ide_taskfile_ioctl()
1493 memset(inbuf, 0, taskin); in ide_taskfile_ioctl()
1494 if (copy_from_user(inbuf, (void *)arg + intotal , taskin)) { in ide_taskfile_ioctl()
1524 err = ide_diag_taskfile(drive, &args, taskin, inbuf); in ide_taskfile_ioctl()
1535 err = ide_diag_taskfile(drive, &args, taskin, inbuf); in ide_taskfile_ioctl()
1583 err = ide_diag_taskfile(drive, &args, taskin, inbuf); in ide_taskfile_ioctl()
1591 err = ide_diag_taskfile(drive, &args, taskin, inbuf); in ide_taskfile_ioctl()
1624 if (copy_to_user((void *)arg+intotal, inbuf, taskin)) { in ide_taskfile_ioctl()
1633 if (inbuf != NULL) in ide_taskfile_ioctl()
1634 kfree(inbuf); in ide_taskfile_ioctl()