Home
last modified time | relevance | path

Searched refs:sas_task (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/include/scsi/
Dlibsas.h573 struct sas_task { struct
593 void (*task_done)(struct sas_task *); argument
606 struct sas_task *task; argument
615 extern struct sas_task *sas_alloc_task(gfp_t flags);
616 extern struct sas_task *sas_alloc_slow_task(gfp_t flags);
617 extern void sas_free_task(struct sas_task *task);
628 int (*lldd_execute_task)(struct sas_task *, gfp_t gfp_flags);
631 int (*lldd_abort_task)(struct sas_task *);
639 int (*lldd_query_task)(struct sas_task *);
688 void sas_task_abort(struct sas_task *);
[all …]
Dsas_ata.h26 void sas_ata_task_abort(struct sas_task *task);
47 static inline void sas_ata_task_abort(struct sas_task *task) in sas_ata_task_abort()
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
Daic94xx.h56 int asd_execute_task(struct sas_task *task, gfp_t gfp_flags);
61 int asd_abort_task(struct sas_task *);
67 int asd_query_task(struct sas_task *);
Daic94xx_task.c36 static int asd_map_scatterlist(struct sas_task *task, in asd_map_scatterlist()
122 struct sas_task *task = ascb->uldd_task; in asd_unmap_scatterlist()
147 struct sas_task *task = ascb->uldd_task; in asd_get_response_tasklet()
200 struct sas_task *task = ascb->uldd_task; in asd_task_tasklet_complete()
349 static int asd_build_ata_ascb(struct asd_ascb *ascb, struct sas_task *task, in asd_build_ata_ascb()
417 static int asd_build_smp_ascb(struct asd_ascb *ascb, struct sas_task *task, in asd_build_smp_ascb()
456 struct sas_task *task = a->uldd_task; in asd_unbuild_smp_ascb()
467 static int asd_build_ssp_ascb(struct asd_ascb *ascb, struct sas_task *task, in asd_build_ssp_ascb()
531 int asd_execute_task(struct sas_task *task, gfp_t gfp_flags) in asd_execute_task()
535 struct sas_task *t = task; in asd_execute_task()
Daic94xx_tmf.c214 static int asd_clear_nexus_tag(struct sas_task *task) in asd_clear_nexus_tag()
229 static int asd_clear_nexus_index(struct sas_task *task) in asd_clear_nexus_index()
324 static int asd_clear_nexus(struct sas_task *task) in asd_clear_nexus()
386 int asd_abort_task(struct sas_task *task) in asd_abort_task()
684 int asd_query_task(struct sas_task *task) in asd_query_task()
Daic94xx_scb.c441 struct sas_task *task = a->uldd_task; in escb_tasklet_complete()
467 struct sas_task *task = a->uldd_task; in escb_tasklet_complete()
481 struct sas_task *last_dev_task = NULL; in escb_tasklet_complete()
493 struct sas_task *task = a->uldd_task; in escb_tasklet_complete()
519 struct sas_task *task = a->uldd_task; in escb_tasklet_complete()
/kernel/linux/linux-5.10/drivers/scsi/isci/
Dtask.h133 struct sas_task *task,
137 struct sas_task *task);
152 struct sas_task *task);
Drequest.h94 struct sas_task *io_task_ptr; /* When ttype==io_task */
294 struct sas_task *task, u16 tag);
303 static inline int isci_task_is_ncq_recovery(struct sas_task *task) in isci_task_is_ncq_recovery()
Drequest.c116 struct sas_task *task = isci_request_access_task(ireq); in sci_request_build_sgl()
174 struct sas_task *task = isci_request_access_task(ireq); in sci_io_request_build_ssp_command_iu()
194 struct sas_task *task = isci_request_access_task(ireq); in sci_task_request_build_ssp_task_iu()
423 struct sas_task *sas_task = ireq->ttype_ptr.io_task_ptr; in scu_ssp_io_request_construct_task_context() local
424 struct scsi_cmnd *scmd = sas_task->uldd_task; in scu_ssp_io_request_construct_task_context()
644 struct sas_task *task; in sci_atapi_construct()
672 struct sas_task *task = isci_request_access_task(ireq); in sci_io_request_construct_sata()
731 struct sas_task *task = isci_request_access_task(ireq); in sci_io_request_construct_basic_ssp()
764 struct sas_task *task = isci_request_access_task(ireq); in sci_io_request_construct_basic_sata()
1414 struct sas_task *task; in sci_stp_request_pio_data_in_copy_data_buffer()
[all …]
Dtask.c76 static void isci_task_refuse(struct isci_host *ihost, struct sas_task *task, in isci_task_refuse()
104 task = list_entry(task->list.next, struct sas_task, list))
108 struct sas_task *task) in isci_device_io_ready()
124 int isci_task_execute_task(struct sas_task *task, gfp_t gfp_flags) in isci_task_execute_task()
478 int isci_task_abort_task(struct sas_task *task) in isci_task_abort_task()
676 struct sas_task *task) in isci_task_query_task()
Dhost.h478 void ireq_done(struct isci_host *ihost, struct isci_request *ireq, struct sas_task *task);
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
Dpm8001_sas.h284 struct sas_task *task;
635 u32 pm8001_get_ncq_tag(struct sas_task *task, u32 *tag);
637 struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx);
642 int pm8001_queue_command(struct sas_task *task, gfp_t gfp_flags);
643 int pm8001_abort_task(struct sas_task *task);
652 int pm8001_query_task(struct sas_task *task);
655 struct sas_task *task_to_close,
709 struct sas_task *pm8001_alloc_task(void);
710 void pm8001_task_done(struct sas_task *task);
711 void pm8001_free_task(struct sas_task *task);
[all …]
Dpm8001_sas.c49 static int pm8001_find_tag(struct sas_task *task, u32 *tag) in pm8001_find_tag()
304 u32 pm8001_get_ncq_tag(struct sas_task *task, u32 *tag) in pm8001_get_ncq_tag()
380 static int pm8001_task_exec(struct sas_task *task, in pm8001_task_exec()
387 struct sas_task *t = task; in pm8001_task_exec()
515 int pm8001_queue_command(struct sas_task *task, gfp_t gfp_flags) in pm8001_queue_command()
528 struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx) in pm8001_ccb_task_free()
685 void pm8001_task_done(struct sas_task *task) in pm8001_task_done()
694 struct sas_task *task = slow->task; in pm8001_tmf_timedout()
721 struct sas_task *task = NULL; in pm8001_exec_internal_tmf_task()
809 struct sas_task *task = NULL; in pm8001_exec_internal_task_abort()
[all …]
Dpm8001_hwi.c1515 struct sas_task *t = (struct sas_task *)pm8001_dev; in pm8001_work_fn()
1573 struct sas_task *t = (struct sas_task *)pm8001_dev; in pm8001_work_fn()
1702 struct sas_task *task = NULL; in pm8001_send_abort_all()
1756 struct sas_task *task = NULL; in pm8001_send_read_log()
1838 struct sas_task *t; in mpi_ssp_completion()
2070 struct sas_task *t; in mpi_ssp_event()
2239 struct sas_task *t; in mpi_sata_completion()
2638 struct sas_task *t; in mpi_sata_event()
2837 struct sas_task *t; in mpi_smp_completion()
3624 struct sas_task *t; in pm8001_mpi_task_abort_resp()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_scsi_host.c37 static void sas_end_task(struct scsi_cmnd *sc, struct sas_task *task) in sas_end_task()
101 static void sas_scsi_task_done(struct sas_task *task) in sas_scsi_task_done()
131 static struct sas_task *sas_create_task(struct scsi_cmnd *cmd, in sas_create_task()
135 struct sas_task *task = sas_alloc_task(gfp_flags); in sas_create_task()
167 struct sas_task *task; in sas_queuecommand()
209 struct sas_task *task = TO_SAS_TASK(cmd); in sas_eh_finish_cmd()
278 static enum task_disposition sas_scsi_find_task(struct sas_task *task) in sas_scsi_find_task()
463 struct sas_task *task = TO_SAS_TASK(cmd); in sas_eh_abort_handler()
569 struct sas_task *task; in sas_eh_handle_sas_errors()
585 struct sas_task *task = TO_SAS_TASK(cmd); in sas_eh_handle_sas_errors()
[all …]
Dsas_init.c27 struct sas_task *sas_alloc_task(gfp_t flags) in sas_alloc_task()
29 struct sas_task *task = kmem_cache_zalloc(sas_task_cache, flags); in sas_alloc_task()
40 struct sas_task *sas_alloc_slow_task(gfp_t flags) in sas_alloc_slow_task()
42 struct sas_task *task = sas_alloc_task(flags); in sas_alloc_slow_task()
61 void sas_free_task(struct sas_task *task) in sas_free_task()
644 sas_task_cache = KMEM_CACHE(sas_task, SLAB_HWCACHE_ALIGN); in sas_class_init()
DMakefile17 sas_task.o
Dsas_task.c11 void sas_ssp_task_response(struct device *dev, struct sas_task *task, in sas_ssp_task_response()
Dsas_ata.c81 static void sas_ata_task_done(struct sas_task *task) in sas_ata_task_done()
165 struct sas_task *task; in sas_ata_qc_issue()
412 static void sas_ata_internal_abort(struct sas_task *task) in sas_ata_internal_abort()
467 struct sas_task *task = qc->lldd_task; in sas_ata_post_internal()
597 void sas_ata_task_abort(struct sas_task *task) in sas_ata_task_abort()
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
Dmv_sas.h309 struct sas_task *task;
418 struct sas_task *task;
441 int mvs_queue_command(struct sas_task *task, gfp_t gfp_flags);
442 int mvs_abort_task(struct sas_task *task);
453 int mvs_query_task(struct sas_task *task);
Dmv_sas.c12 static int mvs_find_tag(struct mvs_info *mvi, struct sas_task *task, u32 *tag) in mvs_find_tag()
302 struct sas_task *task = tei->task; in mvs_task_prep_smp()
408 static u32 mvs_get_ncq_tag(struct sas_task *task, u32 *tag) in mvs_get_ncq_tag()
429 struct sas_task *task = tei->task; in mvs_task_prep_ata()
556 struct sas_task *task = tei->task; in mvs_task_prep_ssp()
693 static int mvs_task_prep(struct sas_task *task, struct mvs_info *mvi, int is_tmf, in mvs_task_prep()
838 static int mvs_task_exec(struct sas_task *task, gfp_t gfp_flags, in mvs_task_exec()
862 int mvs_queue_command(struct sas_task *task, gfp_t gfp_flags) in mvs_queue_command()
873 static void mvs_slot_task_free(struct mvs_info *mvi, struct sas_task *task, in mvs_slot_task_free()
1260 static void mvs_task_done(struct sas_task *task) in mvs_task_done()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
Dhisi_sas.h224 struct sas_task *task;
648 extern void hisi_sas_sata_done(struct sas_task *task,
663 struct sas_task *task,
Dhisi_sas_main.c104 void hisi_sas_sata_done(struct sas_task *task, in hisi_sas_sata_done()
217 void hisi_sas_slot_task_free(struct hisi_hba *hisi_hba, struct sas_task *task, in hisi_sas_slot_task_free()
284 struct sas_task *task, int n_elem, in hisi_sas_dma_unmap()
304 struct sas_task *task, int *n_elem, in hisi_sas_dma_map()
354 struct sas_task *task, int n_elem_dif) in hisi_sas_dif_dma_unmap()
369 int *n_elem_dif, struct sas_task *task) in hisi_sas_dif_dma_map()
406 static int hisi_sas_task_prep(struct sas_task *task, in hisi_sas_task_prep()
565 static int hisi_sas_task_exec(struct sas_task *task, gfp_t gfp_flags, in hisi_sas_task_exec()
1002 static void hisi_sas_do_release_task(struct hisi_hba *hisi_hba, struct sas_task *task, in hisi_sas_do_release_task()
1091 static int hisi_sas_queue_command(struct sas_task *task, gfp_t gfp_flags) in hisi_sas_queue_command()
[all …]
Dhisi_sas_v1_hw.c916 struct sas_task *task = slot->task; in prep_smp_v1_hw()
954 struct sas_task *task = slot->task; in prep_ssp_v1_hw()
1051 struct sas_task *task, in slot_err_v1_hw()
1181 struct sas_task *task = slot->task; in slot_complete_v1_hw()
/kernel/linux/linux-5.10/Documentation/scsi/
Dlibsas.rst210 int (*lldd_abort_task)(struct sas_task *);
216 int (*lldd_query_task)(struct sas_task *);
356 int (*lldd_execute_task)(struct sas_task *, gfp_t gfp_flags);
374 struct sas_task {

12