Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ntb/hw/intel/ntb_hw_gen1.c intel_ntb_pci_probe() -> (struct intel_ntb_reg)->poll_link()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->b2b_idx 0-2,u32max
PARAM_VALUE 0 ndev->b2b_off 0,32768-9223372036854775807
PARAM_VALUE 0 ndev->db_count 14-15,32
PARAM_VALUE 0 ndev->db_link_mask 32768,4294967296,6442450944
PARAM_VALUE 0 ndev->db_vec_shift 1,5,16,33
PARAM_VALUE 0 ndev->hwerr_flags 0,8-u64max
PARAM_VALUE 0 ndev->lnk_sta 0
PARAM_VALUE 0 ndev->msix 0,4096-ptr_max
PARAM_VALUE 0 ndev->mw_count 1-3
PARAM_VALUE 0 ndev->ntb.ops 248926284840706048,3182635989448302592,9110266463662788608
PARAM_VALUE 0 ndev->ntb.ops->db_clear 3488619979166466048,4639863060613779456
PARAM_VALUE 0 ndev->ntb.ops->db_clear_mask 5997871289135271936
PARAM_VALUE 0 ndev->ntb.ops->db_is_unsafe 0,4115102582843609088
PARAM_VALUE 0 ndev->ntb.ops->db_read 1139054988634386432,5778575441705074688
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 5071397071151452160
PARAM_VALUE 0 ndev->ntb.ops->db_valid_mask 4352226189036257280
PARAM_VALUE 0 ndev->ntb.ops->db_vector_count 6986940402778189824
PARAM_VALUE 0 ndev->ntb.ops->db_vector_mask 4689014525894905856
PARAM_VALUE 0 ndev->ntb.ops->get_dma_dev 0
PARAM_VALUE 0 ndev->ntb.ops->link_disable 3804879149842808832,7185643927246954496
PARAM_VALUE 0 ndev->ntb.ops->link_enable 2404821377054478336,5730955938985877504,8301636150140334080
PARAM_VALUE 0 ndev->ntb.ops->link_is_up 2072303846463737856
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 941418480555716608
PARAM_VALUE 0 ndev->ntb.ops->mw_get_align 633335080107106304,6866398289837944832
PARAM_VALUE 0 ndev->ntb.ops->mw_set_trans 842518136555724800,3660088755932938240,6157707328061571072
PARAM_VALUE 0 ndev->ntb.ops->peer_db_addr 570516917509287936,3163769311175565312
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 446687386587652096,5939691984459104256
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 7962040453117181952
PARAM_VALUE 0 ndev->ntb.ops->peer_mw_get_addr 6918573074835136512
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 1669369124207267840
PARAM_VALUE 0 ndev->ntb.ops->peer_spad_read 4143506622372024320
PARAM_VALUE 0 ndev->ntb.ops->peer_spad_write 6883140719573549056
PARAM_VALUE 0 ndev->ntb.ops->port_number 0
PARAM_VALUE 0 ndev->ntb.ops->spad_count 5940397039431487488
PARAM_VALUE 0 ndev->ntb.ops->spad_is_unsafe 5276262572034433024
PARAM_VALUE 0 ndev->ntb.ops->spad_read 7294839056974909440
PARAM_VALUE 0 ndev->ntb.ops->spad_write 1090374108537520128
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->device 3508,13438,30824
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.pdev->subordinate->self->link_bwctrl->cdev 0-s64max
PARAM_VALUE 0 ndev->ntb.topo 0-3
PARAM_VALUE 0 ndev->ntb_ctl 0
PARAM_VALUE 0 ndev->peer_mmio 4096-ptr_max
PARAM_VALUE 0 ndev->peer_reg 1950090526758260736,5191260960386871296,6912215243306061824,7922367034245050368,8980490174903984128
PARAM_VALUE 0 ndev->peer_reg->db_bell 0,96,100,256,320,16640
PARAM_VALUE 0 ndev->peer_reg->db_clear 0,64,16448
PARAM_VALUE 0 ndev->peer_reg->db_mask 0,72,98,102,16456
PARAM_VALUE 0 ndev->peer_reg->spad 0,128,160,256,384,32896
PARAM_VALUE 0 ndev->reg 2047512964160987136,5482905391902703616,8477364598028673024
PARAM_VALUE 0 ndev->reg->db_ioread 1737063012006903808,7027340610648743936,7147075691381374976
PARAM_VALUE 0 ndev->reg->db_iowrite 3497114824886005760,3996670944387584000,7551681769347444736
PARAM_VALUE 0 ndev->reg->db_size 4
PARAM_VALUE 0 ndev->reg->link_is_up 3676792985094053888,5862256194935029760
PARAM_VALUE 0 ndev->reg->ntb_ctl 0,88
PARAM_VALUE 0 ndev->reg->poll_link 1629010800136347648,2623977079773134848,4764411212262187008
PARAM_VALUE 0 ndev->self_mmio 4096-ptr_max
PARAM_VALUE 0 ndev->self_reg 1299576431836213248,1950090526758260736,5191260960386871296,6218937991366275072
PARAM_VALUE 0 ndev->self_reg->db_bell 0,96,100,256,320,16640
PARAM_VALUE 0 ndev->self_reg->db_clear 0,64,16448
PARAM_VALUE 0 ndev->self_reg->db_mask 0,72,98,102,16456
PARAM_VALUE 0 ndev->self_reg->spad 0,128,160,256,384,32896
PARAM_VALUE 0 ndev->spad_count 8,16
PARAM_VALUE 0 ndev->unsafe_flags 0-1,3-4
PARAM_VALUE 0 ndev->unsafe_flags_ignore 0
PARAM_VALUE 0 ndev->vec 0,4096-ptr_max
PARAM_VALUE 0 ndev->xlat_reg 3538806496063508480,3734651507694493696,6425736532749492224,8172733809775136768
PARAM_VALUE 0 ndev->xlat_reg->bar0_base 0,64
PARAM_VALUE 0 ndev->xlat_reg->bar2_idx 0,116
PARAM_VALUE 0 ndev->xlat_reg->bar2_limit 0,24,32
PARAM_VALUE 0 ndev->xlat_reg->bar2_xlat 0,16,48
BUF_SIZE 0 ndev 2272
BUF_SIZE 0 ndev->ntb.ops (-1),392
DATA_SOURCE 0 ndev r _kmalloc_node_noprof
CONTAINER 0 -0-1976+0 $(-1)
BIT_INFO 0 ndev->ntb.ops 0x20080010000000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ndev->ntb.pdev->current_state 0-3[c]

drivers/ntb/hw/intel/ntb_hw_gen1.c ndev_interrupt() -> (struct intel_ntb_reg)->poll_link()

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->reg 4096-ptr_max
DATA_SOURCE 0 ndev $0
CONTAINER 0 -0-1976+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq