Lines Matching refs:scsi_device

82 	struct scsi_device *device = cmd->device;  in scsi_set_blocked()
146 struct scsi_device *device = cmd->device; in __scsi_queue_insert()
207 int __scsi_execute(struct scsi_device *sdev, const unsigned char *cmd, in __scsi_execute()
291 void scsi_device_unbusy(struct scsi_device *sdev, struct scsi_cmnd *cmd) in scsi_device_unbusy()
317 static void scsi_single_lun_run(struct scsi_device *current_sdev) in scsi_single_lun_run()
320 struct scsi_device *sdev, *tmp; in scsi_single_lun_run()
356 static inline bool scsi_device_is_busy(struct scsi_device *sdev) in scsi_device_is_busy()
388 struct scsi_device *sdev; in scsi_starved_list_run()
411 struct scsi_device, starved_entry); in scsi_starved_list_run()
452 struct scsi_device *sdev = q->queuedata; in scsi_run_queue()
464 struct scsi_device *sdev; in scsi_requeue_run_queue()
467 sdev = container_of(work, struct scsi_device, requeue_work); in scsi_requeue_run_queue()
474 struct scsi_device *sdev; in scsi_run_host_queues()
507 static void scsi_run_queue_async(struct scsi_device *sdev) in scsi_run_queue_async()
538 struct scsi_device *sdev = cmd->device; in scsi_end_request()
1001 static inline bool scsi_cmd_needs_dma_drain(struct scsi_device *sdev, in scsi_cmd_needs_dma_drain()
1023 struct scsi_device *sdev = cmd->device; in scsi_alloc_sgtables()
1160 void scsi_init_command(struct scsi_device *dev, struct scsi_cmnd *cmd) in scsi_init_command()
1174 static blk_status_t scsi_setup_scsi_cmnd(struct scsi_device *sdev, in scsi_setup_scsi_cmnd()
1200 scsi_device_state_check(struct scsi_device *sdev, struct request *req) in scsi_device_state_check()
1253 struct scsi_device *sdev) in scsi_dev_queue_ready()
1287 struct scsi_device *sdev) in scsi_target_queue_ready()
1343 struct scsi_device *sdev, in scsi_host_queue_ready()
1403 struct scsi_device *sdev = q->queuedata; in scsi_mq_lld_busy()
1551 struct scsi_device *sdev = req->q->queuedata; in scsi_prepare_cmd()
1654 struct scsi_device *sdev = q->queuedata; in scsi_mq_put_budget()
1668 struct scsi_device *sdev = q->queuedata; in scsi_mq_get_budget()
1716 struct scsi_device *sdev = q->queuedata; in scsi_queue_rq()
2010 struct scsi_device *scsi_device_from_queue(struct request_queue *q) in scsi_device_from_queue()
2012 struct scsi_device *sdev = NULL; in scsi_device_from_queue()
2084 int scsi_mode_select(struct scsi_device *sdev, int pf, int sp, in scsi_mode_select()
2162 scsi_mode_sense(struct scsi_device *sdev, int dbd, int modepage, in scsi_mode_sense()
2279 scsi_test_unit_ready(struct scsi_device *sdev, int timeout, int retries, in scsi_test_unit_ready()
2310 scsi_device_set_state(struct scsi_device *sdev, enum scsi_device_state state) in scsi_device_set_state()
2436 static void scsi_evt_emit(struct scsi_device *sdev, struct scsi_event *evt) in scsi_evt_emit()
2486 struct scsi_device *sdev; in scsi_evt_thread()
2490 sdev = container_of(work, struct scsi_device, event_work); in scsi_evt_thread()
2524 void sdev_evt_send(struct scsi_device *sdev, struct scsi_event *evt) in sdev_evt_send()
2589 void sdev_evt_send_simple(struct scsi_device *sdev, in sdev_evt_send_simple()
2617 scsi_device_quiesce(struct scsi_device *sdev) in scsi_device_quiesce()
2665 void scsi_device_resume(struct scsi_device *sdev) in scsi_device_resume()
2683 device_quiesce_fn(struct scsi_device *sdev, void *data) in device_quiesce_fn()
2696 device_resume_fn(struct scsi_device *sdev, void *data) in device_resume_fn()
2708 static int __scsi_internal_device_block_nowait(struct scsi_device *sdev) in __scsi_internal_device_block_nowait()
2716 void scsi_start_queue(struct scsi_device *sdev) in scsi_start_queue()
2722 static void scsi_stop_queue(struct scsi_device *sdev, bool nowait) in scsi_stop_queue()
2756 int scsi_internal_device_block_nowait(struct scsi_device *sdev) in scsi_internal_device_block_nowait()
2786 static int scsi_internal_device_block(struct scsi_device *sdev) in scsi_internal_device_block()
2814 int scsi_internal_device_unblock_nowait(struct scsi_device *sdev, in scsi_internal_device_unblock_nowait()
2867 static int scsi_internal_device_unblock(struct scsi_device *sdev, in scsi_internal_device_unblock()
2880 device_block(struct scsi_device *sdev, void *data) in device_block()
2911 device_unblock(struct scsi_device *sdev, void *data) in device_unblock()
2939 struct scsi_device *sdev; in scsi_host_block()
2972 struct scsi_device *sdev; in scsi_host_unblock()
3046 void sdev_disable_disk_events(struct scsi_device *sdev) in sdev_disable_disk_events()
3052 void sdev_enable_disk_events(struct scsi_device *sdev) in sdev_enable_disk_events()
3146 int scsi_vpd_lun_id(struct scsi_device *sdev, char *id, size_t id_len) in scsi_vpd_lun_id()
3270 int scsi_vpd_tpg_id(struct scsi_device *sdev, int *rel_id) in scsi_vpd_tpg_id()