Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/ata/libata-core.c async_port_probe() -> ata_port_wait_eh()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->fastdrain_cnt 1-u32max
PARAM_VALUE 0 ap->fastdrain_timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 ap->fastdrain_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 ap->host 4096-ptr_max
PARAM_VALUE 0 ap->link.eh_info.action 0,2-u32max
PARAM_VALUE 0 ap->link.eh_info.flags 0,4-u32max
PARAM_VALUE 0 ap->lock 4096-ptr_max
PARAM_VALUE 0 ap->lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sched_eh 4096-ptr_max
PARAM_VALUE 0 ap->private_data->port->ha->eh_active s32min-s32max
PARAM_VALUE 0 ap->private_data->port->ha->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->scsi_host->eh_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ap->scsi_host->host_lock->rlock.dep_map->name 0-255
BUF_SIZE 0 ap (-1)-0,16,24,56,64,120,1616,7104
BUF_SIZE 0 ap (-1)-0,16,24,56,64,120,1616,7104
DATA_SOURCE 0 ap $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/ata/libata-core.c ata_port_detach() -> ata_port_wait_eh()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
DATA_SOURCE 0 ap $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/ata/libata-core.c ata_port_detach() -> ata_port_wait_eh()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->fastdrain_cnt 1-u32max
PARAM_VALUE 0 ap->fastdrain_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 ap->host->eh_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ap->lock 4096-ptr_max
PARAM_VALUE 0 ap->lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sched_eh 4096-ptr_max
PARAM_VALUE 0 ap->private_data->port->ha->eh_active s32min-s32max
PARAM_VALUE 0 ap->private_data->port->ha->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->scsi_host 4096-ptr_max
PARAM_VALUE 0 ap->scsi_host->eh_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ap->scsi_host->host_lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->scsi_host->tmf_in_progress 0
PARAM_VALUE 0 ap->scsi_scan_mutex.dep_map->name 0-255
PARAM_VALUE 0 ap->scsi_scan_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ap->scsi_scan_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ap->scsi_scan_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ap->scsi_scan_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ap->scsi_scan_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ap->scsi_scan_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ap->scsi_scan_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ap->scsi_scan_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ap->scsi_scan_mutex.wait_lock.dep_map->name 0-255
CAPPED_DATA 0 &ap->scsi_scan_mutex 1
DATA_SOURCE 0 ap $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/ata/libata-core.c ata_port_request_pm() -> ata_port_wait_eh()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->lock 4096-ptr_max
PARAM_VALUE 0 ap->lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->pflags 262144-u32max
DATA_SOURCE 0 ap $0
BIT_INFO 0 ap->pflags 0x40000,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &port->ha->disco_mutex

drivers/ata/libata-core.c ata_port_request_pm() -> ata_port_wait_eh()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->fastdrain_cnt 1-u32max
PARAM_VALUE 0 ap->fastdrain_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 ap->lock 4096-ptr_max
PARAM_VALUE 0 ap->lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sched_eh 4096-ptr_max
PARAM_VALUE 0 ap->private_data->port->ha->eh_active s32min-s32max
PARAM_VALUE 0 ap->private_data->port->ha->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->scsi_host->eh_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ap->scsi_host->host_lock->rlock.dep_map->name 0-255
DATA_SOURCE 0 ap $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &port->ha->disco_mutex

drivers/scsi/libsas/sas_ata.c sas_ata_wait_eh() -> ata_port_wait_eh()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/ata/libata-scsi.c ata_scsi_unlock_native_capacity() -> ata_port_wait_eh()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->host 0,4096-ptr_max
PARAM_VALUE 0 ap->host->dev 0,4096-ptr_max
PARAM_VALUE 0 ap->lock 4096-ptr_max
PARAM_VALUE 0 ap->lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->ops->sched_eh 0,4096-ptr_max
BUF_SIZE 0 ap 4768
BUF_SIZE 0 ap 4768
DATA_SOURCE 0 ap r ata_shost_to_port
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &disk->open_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gendisk)->open_mutex

drivers/ata/libata-scsi.c ata_scsi_user_scan() -> ata_port_wait_eh()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->fastdrain_cnt 1-u32max
PARAM_VALUE 0 ap->fastdrain_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 ap->lock 4096-ptr_max
PARAM_VALUE 0 ap->lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sched_eh 4096-ptr_max
PARAM_VALUE 0 ap->private_data->port->ha->eh_active s32min-s32max
PARAM_VALUE 0 ap->private_data->port->ha->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->scsi_host->eh_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ap->scsi_host->host_lock->rlock.dep_map->name 0-255
BUF_SIZE 0 ap 4768
BUF_SIZE 0 ap 4768
DATA_SOURCE 0 ap r ata_shost_to_port
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex

drivers/ata/libata-acpi.c ata_acpi_handle_hotplug() -> ata_port_wait_eh()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->fastdrain_cnt 1-u32max
PARAM_VALUE 0 ap->fastdrain_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 ap->lock 4096-ptr_max
PARAM_VALUE 0 ap->lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->ops 4096-ptr_max
PARAM_VALUE 0 ap->ops->sched_eh 4096-ptr_max
PARAM_VALUE 0 ap->private_data->port->ha->eh_active s32min-s32max
PARAM_VALUE 0 ap->private_data->port->ha->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->scsi_host->eh_work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ap->scsi_host->host_lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 *ap->link.eh_info->desc 0-255
CAPPED_DATA 0 ap 1
DATA_SOURCE 0 ap $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &acpi_scan_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &device_hotplug_lock