Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ntb/hw/mscc/ntb_hw_switchtec.c switchtec_ntb_peer_mw_get_addr() -> switchtec_ntb_peer_mw_count()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
BUF_SIZE 0 ntb->msi (-1),32-2064
BUF_SIZE 0 ntb->msi->peer_mws (-1),8-2040
DATA_SOURCE 0 ntb $0
RX_PATH
TASK_NOT_RUNNING

drivers/ntb/msi.c ntb_peer_mw_count() -> (struct ntb_dev_ops)->peer_mw_count()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ntb->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ntb->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ntb->msi 4096-ptr_max
PARAM_VALUE 0 ntb->msi->peer_mws 0
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->db_clear_mask 0,4096-ptr_max
PARAM_VALUE 0 ntb->ops->db_is_unsafe 0,4115102582843609088
PARAM_VALUE 0 ntb->ops->mw_set_trans 0,4096-ptr_max
PARAM_VALUE 0 ntb->ops->peer_mw_count 0,4096-ptr_max
PARAM_VALUE 0 ntb->ops->peer_mw_get_addr 0,4096-ptr_max
PARAM_VALUE 0 ntb->ops->peer_port_count 0,3302194409103257600
PARAM_VALUE 0 ntb->ops->spad_count 0,4096-ptr_max
PARAM_VALUE 0 ntb->ops->spad_is_unsafe 0,5276262572034433024
PARAM_VALUE 0 ntb->ops->spad_write 0,4096-ptr_max
BUF_SIZE 0 ntb->msi 32-2064
BUF_SIZE 0 ntb->msi->peer_mws 8-2040
DATA_SOURCE 0 ntb $0
CONTAINER 0 -88-1632+0 $(-1)
MEM_ZERO 0 ntb->msi
RX_PATH
TASK_NOT_RUNNING

drivers/ntb/ntb_transport.c ntb_peer_mw_count() -> (struct ntb_dev_ops)->peer_mw_count()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
DATA_SOURCE 0 ntb $0
CONTAINER 0 -88-1632+0 $(-1)
RX_PATH
TASK_NOT_RUNNING

drivers/ntb/test/ntb_perf.c ntb_peer_mw_count() -> (struct ntb_dev_ops)->peer_mw_count()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
DATA_SOURCE 0 ntb $0
CONTAINER 0 -88-1632+0 $(-1)
RX_PATH
TASK_NOT_RUNNING

drivers/ntb/test/ntb_tool.c ntb_peer_mw_count() -> (struct ntb_dev_ops)->peer_mw_count()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ntb->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ntb->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->mw_count 0,4096-ptr_max
PARAM_VALUE 0 ntb->ops->peer_mw_count 0,4096-ptr_max
DATA_SOURCE 0 ntb $0
CONTAINER 0 -88-1632+0 $(-1)
RX_PATH
TASK_NOT_RUNNING