Lines Matching defs:sdev

287 int scsi_execute_cmd(struct scsi_device *sdev, const unsigned char *cmd,  in scsi_execute_cmd()
383 void scsi_device_unbusy(struct scsi_device *sdev, struct scsi_cmnd *cmd) in scsi_device_unbusy()
401 static void scsi_kick_sdev_queue(struct scsi_device *sdev, void *data) in scsi_kick_sdev_queue()
442 static inline bool scsi_device_is_busy(struct scsi_device *sdev) in scsi_device_is_busy()
474 struct scsi_device *sdev; in scsi_starved_list_run() local
538 struct scsi_device *sdev = q->queuedata; in scsi_run_queue() local
551 struct scsi_device *sdev; in scsi_requeue_run_queue() local
561 struct scsi_device *sdev; in scsi_run_host_queues() local
594 static void scsi_run_queue_async(struct scsi_device *sdev) in scsi_run_queue_async()
628 struct scsi_device *sdev = cmd->device; in scsi_end_request() local
1089 static inline bool scsi_cmd_needs_dma_drain(struct scsi_device *sdev, in scsi_cmd_needs_dma_drain()
1111 struct scsi_device *sdev = cmd->device; in scsi_alloc_sgtables() local
1256 static blk_status_t scsi_setup_scsi_cmnd(struct scsi_device *sdev, in scsi_setup_scsi_cmnd()
1282 scsi_device_state_check(struct scsi_device *sdev, struct request *req) in scsi_device_state_check()
1335 struct scsi_device *sdev) in scsi_dev_queue_ready()
1367 struct scsi_device *sdev) in scsi_target_queue_ready()
1423 struct scsi_device *sdev, in scsi_host_queue_ready()
1480 struct scsi_device *sdev = q->queuedata; in scsi_mq_lld_busy() local
1630 struct scsi_device *sdev = req->q->queuedata; in scsi_prepare_cmd() local
1733 struct scsi_device *sdev = q->queuedata; in scsi_mq_put_budget() local
1747 struct scsi_device *sdev = q->queuedata; in scsi_mq_get_budget() local
1795 struct scsi_device *sdev = q->queuedata; in scsi_queue_rq() local
2098 struct scsi_device *sdev = NULL; in scsi_device_from_queue() local
2170 int scsi_mode_select(struct scsi_device *sdev, int pf, int sp, in scsi_mode_select()
2252 scsi_mode_sense(struct scsi_device *sdev, int dbd, int modepage, int subpage, in scsi_mode_sense()
2380 scsi_test_unit_ready(struct scsi_device *sdev, int timeout, int retries, in scsi_test_unit_ready()
2414 scsi_device_set_state(struct scsi_device *sdev, enum scsi_device_state state) in scsi_device_set_state()
2540 static void scsi_evt_emit(struct scsi_device *sdev, struct scsi_event *evt) in scsi_evt_emit()
2590 struct scsi_device *sdev; in scsi_evt_thread() local
2628 void sdev_evt_send(struct scsi_device *sdev, struct scsi_event *evt) in sdev_evt_send()
2693 void sdev_evt_send_simple(struct scsi_device *sdev, in sdev_evt_send_simple()
2721 scsi_device_quiesce(struct scsi_device *sdev) in scsi_device_quiesce()
2769 void scsi_device_resume(struct scsi_device *sdev) in scsi_device_resume()
2787 device_quiesce_fn(struct scsi_device *sdev, void *data) in device_quiesce_fn()
2800 device_resume_fn(struct scsi_device *sdev, void *data) in device_resume_fn()
2812 static int __scsi_internal_device_block_nowait(struct scsi_device *sdev) in __scsi_internal_device_block_nowait()
2820 void scsi_start_queue(struct scsi_device *sdev) in scsi_start_queue()
2826 static void scsi_stop_queue(struct scsi_device *sdev) in scsi_stop_queue()
2852 int scsi_internal_device_block_nowait(struct scsi_device *sdev) in scsi_internal_device_block_nowait()
2882 static void scsi_device_block(struct scsi_device *sdev, void *data) in scsi_device_block()
2919 int scsi_internal_device_unblock_nowait(struct scsi_device *sdev, in scsi_internal_device_unblock_nowait()
2972 static int scsi_internal_device_unblock(struct scsi_device *sdev, in scsi_internal_device_unblock()
3015 device_unblock(struct scsi_device *sdev, void *data) in device_unblock()
3052 struct scsi_device *sdev; in scsi_host_block() local
3079 struct scsi_device *sdev; in scsi_host_unblock() local
3153 void sdev_disable_disk_events(struct scsi_device *sdev) in sdev_disable_disk_events()
3159 void sdev_enable_disk_events(struct scsi_device *sdev) in sdev_enable_disk_events()
3253 int scsi_vpd_lun_id(struct scsi_device *sdev, char *id, size_t id_len) in scsi_vpd_lun_id()
3377 int scsi_vpd_tpg_id(struct scsi_device *sdev, int *rel_id) in scsi_vpd_tpg_id()