Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ntb/hw/intel/ntb_hw_gen1.c xeon_init_ntb() -> xeon_setup_b2b_mw()

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
PARAM_VALUE 0 ndev->db_count 14-15
PARAM_VALUE 0 ndev->db_link_mask 32768
PARAM_VALUE 0 ndev->db_mask 0
PARAM_VALUE 0 ndev->db_valid_mask 0
PARAM_VALUE 0 ndev->db_vec_count 0
PARAM_VALUE 0 ndev->db_vec_shift 0
PARAM_VALUE 0 ndev->lnk_sta 0
PARAM_VALUE 0 ndev->mw_count 2-3
PARAM_VALUE 0 ndev->ntb.ops 248926284840706048
PARAM_VALUE 0 ndev->ntb.ops->db_clear 3488619979166466048
PARAM_VALUE 0 ndev->ntb.ops->db_clear_mask 5997871289135271936
PARAM_VALUE 0 ndev->ntb.ops->db_is_unsafe 4115102582843609088
PARAM_VALUE 0 ndev->ntb.ops->db_read 1139054988634386432
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
PARAM_VALUE 0 ndev->ntb.ops->link_enable 5730955938985877504
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 6866398289837944832
PARAM_VALUE 0 ndev->ntb.ops->mw_set_trans 6157707328061571072
PARAM_VALUE 0 ndev->ntb.ops->peer_db_addr 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 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->bus 4096-ptr_max
PARAM_VALUE 0 ndev->ntb.pdev->bus->ops 4096-ptr_max
PARAM_VALUE 0 ndev->ntb.pdev->bus->ops->read 4096-ptr_max
PARAM_VALUE 0 ndev->ntb.pdev->driver 4096-ptr_max
PARAM_VALUE 0 ndev->ntb.pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 ndev->ntb.topo 2
PARAM_VALUE 0 ndev->ntb_ctl 0
PARAM_VALUE 0 ndev->peer_mmio 4096-ptr_max
PARAM_VALUE 0 ndev->peer_reg 5191260960386871296,6912215243306061824
PARAM_VALUE 0 ndev->reg 5482905391902703616
PARAM_VALUE 0 ndev->self_mmio 4096-ptr_max
PARAM_VALUE 0 ndev->self_reg 5191260960386871296
PARAM_VALUE 0 ndev->spad_count 16
PARAM_VALUE 0 ndev->xlat_reg 3734651507694493696
PARAM_VALUE 1 addr 8920697865025540096
PARAM_VALUE 2 peer_addr 8373858639720374272
BUF_SIZE 0 ndev 2272
BUF_SIZE 0 ndev->peer_reg 32
BUF_SIZE 0 ndev->reg 48
BUF_SIZE 0 ndev->self_reg 32
BUF_SIZE 0 ndev->xlat_reg 32
CAPPED_DATA 0 ndev->b2b_idx 1
DATA_SOURCE 0 ndev $0
FUZZY_MAX 0 ndev->db_count 15
FUZZY_MAX 0 ndev->mw_count 3
PARAM_COMPARE 0 ndev->b2b_idx != $0->mw_count
BIT_INFO 0 ndev->mw_count 0x2,0x3
BIT_INFO 0 ndev->peer_reg 0x4809100408045000,0x5fef1f76ec7e7000
HARD_MAX 0 ndev->b2b_idx u32max
HARD_MAX 0 ndev->mw_count 3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ndev->ntb.pdev->current_state 0-3[c]
HALF_LOCKED2 &pool->lock

drivers/ntb/hw/intel/ntb_hw_gen1.c xeon_init_ntb() -> xeon_setup_b2b_mw()

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
PARAM_VALUE 0 ndev->db_count 14-15
PARAM_VALUE 0 ndev->db_link_mask 32768
PARAM_VALUE 0 ndev->db_mask 0
PARAM_VALUE 0 ndev->db_valid_mask 0
PARAM_VALUE 0 ndev->db_vec_count 0
PARAM_VALUE 0 ndev->db_vec_shift 0
PARAM_VALUE 0 ndev->lnk_sta 0
PARAM_VALUE 0 ndev->mw_count 2-3
PARAM_VALUE 0 ndev->ntb.ops 248926284840706048
PARAM_VALUE 0 ndev->ntb.ops->db_clear 3488619979166466048
PARAM_VALUE 0 ndev->ntb.ops->db_clear_mask 5997871289135271936
PARAM_VALUE 0 ndev->ntb.ops->db_is_unsafe 4115102582843609088
PARAM_VALUE 0 ndev->ntb.ops->db_read 1139054988634386432
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
PARAM_VALUE 0 ndev->ntb.ops->link_enable 5730955938985877504
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 6866398289837944832
PARAM_VALUE 0 ndev->ntb.ops->mw_set_trans 6157707328061571072
PARAM_VALUE 0 ndev->ntb.ops->peer_db_addr 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 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->bus 4096-ptr_max
PARAM_VALUE 0 ndev->ntb.pdev->bus->ops 4096-ptr_max
PARAM_VALUE 0 ndev->ntb.pdev->bus->ops->read 4096-ptr_max
PARAM_VALUE 0 ndev->ntb.pdev->driver 4096-ptr_max
PARAM_VALUE 0 ndev->ntb.pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 ndev->ntb.topo 3
PARAM_VALUE 0 ndev->ntb_ctl 0
PARAM_VALUE 0 ndev->peer_mmio 4096-ptr_max
PARAM_VALUE 0 ndev->peer_reg 5191260960386871296,6912215243306061824
PARAM_VALUE 0 ndev->reg 5482905391902703616
PARAM_VALUE 0 ndev->self_mmio 4096-ptr_max
PARAM_VALUE 0 ndev->self_reg 5191260960386871296
PARAM_VALUE 0 ndev->spad_count 16
PARAM_VALUE 0 ndev->xlat_reg 3734651507694493696
PARAM_VALUE 1 addr 8373858639720374272
PARAM_VALUE 2 peer_addr 8920697865025540096
BUF_SIZE 0 ndev 2272
BUF_SIZE 0 ndev->peer_reg 32
BUF_SIZE 0 ndev->reg 48
BUF_SIZE 0 ndev->self_reg 32
BUF_SIZE 0 ndev->xlat_reg 32
CAPPED_DATA 0 ndev->b2b_idx 1
DATA_SOURCE 0 ndev $0
FUZZY_MAX 0 ndev->db_count 15
FUZZY_MAX 0 ndev->mw_count 3
PARAM_COMPARE 0 ndev->b2b_idx != $0->mw_count
BIT_INFO 0 ndev->mw_count 0x2,0x3
BIT_INFO 0 ndev->peer_reg 0x4809100408045000,0x5fef1f76ec7e7000
HARD_MAX 0 ndev->b2b_idx u32max
HARD_MAX 0 ndev->mw_count 3
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 ndev->ntb.pdev->current_state 0-3[c]
HALF_LOCKED2 &pool->lock