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-core.c ata_port_alloc() -> ata_link_init()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->cbl 0
PARAM_VALUE 0 ap->eh_done_q.next 4096-ptr_max
PARAM_VALUE 0 ap->eh_done_q.next->next 4096-ptr_max
PARAM_VALUE 0 ap->eh_done_q.prev 4096-ptr_max
PARAM_VALUE 0 ap->eh_done_q.prev->next 4096-ptr_max
PARAM_VALUE 0 ap->eh_done_q.prev->prev 4096-ptr_max
PARAM_VALUE 0 ap->eh_wait_q.head.next 4096-ptr_max
PARAM_VALUE 0 ap->eh_wait_q.head.next->next 4096-ptr_max
PARAM_VALUE 0 ap->eh_wait_q.head.prev 4096-ptr_max
PARAM_VALUE 0 ap->eh_wait_q.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ap->eh_wait_q.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ap->fastdrain_timer.entry.pprev 0
PARAM_VALUE 0 ap->fastdrain_timer.flags 0-4194302
PARAM_VALUE 0 ap->fastdrain_timer.lockdep_map->name 0-255
PARAM_VALUE 0 ap->host 4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.first_waiter 0
PARAM_VALUE 0 ap->host->eh_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ap->host->eh_mutex.osq.tail.counter 0
PARAM_VALUE 0 ap->host->eh_mutex.owner.counter 0
PARAM_VALUE 0 ap->host->kref.refcount.refs.counter 1
PARAM_VALUE 0 ap->lock 4096-ptr_max
PARAM_VALUE 0 ap->park_req_pending.done 0
PARAM_VALUE 0 ap->park_req_pending.wait.lock.magic 3735899821
PARAM_VALUE 0 ap->park_req_pending.wait.lock.owner (-1)
PARAM_VALUE 0 ap->park_req_pending.wait.lock.owner_cpu u32max
PARAM_VALUE 0 ap->park_req_pending.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 ap->park_req_pending.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 ap->park_req_pending.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 ap->park_req_pending.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ap->park_req_pending.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ap->pflags 0,4-u32max
PARAM_VALUE 0 ap->print_id 0-s32max
PARAM_VALUE 0 ap->scsi_scan_mutex.dep_map->name 0-255
PARAM_VALUE 0 ap->scsi_scan_mutex.first_waiter 0
PARAM_VALUE 0 ap->scsi_scan_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ap->scsi_scan_mutex.osq.tail.counter 0
PARAM_VALUE 0 ap->scsi_scan_mutex.owner.counter 0
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 pmp 0
BUF_SIZE 0 ap 21248
BUF_SIZE 0 ap->dev (-1),1616
BUF_SIZE 0 ap->host (-1),296
BUF_SIZE 0 ap->lock 72
DATA_SOURCE 0 ap r _kzalloc_noprof
BIT_INFO 0 ap->pflags 0x84,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ap->host->n_ports 2-32[c]

drivers/ata/libata-pmp.c sata_pmp_init_links() -> ata_link_init()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 0 ap->flags 524288-u64max
PARAM_VALUE 0 ap->pmp_link 0
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 pmp 0-14
DATA_SOURCE 0 ap $0
FUZZY_MAX 2 pmp 14
HARD_MAX 2 pmp 14
NOCHECK_CALL

drivers/ata/libata-sata.c ata_slave_link_init() -> ata_link_init()

Type Parameter Key Value
PARAM_VALUE 0 ap 4096-ptr_max
PARAM_VALUE 1 link 4096-ptr_max
PARAM_VALUE 2 pmp 1
BUF_SIZE 0 ap->ops (-1),480
BUF_SIZE 1 link 10240
DATA_SOURCE 0 ap $0
DATA_SOURCE 1 link r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL