Home
last modified time | relevance | path

Searched refs:tw_lock (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/
H A D3w-9xxx.c649 TW_Lock *tw_lock; in twa_chrdev_ioctl() local
845 tw_lock = (TW_Lock *)tw_ioctl->data_buffer; in twa_chrdev_ioctl()
848 if ((tw_lock->force_flag == 1) || (tw_dev->ioctl_sem_lock == 0) || in twa_chrdev_ioctl()
851 tw_dev->ioctl_time = ktime_add_ms(current_time, tw_lock->timeout_msec); in twa_chrdev_ioctl()
853 tw_lock->time_remaining_msec = tw_lock->timeout_msec; in twa_chrdev_ioctl()
856 tw_lock->time_remaining_msec = ktime_ms_delta(tw_dev->ioctl_time, current_time); in twa_chrdev_ioctl()