Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/ata/libata-eh.c ata_eh_autopsy() -> ata_eh_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->link.device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->ap->link.device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 0 | link->ap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->pflags | 0,8-u32max |
| PARAM_VALUE | 0 | link->device->class | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->hsm_task_state | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->pflags | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 0 | link->eh_context.i.dev_action | 4096-ptr_max |
| PARAM_VALUE | 0 | *link->eh_info->dev_action | 0-4294967295 |
| PARAM_VALUE | 1 | dev | 0 |
| PARAM_VALUE | 2 | action | 15 |
| CAPPED_DATA | 0 | link | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | link->eh_context.i.serror | 0-u32max |
| LOCK2 | &ap->host->eh_mutex | ||
| TYPE_LOCK | (struct ata_host)->eh_mutex |
drivers/ata/libata-eh.c ata_eh_get_success_sense() -> ata_eh_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->active_tag | 0-32 |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->link.device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->ap->link.device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 0 | link->device | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->fastdrain_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->hsm_task_state | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->pflags | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->__state | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->dl.flags | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->mm->mm_cid.max_cids | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->mm->mm_cid.nr_cpus_allowed | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->mm->mm_cid.pcpu_thrs | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->mm->mm_cid.update_deferred | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->numa_scan_period | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->on_rq | s32min-s32max |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->psi_flags | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->rt.time_slice | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->saved_state | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->host_eh_scheduled | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->shost_state | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 0 | link->eh_context.i.dev_action | 4096-ptr_max |
| PARAM_VALUE | 0 | link->sactive | 0 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | action | 64 |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 1 | dev | 8064 |
| BUF_SIZE | 1 | dev | 8064 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | link->ap->last_ctl | 0-255 |
| HOST_DATA | 0 | link->ap->link.eh_info.serror | 0-u32max |
| HOST_DATA | 0 | link->eh_context.i.serror | 0-u32max |
| HOST_DATA | 0 | link->eh_info.serror | 0-u32max |
| HOST_DATA | 0 | link->hw_sata_spd_limit | 0-u32max[c] |
| HOST_DATA | 0 | link->pmp | 0-255 |
| HOST_DATA | 0 | link->sata_spd_limit | 0-u32max[c] |
| HOST_DATA | 0 | link->saved_scontrol | 0-u32max |
| LOCK2 | &ap->host->eh_mutex | ||
| TYPE_LOCK | (struct ata_host)->eh_mutex |
drivers/ata/libata-eh.c ata_eh_get_success_sense() -> ata_eh_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->link.device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->ap->link.device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 0 | link->device | 4096-ptr_max |
| PARAM_VALUE | 0 | link->device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->fastdrain_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->hsm_task_state | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->pflags | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->__state | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->dl.flags | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->mm->mm_cid.max_cids | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->mm->mm_cid.nr_cpus_allowed | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->mm->mm_cid.pcpu_thrs | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->mm->mm_cid.update_deferred | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->numa_scan_period | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->on_rq | s32min-s32max |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->psi_flags | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->rt.time_slice | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->ehandler->saved_state | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->host_eh_scheduled | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->ap->scsi_host->shost_state | 0-4294967295 |
| PARAM_VALUE | 0 | link->device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 0 | link->eh_context.i.dev_action | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | action | 64 |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 1 | dev | 8064 |
| BUF_SIZE | 1 | dev | 8064 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | link->ap->last_ctl | 0-255 |
| HOST_DATA | 0 | link->ap->link.eh_info.serror | 0-u32max |
| HOST_DATA | 0 | link->eh_context.i.serror | 0-u32max |
| HOST_DATA | 0 | link->eh_info.serror | 0-u32max |
| HOST_DATA | 0 | link->hw_sata_spd_limit | 0-u32max[c] |
| HOST_DATA | 0 | link->pmp | 0-255 |
| HOST_DATA | 0 | link->sata_spd_limit | 0-u32max[c] |
| HOST_DATA | 0 | link->saved_scontrol | 0-u32max |
| LOCK2 | &ap->host->eh_mutex | ||
| TYPE_LOCK | (struct ata_host)->eh_mutex |
drivers/ata/libata-eh.c ata_eh_recover() -> ata_eh_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | link->eh_context.i.action | 8-u32max |
| PARAM_VALUE | 0 | *link->eh_info->dev_action | 0-4294967295 |
| PARAM_VALUE | 1 | dev | 0 |
| PARAM_VALUE | 2 | action | 8 |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 0 | link | (-1),10240 |
| CAPPED_DATA | 0 | link | 1 |
| BIT_INFO | 0 | link->flags | 0x0,0xffffffbf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | link->eh_context.i.serror | 0-u32max |
| HOST_DATA | 0 | link->eh_info.serror | 0-u32max |
| HOST_DATA | 0 | link->hw_sata_spd_limit | 0-u32max[c] |
| HOST_DATA | 0 | link->pmp | 0-255 |
| HOST_DATA | 0 | link->sata_spd_limit | 0-u32max[c] |
| HOST_DATA | 0 | link->saved_scontrol | 0-u32max |
| LOCK2 | &ap->host->eh_mutex | ||
| TYPE_LOCK | (struct ata_host)->eh_mutex |
drivers/ata/libata-eh.c ata_eh_revalidate_and_attach() -> ata_eh_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->link.device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->ap->link.device->link->sactive | 0-4294967295 |
| PARAM_VALUE | 0 | link->ap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | link->eh_context.classes | 4096-ptr_max |
| PARAM_VALUE | 0 | *link->eh_info->dev_action | 0-4294967295 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->cdl | 0 |
| PARAM_VALUE | 1 | dev->class | 1-10 |
| PARAM_VALUE | 1 | dev->link | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->link->ap | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->link->ap->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | dev->link->ap->scsi_host->ehandler->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 1 | dev->tdev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | dev->udma_mask | 0-255 |
| PARAM_VALUE | 1 | dev->zpodd | 0,4096-ptr_max |
| PARAM_VALUE | 1 | *dev->devslp_timing | 0-255 |
| PARAM_VALUE | 1 | *dev->gp_log_dir | 0-255 |
| PARAM_VALUE | 1 | *dev->id | 0-u16max |
| PARAM_VALUE | 1 | *dev->ncq_non_data_cmds | 0-255 |
| PARAM_VALUE | 1 | *dev->ncq_send_recv_cmds | 0-255 |
| PARAM_VALUE | 2 | action | 1 |
| BUF_SIZE | 1 | dev | (-1),8064 |
| BUF_SIZE | 1 | dev | (-1),8064 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| NOCHECK_CALL | |||
| HOST_DATA | 1 | dev->link->ap->last_ctl | 0-255 |
| HOST_DATA | 1 | dev->link->ap->link.eh_info.serror | 0-u32max |
| HOST_DATA | 1 | dev->link->ap->link.pmp | 0-255 |
| HOST_DATA | 1 | dev->n_native_sectors | 1-281474976710656[c] |
drivers/ata/libata-pmp.c sata_pmp_revalidate() -> ata_eh_done()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->pflags | 0,8-u32max |
| PARAM_VALUE | 0 | *link->eh_info->dev_action | 0-4294967295 |
| PARAM_VALUE | 1 | dev | 0 |
| PARAM_VALUE | 2 | action | 1 |
| CAPPED_DATA | 0 | link | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ap->host->eh_mutex | ||
| TYPE_LOCK | (struct ata_host)->eh_mutex |