Searched refs:open_devip (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dscsi_debug.c3576 struct sdebug_dev_info * open_devip = NULL; devInfoReg() local
3593 if ((!devip->used) && (!open_devip)) devInfoReg()
3594 open_devip = devip; devInfoReg()
3597 if (!open_devip) { /* try and make a new one */ devInfoReg()
3598 open_devip = sdebug_device_create(sdbg_host, GFP_ATOMIC); devInfoReg()
3599 if (!open_devip) { devInfoReg()
3605 open_devip->channel = sdev->channel; devInfoReg()
3606 open_devip->target = sdev->id; devInfoReg()
3607 open_devip->lun = sdev->lun; devInfoReg()
3608 open_devip->sdbg_host = sdbg_host; devInfoReg()
3609 atomic_set(&open_devip->num_in_q, 0); devInfoReg()
3610 set_bit(SDEBUG_UA_POR, open_devip->uas_bm); devInfoReg()
3611 open_devip->used = true; devInfoReg()
3612 return open_devip; devInfoReg()

Completed in 72 milliseconds