Documented in 1 files:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/ntb/ntb_transport.c ntb_transport_create_queue() -> ntb_db_clear()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/ntb/ntb_transport.c ntb_transport_doorbell_callback() -> ntb_db_clear()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->db_read 4096-ptr_max
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ntb->ctx_lock
LOCK2 irqflags
TYPE_LOCK (struct ntb_dev)->ctx_lock

drivers/ntb/ntb_transport.c ntb_transport_rxc_db() -> ntb_db_clear()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->db_read 4096-ptr_max
NOCHECK_CALL

drivers/ntb/hw/amd/ntb_hw_amd.c amd_handle_db_event() -> ntb_db_clear()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/ntb/test/ntb_perf.c perf_disable_service() -> ntb_db_clear()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->ctx 0
PARAM_VALUE 0 ntb->ctx_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ntb->ctx_ops 0
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->db_set_mask 4096-ptr_max
PARAM_VALUE 0 ntb->ops->msg_set_mask 0,4126700995385352192
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->mutex
TYPE_LOCK (struct device)->mutex

drivers/ntb/test/ntb_perf.c perf_spad_cmd_recv() -> ntb_db_clear()

Type Parameter Key Value
PARAM_VALUE 0 ntb->ops->db_vector_mask 0,3108742188891217920,3164587416544976896,4689014525894905856,8050215414864912384,8947203081465241600
PARAM_VALUE 0 ntb->ops->msg_read_sts 0,7815581614722723840
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ntb->ctx_lock
LOCK2 irqflags
TYPE_LOCK (struct ntb_dev)->ctx_lock

drivers/ntb/test/ntb_pingpong.c pp_pong() -> ntb_db_clear()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->db_set_mask 4096-ptr_max
PARAM_VALUE 0 ntb->ops->msg_clear_sts 0,5948340505003462656
PARAM_VALUE 0 ntb->ops->peer_port_number 0,6980690763528646656
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ntb->ctx_lock
LOCK2 irqflags
TYPE_LOCK (struct ntb_dev)->ctx_lock

drivers/ntb/test/ntb_msi_test.c ntb_msit_db_event() -> ntb_db_clear()

Type Parameter Key Value
PARAM_VALUE 0 ntb 4096-ptr_max
PARAM_VALUE 0 ntb->ops 4096-ptr_max
PARAM_VALUE 0 ntb->ops->db_read 4096-ptr_max
DATA_SOURCE 1 db_bits r ntb_db_read
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 db_bits 0-u64max[c]
LOCK2 &ntb->ctx_lock
LOCK2 irqflags
TYPE_LOCK (struct ntb_dev)->ctx_lock