Lines Matching refs:ldrv
5334 gdth_ioctl_lockdrv ldrv; in ioc_lockdrv() local
5339 if (copy_from_user(&ldrv, (char *)arg, sizeof(gdth_ioctl_lockdrv)) || in ioc_lockdrv()
5340 ldrv.ionode >= gdth_ctr_count) in ioc_lockdrv()
5342 ha = HADATA(gdth_ctr_tab[ldrv.ionode]); in ioc_lockdrv()
5344 for (i = 0; i < ldrv.drive_cnt && i < MAX_HDRIVES; ++i) { in ioc_lockdrv()
5345 j = ldrv.drives[i]; in ioc_lockdrv()
5348 if (ldrv.lock) { in ioc_lockdrv()
5352 gdth_wait_completion(ldrv.ionode, ha->bus_cnt, j); in ioc_lockdrv()
5353 gdth_stop_timeout(ldrv.ionode, ha->bus_cnt, j); in ioc_lockdrv()
5358 gdth_start_timeout(ldrv.ionode, ha->bus_cnt, j); in ioc_lockdrv()
5359 gdth_next(ldrv.ionode); in ioc_lockdrv()