Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/scsi/
Dlibsas.h599 struct sas_task { struct
620 void (*task_done)(struct sas_task *); argument
634 struct sas_task *task; argument
642 extern struct sas_task *sas_alloc_task(gfp_t flags);
643 extern struct sas_task *sas_alloc_slow_task(gfp_t flags);
644 extern void sas_free_task(struct sas_task *task);
646 static inline bool sas_is_internal_abort(struct sas_task *task) in sas_is_internal_abort()
660 int (*lldd_execute_task)(struct sas_task *, gfp_t gfp_flags);
663 int (*lldd_abort_task)(struct sas_task *);
670 int (*lldd_query_task)(struct sas_task *);
[all …]
Dsas_ata.h26 void sas_ata_task_abort(struct sas_task *task);
49 static inline void sas_ata_task_abort(struct sas_task *task) in sas_ata_task_abort()
/linux-6.1.9/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 *);
66 int asd_query_task(struct sas_task *);
Daic94xx_task.c36 static int asd_map_scatterlist(struct sas_task *task, in asd_map_scatterlist()
119 struct sas_task *task = ascb->uldd_task; in asd_unmap_scatterlist()
144 struct sas_task *task = ascb->uldd_task; in asd_get_response_tasklet()
197 struct sas_task *task = ascb->uldd_task; in asd_task_tasklet_complete()
345 static int asd_build_ata_ascb(struct asd_ascb *ascb, struct sas_task *task, in asd_build_ata_ascb()
413 static int asd_build_smp_ascb(struct asd_ascb *ascb, struct sas_task *task, in asd_build_smp_ascb()
452 struct sas_task *task = a->uldd_task; in asd_unbuild_smp_ascb()
463 static int asd_build_ssp_ascb(struct asd_ascb *ascb, struct sas_task *task, in asd_build_ssp_ascb()
527 int asd_execute_task(struct sas_task *task, gfp_t gfp_flags) in asd_execute_task()
531 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()
675 int asd_query_task(struct sas_task *task) in asd_query_task()
Daic94xx_scb.c445 struct sas_task *task = a->uldd_task; in escb_tasklet_complete()
471 struct sas_task *task = a->uldd_task; in escb_tasklet_complete()
485 struct sas_task *last_dev_task = NULL; in escb_tasklet_complete()
497 struct sas_task *task = a->uldd_task; in escb_tasklet_complete()
523 struct sas_task *task = a->uldd_task; in escb_tasklet_complete()
/linux-6.1.9/drivers/scsi/isci/
Drequest.h94 struct sas_task *io_task_ptr; /* When ttype==io_task */
294 struct sas_task *task, struct isci_request *ireq);
296 struct sas_task *task,
306 static inline int isci_task_is_ncq_recovery(struct sas_task *task) in isci_task_is_ncq_recovery()
Dtask.h133 struct sas_task *task,
137 struct sas_task *task);
148 struct sas_task *task);
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()
418 struct sas_task *sas_task = ireq->ttype_ptr.io_task_ptr; in scu_ssp_io_request_construct_task_context() local
419 struct scsi_cmnd *scmd = sas_task->uldd_task; in scu_ssp_io_request_construct_task_context()
639 struct sas_task *task; in sci_atapi_construct()
667 struct sas_task *task = isci_request_access_task(ireq); in sci_io_request_construct_sata()
726 struct sas_task *task = isci_request_access_task(ireq); in sci_io_request_construct_basic_ssp()
759 struct sas_task *task = isci_request_access_task(ireq); in sci_io_request_construct_basic_sata()
1410 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()
103 task = list_entry(task->list.next, struct sas_task, list))
107 struct sas_task *task) in isci_device_io_ready()
123 int isci_task_execute_task(struct sas_task *task, gfp_t gfp_flags) in isci_task_execute_task()
476 int isci_task_abort_task(struct sas_task *task) in isci_task_abort_task()
652 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);
/linux-6.1.9/drivers/scsi/pm8001/
Dpm8001_sas.h286 struct sas_task *task;
640 u32 pm8001_get_ncq_tag(struct sas_task *task, u32 *tag);
647 int pm8001_queue_command(struct sas_task *task, gfp_t gfp_flags);
648 int pm8001_abort_task(struct sas_task *task);
655 int pm8001_query_task(struct sas_task *task);
659 struct sas_task *task_to_close,
711 struct sas_task *pm8001_alloc_task(void);
712 void pm8001_task_done(struct sas_task *task);
713 void pm8001_free_task(struct sas_task *task);
742 struct pm8001_device *dev, struct sas_task *task) in pm8001_ccb_alloc()
[all …]
Dpm8001_sas.c50 static int pm8001_find_tag(struct sas_task *task, u32 *tag) in pm8001_find_tag()
308 u32 pm8001_get_ncq_tag(struct sas_task *task, u32 *tag) in pm8001_get_ncq_tag()
390 struct sas_task *task = ccb->task; in pm8001_deliver_command()
421 int pm8001_queue_command(struct sas_task *task, gfp_t gfp_flags) in pm8001_queue_command()
522 struct sas_task *task = ccb->task; in pm8001_ccb_task_free()
690 void pm8001_task_done(struct sas_task *task) in pm8001_task_done()
739 struct sas_task *task_to_close, in pm8001_open_reject_retry()
751 struct sas_task *task; in pm8001_open_reject_retry()
944 int pm8001_query_task(struct sas_task *task) in pm8001_query_task()
984 int pm8001_abort_task(struct sas_task *task) in pm8001_abort_task()
[all …]
Dpm8001_hwi.c1527 struct sas_task *t = (struct sas_task *)pm8001_dev; in pm8001_work_fn()
1583 struct sas_task *t = (struct sas_task *)pm8001_dev; in pm8001_work_fn()
1687 struct sas_task *task; in pm8001_work_fn()
1755 struct sas_task *task; in pm8001_send_abort_all()
1796 struct sas_task *task = NULL; in pm8001_send_read_log()
1869 struct sas_task *t; in mpi_ssp_completion()
2100 struct sas_task *t; in mpi_ssp_event()
2268 struct sas_task *t; in mpi_sata_completion()
2649 struct sas_task *t; in mpi_sata_event()
2822 struct sas_task *t; in mpi_smp_completion()
[all …]
/linux-6.1.9/drivers/scsi/libsas/
Dsas_scsi_host.c37 static void sas_end_task(struct scsi_cmnd *sc, struct sas_task *task) in sas_end_task()
99 static void sas_scsi_task_done(struct sas_task *task) in sas_scsi_task_done()
129 static struct sas_task *sas_create_task(struct scsi_cmnd *cmd, in sas_create_task()
133 struct sas_task *task = sas_alloc_task(gfp_flags); in sas_create_task()
165 struct sas_task *task; in sas_queuecommand()
208 struct sas_task *task = TO_SAS_TASK(cmd); in sas_eh_finish_cmd()
277 static enum task_disposition sas_scsi_find_task(struct sas_task *task) in sas_scsi_find_task()
464 struct sas_task *task = TO_SAS_TASK(cmd); in sas_eh_abort_handler()
572 struct sas_task *task; in sas_eh_handle_sas_errors()
588 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()
687 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.c73 static void sas_ata_task_done(struct sas_task *task) in sas_ata_task_done()
158 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()
Dsas_internal.h96 void sas_task_internal_done(struct sas_task *task);
/linux-6.1.9/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);
450 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()
307 struct sas_task *task = tei->task; in mvs_task_prep_smp()
413 static u32 mvs_get_ncq_tag(struct sas_task *task, u32 *tag) in mvs_get_ncq_tag()
434 struct sas_task *task = tei->task; in mvs_task_prep_ata()
561 struct sas_task *task = tei->task; in mvs_task_prep_ssp()
698 static int mvs_task_prep(struct sas_task *task, struct mvs_info *mvi, int is_tmf, in mvs_task_prep()
840 int mvs_queue_command(struct sas_task *task, gfp_t gfp_flags) in mvs_queue_command()
870 static void mvs_slot_task_free(struct mvs_info *mvi, struct sas_task *task, in mvs_slot_task_free()
1314 int mvs_query_task(struct sas_task *task) in mvs_query_task()
1345 int mvs_abort_task(struct sas_task *task) in mvs_abort_task()
[all …]
/linux-6.1.9/drivers/scsi/hisi_sas/
Dhisi_sas_main.c102 void hisi_sas_sata_done(struct sas_task *task, in hisi_sas_sata_done()
207 void hisi_sas_slot_task_free(struct hisi_hba *hisi_hba, struct sas_task *task, in hisi_sas_slot_task_free()
277 struct sas_task *task, int n_elem) in hisi_sas_dma_unmap()
293 struct sas_task *task, int *n_elem) in hisi_sas_dma_map()
341 struct sas_task *task, int n_elem_dif) in hisi_sas_dif_dma_unmap()
356 int *n_elem_dif, struct sas_task *task) in hisi_sas_dif_dma_map()
401 struct sas_task *task = slot->task; in hisi_sas_task_deliver()
457 static int hisi_sas_queue_command(struct sas_task *task, gfp_t gfp_flags) in hisi_sas_queue_command()
685 static void hisi_sas_tmf_aborted(struct sas_task *task) in hisi_sas_tmf_aborted()
1041 static void hisi_sas_do_release_task(struct hisi_hba *hisi_hba, struct sas_task *task, in hisi_sas_do_release_task()
[all …]
Dhisi_sas.h235 struct sas_task *task;
636 extern void hisi_sas_sata_done(struct sas_task *task,
654 struct sas_task *task,
/linux-6.1.9/Documentation/scsi/
Dlibsas.rst208 int (*lldd_abort_task)(struct sas_task *);
213 int (*lldd_query_task)(struct sas_task *);
352 int (*lldd_execute_task)(struct sas_task *, gfp_t gfp_flags);
370 struct sas_task {

12