Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

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->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->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 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->shost_state 0-4,8-u32max
PARAM_VALUE 0 ap->scsi_host->tmf_in_progress 0
PARAM_VALUE 1 sync 1
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-scsi.c ata_scsi_hotplug() -> ata_scsi_scan_host()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->link.ap->lock->rlock.dep_map->name 0-255
PARAM_VALUE 0 ap->pmp_link 0,4096-ptr_max
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.osq.tail.counter 0-s32max
PARAM_VALUE 0 ap->scsi_scan_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ap->scsi_scan_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ap->scsi_scan_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 sync 0
CAPPED_DATA 0 &ap->link 1
CAPPED_DATA 0 &ap->scsi_scan_mutex 1
BIT_INFO 0 ap->pflags 0x0,0xfffffdff
NOCHECK_CALL
LOCK2 0 &ap->scsi_scan_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ata_port)->scsi_scan_mutex