Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/ata/libata-core.c
- drivers/ata/libata-eh.c, line 2820
- drivers/ata/libata-sff.c, line 1676
- drivers/ata/sata_fsl.c
- drivers/ata/sata_mv.c, line 2935
- drivers/ata/sata_sil24.c, line 743
Smatch caller information:
drivers/ata/sata_sil24.c sil24_hardreset() -> ata_link_offline()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host->iomap | 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 |
| DATA_SOURCE | 0 | link | $0 |
drivers/ata/libata-sff.c ata_sff_prereset() -> ata_link_offline()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 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->class | 0-4294967295 |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 0 | link | (-1),10240 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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-core.c ata_wait_ready() -> ata_link_offline()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->flags | 2-u64max |
| PARAM_VALUE | 0 | link->ap->host | 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->slave_link | 0,4096-ptr_max |
| PARAM_VALUE | 0 | link->device->class | 0-4294967295 |
| PARAM_VALUE | 0 | *link->device->gscr | 0-4294967295 |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 0 | link | (-1),10240 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| BIT_INFO | 0 | link->ap->flags | 0x2,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->pmp | 0-255 |
| HOST_DATA | 0 | link->sata_spd | 0-15 |
| HOST_DATA | 0 | link->sata_spd_limit | 1-u32max[c] |
drivers/ata/libata-eh.c ata_eh_followup_srst_needed() -> ata_link_offline()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| DATA_SOURCE | 0 | link | $0 |
| BIT_INFO | 0 | link->flags | 0x0,0xfffffffb |
drivers/ata/sata_mv.c mv_pci_error() -> ata_link_offline()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &host->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ata_host)->lock |
drivers/ata/sata_fsl.c sata_fsl_hardreset() -> ata_link_offline()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->host->eh_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | link->ap->host->eh_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | link->ap->host->eh_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | link->ap->host->eh_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | link->ap->host->eh_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | link->ap->host->eh_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | link->ap->link.device->link->active_tag | 0-4294967295 |
| PARAM_VALUE | 0 | link->ap->link.device->link->sactive | 0-4294967295 |
| DATA_SOURCE | 0 | link | $0 |
drivers/ata/sata_fsl.c sata_fsl_softreset() -> ata_link_offline()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ap->flags | 524288-u64max |
| PARAM_VALUE | 0 | link->ap->host | 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->class | 0-4294967295 |
| BUF_SIZE | 0 | link | (-1),10240 |
| BUF_SIZE | 0 | link | (-1),10240 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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->sata_spd | 0-15 |
| HOST_DATA | 0 | link->sata_spd_limit | 1-u32max[c] |
| HALF_LOCKED2 | &ap->host->eh_mutex |