Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/misc/bcm-vk/bcm_vk_msg.c bcm_to_h_msg_dequeue() -> msgq_occupied()

Type Parameter Key Value
PARAM_VALUE 0 msgq 4096-ptr_max
PARAM_VALUE 1 qinfo 4096-ptr_max
LOCK2 &chan->msgq_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct bcm_vk_msg_chan)->msgq_mutex

drivers/misc/bcm-vk/bcm_vk_msg.c bcm_to_v_msg_enqueue() -> msgq_occupied()

Type Parameter Key Value
PARAM_VALUE 0 msgq 4096-ptr_max
PARAM_VALUE 1 qinfo 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &chan->msgq_mutex
TYPE_LOCK (struct bcm_vk_msg_chan)->msgq_mutex

drivers/misc/bcm-vk/bcm_vk_msg.c msgq_avail_space() -> msgq_occupied()

Type Parameter Key Value
PARAM_VALUE 1 qinfo 4096-ptr_max
DATA_SOURCE 0 msgq $0
DATA_SOURCE 1 qinfo $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chan->msgq_mutex