Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 ndev 4096-ptr_max
PARAM_VALUE 0 ndev->cntl_sta 0,2
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->lnk_sta 0,64
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->pcie_cap 0-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->cntl_sta 0,2[c]
HOST_DATA 0 ndev->lnk_sta 0
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

drivers/ntb/hw/intel/ntb_hw_gen1.c intel_ntb_pci_probe() -> ndev_init_debugfs()

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-u16max
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
CAPPED_DATA 0 ndev->lnk_sta 1
DATA_SOURCE 0 ndev r _kmalloc_node_noprof
BIT_INFO 0 ndev->ntb.ops 0x20080010000000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ndev->lnk_sta 0-u16max[c]
HOST_DATA 0 ndev->ntb.pdev->current_state 0-3[c]