Searched refs:pinstance (Results 1 – 1 of 1) sorted by relevance
142 struct pmcraid_instance *pinstance; in pmcraid_slave_alloc() local148 pinstance = shost_priv(scsi_dev->host); in pmcraid_slave_alloc()150 fw_version = be16_to_cpu(pinstance->inq_data->fw_version); in pmcraid_slave_alloc()157 spin_lock_irqsave(&pinstance->resource_lock, lock_flags); in pmcraid_slave_alloc()158 list_for_each_entry(temp, &pinstance->used_res_q, queue) { in pmcraid_slave_alloc()195 spin_unlock_irqrestore(&pinstance->resource_lock, lock_flags); in pmcraid_slave_alloc()363 struct pmcraid_instance *pinstance in pmcraid_get_free_cmd() argument370 spin_lock_irqsave(&pinstance->free_pool_lock, lock_flags); in pmcraid_get_free_cmd()372 if (!list_empty(&pinstance->free_cmd_pool)) { in pmcraid_get_free_cmd()373 cmd = list_entry(pinstance->free_cmd_pool.next, in pmcraid_get_free_cmd()[all …]