Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ntb/hw/amd/ntb_hw_amd.c amd_link_hb() -> amd_poll_link()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
HALF_LOCKED2 &pool->lock

drivers/ntb/hw/amd/ntb_hw_amd.c amd_link_is_up() -> amd_poll_link()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
BUF_SIZE 0 ndev s32min-(-1),1-s32max
BUF_SIZE 0 ndev s32min-(-1),1-s32max
DATA_SOURCE 0 ndev $0
TASK_NOT_RUNNING
HOST_DATA 0 ndev->cntl_sta 0,2[c]
HOST_DATA 0 ndev->lnk_sta 0

drivers/ntb/hw/amd/ntb_hw_amd.c amd_ntb_pci_probe() -> amd_poll_link()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->db_count 0,15
PARAM_VALUE 0 ndev->db_last_bit 0-64
PARAM_VALUE 0 ndev->db_valid_mask 0,s16max
PARAM_VALUE 0 ndev->dev_data 4096-ptr_max
PARAM_VALUE 0 ndev->dev_data->mw_count 2-3
PARAM_VALUE 0 ndev->hb_timer->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 ndev->hb_timer.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 ndev->hb_timer.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ndev->int_mask 31
PARAM_VALUE 0 ndev->msix 0,4096-ptr_max
PARAM_VALUE 0 ndev->msix_vec_count 1,24
PARAM_VALUE 0 ndev->mw_count 2-3
PARAM_VALUE 0 ndev->ntb.ops 7291469521865936896
PARAM_VALUE 0 ndev->ntb.ops->db_clear 1084222743908278272
PARAM_VALUE 0 ndev->ntb.ops->db_clear_mask 3197889298366332928
PARAM_VALUE 0 ndev->ntb.ops->db_is_unsafe 0
PARAM_VALUE 0 ndev->ntb.ops->db_read 4300380807308513280
PARAM_VALUE 0 ndev->ntb.ops->db_read_mask 0
PARAM_VALUE 0 ndev->ntb.ops->db_set 0
PARAM_VALUE 0 ndev->ntb.ops->db_set_mask 1251491501954646016
PARAM_VALUE 0 ndev->ntb.ops->db_valid_mask 7900459250225065984
PARAM_VALUE 0 ndev->ntb.ops->db_vector_count 7738695089962618880
PARAM_VALUE 0 ndev->ntb.ops->db_vector_mask 3164587416544976896
PARAM_VALUE 0 ndev->ntb.ops->get_dma_dev 0
PARAM_VALUE 0 ndev->ntb.ops->link_disable 4214816628523048960
PARAM_VALUE 0 ndev->ntb.ops->link_enable 2557846276457832448
PARAM_VALUE 0 ndev->ntb.ops->link_is_up 4002007625933348864
PARAM_VALUE 0 ndev->ntb.ops->msg_clear_mask 0
PARAM_VALUE 0 ndev->ntb.ops->msg_clear_sts 0
PARAM_VALUE 0 ndev->ntb.ops->msg_count 0
PARAM_VALUE 0 ndev->ntb.ops->msg_inbits 0
PARAM_VALUE 0 ndev->ntb.ops->msg_outbits 0
PARAM_VALUE 0 ndev->ntb.ops->msg_read 0
PARAM_VALUE 0 ndev->ntb.ops->msg_read_sts 0
PARAM_VALUE 0 ndev->ntb.ops->msg_set_mask 0
PARAM_VALUE 0 ndev->ntb.ops->mw_clear_trans 0
PARAM_VALUE 0 ndev->ntb.ops->mw_count 5510133918051074048
PARAM_VALUE 0 ndev->ntb.ops->mw_get_align 1667718627826114560
PARAM_VALUE 0 ndev->ntb.ops->mw_set_trans 3085076618938568704
PARAM_VALUE 0 ndev->ntb.ops->peer_db_addr 0
PARAM_VALUE 0 ndev->ntb.ops->peer_db_clear 0
PARAM_VALUE 0 ndev->ntb.ops->peer_db_clear_mask 0
PARAM_VALUE 0 ndev->ntb.ops->peer_db_read 0
PARAM_VALUE 0 ndev->ntb.ops->peer_db_read_mask 0
PARAM_VALUE 0 ndev->ntb.ops->peer_db_set 9190323590950526976
PARAM_VALUE 0 ndev->ntb.ops->peer_db_set_mask 0
PARAM_VALUE 0 ndev->ntb.ops->peer_msg_write 0
PARAM_VALUE 0 ndev->ntb.ops->peer_mw_clear_trans 0
PARAM_VALUE 0 ndev->ntb.ops->peer_mw_count 2069536662019481600
PARAM_VALUE 0 ndev->ntb.ops->peer_mw_get_addr 7689481106104537088
PARAM_VALUE 0 ndev->ntb.ops->peer_mw_set_trans 0
PARAM_VALUE 0 ndev->ntb.ops->peer_port_count 0
PARAM_VALUE 0 ndev->ntb.ops->peer_port_idx 0
PARAM_VALUE 0 ndev->ntb.ops->peer_port_number 0
PARAM_VALUE 0 ndev->ntb.ops->peer_spad_addr 0
PARAM_VALUE 0 ndev->ntb.ops->peer_spad_read 5847224091939446784
PARAM_VALUE 0 ndev->ntb.ops->peer_spad_write 8335059707764551680
PARAM_VALUE 0 ndev->ntb.ops->port_number 0
PARAM_VALUE 0 ndev->ntb.ops->spad_count 5636795087339229184
PARAM_VALUE 0 ndev->ntb.ops->spad_is_unsafe 0
PARAM_VALUE 0 ndev->ntb.ops->spad_read 7965828275344875520
PARAM_VALUE 0 ndev->ntb.ops->spad_write 3434810906381299712
PARAM_VALUE 0 ndev->ntb.pdev 4096-ptr_max
PARAM_VALUE 0 ndev->ntb.pdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ndev->ntb.pdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ndev->ntb.pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 0 ndev->ntb.pdev->driver 4096-ptr_max
PARAM_VALUE 0 ndev->ntb.pdev->irq 0
PARAM_VALUE 0 ndev->ntb.pdev->is_msi_managed 1
PARAM_VALUE 0 ndev->ntb.topo 0-1
PARAM_VALUE 0 ndev->peer_spad 0,32
PARAM_VALUE 0 ndev->self_mmio 4096-ptr_max
PARAM_VALUE 0 ndev->self_spad 0,32
PARAM_VALUE 0 ndev->spad_count 8
PARAM_VALUE 0 ndev->vec 0,4096-ptr_max
BUF_SIZE 0 ndev 2208
DATA_SOURCE 0 ndev r _kmalloc_node_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ndev->ntb.pdev->acs_capabilities 0-u16max
HOST_DATA 0 ndev->ntb.pdev->class 0-16777215
HOST_DATA 0 ndev->ntb.pdev->current_state 0-3[c]
HOST_DATA 0 ndev->ntb.pdev->devcap 0-u32max
HOST_DATA 0 ndev->ntb.pdev->devfn 0-503[c]
HOST_DATA 0 ndev->ntb.pdev->device 0-u16max
HOST_DATA 0 ndev->ntb.pdev->eetlp_prefix_max 0-7[c]
HOST_DATA 0 ndev->ntb.pdev->fm_enabled 0-1[c]
HOST_DATA 0 ndev->ntb.pdev->hdr_type 0-255[c]
HOST_DATA 0 ndev->ntb.pdev->ide_cfg 0-1[c]
HOST_DATA 0 ndev->ntb.pdev->ide_tee_limit 0-1[c]
HOST_DATA 0 ndev->ntb.pdev->is_cxl 0-1
HOST_DATA 0 ndev->ntb.pdev->multifunction 0-1[c]
HOST_DATA 0 ndev->ntb.pdev->nr_ide_mem 0-255[c]
HOST_DATA 0 ndev->ntb.pdev->pcie_flags_reg 0-u16max
HOST_DATA 0 ndev->ntb.pdev->pcie_mpss 0-7[c]
HOST_DATA 0 ndev->ntb.pdev->pin 0
HOST_DATA 0 ndev->ntb.pdev->pme_support 0-31[c]
HOST_DATA 0 ndev->ntb.pdev->ptm_granularity 0-255[c]
HOST_DATA 0 ndev->ntb.pdev->revision 0-255
HOST_DATA 0 ndev->ntb.pdev->subsystem_device 0-u16max
HOST_DATA 0 ndev->ntb.pdev->subsystem_vendor 0-u16max
HOST_DATA 0 ndev->ntb.pdev->supported_speeds 0,2-254[c]
HOST_DATA 0 ndev->ntb.pdev->transparent 0[c]
HOST_DATA 0 ndev->ntb.pdev->vendor 0-u16max
NO_OVERFLOW_SIMPLE 0 ndev->msix_vec_count