Searched refs:device_busy (Results 1 – 7 of 7) sorted by relevance
331 atomic_dec(&sdev->device_busy); in scsi_device_unbusy()387 if (atomic_read(&sdev->device_busy) >= sdev->queue_depth) in scsi_device_is_busy()1262 busy = atomic_inc_return(&sdev->device_busy) - 1; in scsi_dev_queue_ready()1281 atomic_dec(&sdev->device_busy); in scsi_dev_queue_ready()1607 atomic_dec(&sdev->device_busy); in scsi_mq_put_budget()1634 if (unlikely(atomic_read(&sdev->device_busy) == 0 && in scsi_mq_get_budget()
682 return snprintf(buf, 20, "%d\n", atomic_read(&sdev->device_busy)); in sdev_show_device_busy()684 static DEVICE_ATTR(device_busy, S_IRUGO, sdev_show_device_busy, NULL);
2507 (int) atomic_read(&scsidp->device_busy), in sg_proc_seq_show_dev()
109 atomic_t device_busy; /* commands actually active on LLDD */ member
365 sdev_busy = atomic_read(&scmd->device->device_busy); in megasas_get_msix_index()
3759 atomic_read(&sdev->device_busy))); in mptsas_send_link_status_event()
3258 if (r == SUCCESS && atomic_read(&scmd->device->device_busy)) in scsih_dev_reset()