Home
last modified time | relevance | path

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

/linux-2.6.39/include/scsi/
Dsas_ata.h41 void sas_ata_task_abort(struct sas_task *task);
43 int sas_ata_timed_out(struct scsi_cmnd *cmd, struct sas_task *task,
60 static inline void sas_ata_task_abort(struct sas_task *task) in sas_ata_task_abort()
69 struct sas_task *task, in sas_ata_timed_out()
Dlibsas.h525 struct sas_task { struct
550 void (*task_done)(struct sas_task *); argument
566 static inline struct sas_task *sas_alloc_task(gfp_t flags) in sas_alloc_task() argument
568 struct sas_task *task = kmem_cache_zalloc(sas_task_cache, flags); in sas_alloc_task()
581 static inline void sas_free_task(struct sas_task *task) in sas_free_task()
598 int (*lldd_execute_task)(struct sas_task *, int num,
602 int (*lldd_abort_task)(struct sas_task *);
608 int (*lldd_query_task)(struct sas_task *);
625 int sas_queue_up(struct sas_task *task);
658 void sas_task_abort(struct sas_task *);
[all …]
/linux-2.6.39/drivers/scsi/aic94xx/
Daic94xx.h81 int asd_execute_task(struct sas_task *, int num, gfp_t gfp_flags);
84 int asd_abort_task(struct sas_task *);
90 int asd_query_task(struct sas_task *);
Daic94xx_task.c54 static int asd_map_scatterlist(struct sas_task *task, in asd_map_scatterlist()
137 struct sas_task *task = ascb->uldd_task; in asd_unmap_scatterlist()
162 struct sas_task *task = ascb->uldd_task; in asd_get_response_tasklet()
215 struct sas_task *task = ascb->uldd_task; in asd_task_tasklet_complete()
364 static int asd_build_ata_ascb(struct asd_ascb *ascb, struct sas_task *task, in asd_build_ata_ascb()
432 static int asd_build_smp_ascb(struct asd_ascb *ascb, struct sas_task *task, in asd_build_smp_ascb()
471 struct sas_task *task = a->uldd_task; in asd_unbuild_smp_ascb()
482 static int asd_build_ssp_ascb(struct asd_ascb *ascb, struct sas_task *task, in asd_build_ssp_ascb()
545 int asd_execute_task(struct sas_task *task, const int num, in asd_execute_task()
550 struct sas_task *t = task; in asd_execute_task()
[all …]
Daic94xx_tmf.c230 static int asd_clear_nexus_tag(struct sas_task *task) in asd_clear_nexus_tag()
245 static int asd_clear_nexus_index(struct sas_task *task) in asd_clear_nexus_index()
340 static int asd_clear_nexus(struct sas_task *task) in asd_clear_nexus()
402 int asd_abort_task(struct sas_task *task) in asd_abort_task()
700 int asd_query_task(struct sas_task *task) in asd_query_task()
Daic94xx_scb.c461 struct sas_task *task = a->uldd_task; in escb_tasklet_complete()
487 struct sas_task *task = a->uldd_task; in escb_tasklet_complete()
501 struct sas_task *last_dev_task = NULL; in escb_tasklet_complete()
513 struct sas_task *task = a->uldd_task; in escb_tasklet_complete()
539 struct sas_task *task = a->uldd_task; in escb_tasklet_complete()
/linux-2.6.39/drivers/scsi/pm8001/
Dpm8001_sas.c49 static int pm8001_find_tag(struct sas_task *task, u32 *tag) in pm8001_find_tag()
271 u32 pm8001_get_ncq_tag(struct sas_task *task, u32 *tag) in pm8001_get_ncq_tag()
361 static int pm8001_task_exec(struct sas_task *task, const int num, in pm8001_task_exec()
368 struct sas_task *t = task; in pm8001_task_exec()
417 struct sas_task, list); in pm8001_task_exec()
426 struct sas_task, list); in pm8001_task_exec()
489 t = list_entry(t->list.next, struct sas_task, list); in pm8001_task_exec()
515 int pm8001_queue_command(struct sas_task *task, const int num, in pm8001_queue_command()
534 struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx) in pm8001_ccb_task_free()
675 static struct sas_task *pm8001_alloc_task(void) in pm8001_alloc_task()
[all …]
Dpm8001_sas.h231 struct sas_task *task;
468 u32 pm8001_get_ncq_tag(struct sas_task *task, u32 *tag);
471 struct sas_task *task, struct pm8001_ccb_info *ccb, u32 ccb_idx);
478 int pm8001_queue_command(struct sas_task *task, const int num,
480 int pm8001_abort_task(struct sas_task *task);
488 int pm8001_query_task(struct sas_task *task);
Dpm8001_hwi.c1449 struct sas_task *t; in mpi_ssp_completion()
1685 struct sas_task *t; in mpi_ssp_event()
1877 struct sas_task *t; in mpi_sata_completion()
2208 struct sas_task *t; in mpi_sata_event()
2422 struct sas_task *t; in mpi_smp_completion()
3231 struct sas_task *t; in mpi_task_abort_resp()
3730 struct sas_task *task = ccb->task; in pm8001_chip_smp_req()
3794 struct sas_task *task = ccb->task; in pm8001_chip_ssp_io_req()
3845 struct sas_task *task = ccb->task; in pm8001_chip_sata_req()
4160 struct sas_task *task = ccb->task; in pm8001_chip_ssp_tm_req()
/linux-2.6.39/drivers/scsi/libsas/
Dsas_scsi_host.c53 static void sas_scsi_task_done(struct sas_task *task) in sas_scsi_task_done()
133 static struct sas_task *sas_create_task(struct scsi_cmnd *cmd, in sas_create_task()
137 struct sas_task *task = sas_alloc_task(gfp_flags); in sas_create_task()
165 int sas_queue_up(struct sas_task *task) in sas_queue_up()
208 struct sas_task *task; in sas_queuecommand_lck()
260 struct sas_task *task = TO_SAS_TASK(cmd); in DEF_SCSI_QCMD()
324 static enum task_disposition sas_scsi_find_task(struct sas_task *task) in sas_scsi_find_task()
334 struct sas_task *t, *n; in sas_scsi_find_task()
533 struct sas_task *task = TO_SAS_TASK(cmd); in sas_eh_handle_sas_errors()
682 struct sas_task *task = TO_SAS_TASK(cmd); in sas_scsi_timed_out()
[all …]
Dsas_ata.c93 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()
294 struct sas_task *task = qc->lldd_task; in sas_ata_post_internal()
360 void sas_ata_task_abort(struct sas_task *task) in sas_ata_task_abort()
387 struct sas_task *task = (void *) _task; in sas_task_timedout()
398 static void sas_disc_task_done(struct sas_task *task) in sas_disc_task_done()
414 static int sas_execute_task(struct sas_task *task, void *buffer, int size, in sas_execute_task()
599 struct sas_task *task; in sas_issue_ata_cmd()
761 int sas_ata_timed_out(struct scsi_cmnd *cmd, struct sas_task *task, in sas_ata_timed_out()
DMakefile33 sas_task.o
Dsas_task.c6 void sas_ssp_task_response(struct device *dev, struct sas_task *task, in sas_ssp_task_response()
Dsas_init.c296 sas_task_cache = kmem_cache_create("sas_task", sizeof(struct sas_task), in sas_class_init()
Dsas_expander.c45 struct sas_task *task = (void *) _task; in smp_task_timedout()
56 static void smp_task_done(struct sas_task *task) in smp_task_done()
70 struct sas_task *task = NULL; in smp_execute_task()
/linux-2.6.39/drivers/scsi/mvsas/
Dmv_sas.c27 static int mvs_find_tag(struct mvs_info *mvi, struct sas_task *task, u32 *tag) in mvs_find_tag()
451 struct sas_task *task = tei->task; in mvs_task_prep_smp()
572 static u32 mvs_get_ncq_tag(struct sas_task *task, u32 *tag) in mvs_get_ncq_tag()
590 struct sas_task *task = tei->task; in mvs_task_prep_ata()
729 struct sas_task *task = tei->task; in mvs_task_prep_ssp()
865 static int mvs_task_exec(struct sas_task *task, const int num, gfp_t gfp_flags, in mvs_task_exec()
873 struct sas_task *t = task; in mvs_task_exec()
927 struct sas_task, list); in mvs_task_exec()
936 struct sas_task, list); in mvs_task_exec()
1010 t = list_entry(t->list.next, struct sas_task, list); in mvs_task_exec()
[all …]
Dmv_sas.h253 struct sas_task *task;
363 struct sas_task *task;
389 int mvs_queue_command(struct sas_task *task, const int num,
391 int mvs_abort_task(struct sas_task *task);
402 int mvs_query_task(struct sas_task *task);
/linux-2.6.39/Documentation/scsi/
Dlibsas.txt177 int (*lldd_abort_task)(struct sas_task *);
183 int (*lldd_query_task)(struct sas_task *);
328 int (*lldd_execute_task)(struct sas_task *, int num,
349 initializing the list element of struct sas_task, and
390 struct sas_task {