Defined in 1 files as a variable:

Defined in 16 files as a member:

Defined in 2 files as a function:

Referenced in 18 files:

Smatch caller information:

drivers/mailbox/sun6i-msgbox.c sun6i_msgbox_last_tx_done() -> channel_number()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
DATA_SOURCE 0 chan $0
TASK_NOT_RUNNING
HALF_LOCKED2 irq

drivers/mailbox/sun6i-msgbox.c sun6i_msgbox_peek_data() -> channel_number()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
BUF_SIZE 0 chan s32min-(-1),1-s32max
BUF_SIZE 0 chan s32min-(-1),1-s32max
BUF_SIZE 0 chan->cl (-1),56
DATA_SOURCE 0 chan $0
STR_LEN 0 chan (-1),2-5,7
STR_LEN 0 chan (-1),2-5,7
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 chan->con_priv->ring_pool->allocation
HALF_LOCKED2 _T->lock

drivers/mailbox/sun6i-msgbox.c sun6i_msgbox_send_data() -> channel_number()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
DATA_SOURCE 0 chan $0
STR_LEN 0 chan (-1),4,6
STR_LEN 0 chan (-1),4,6
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 chan->con_priv->ring_pool->allocation
LOCK2 irq
LOCK2 0 &chan->lock
TYPE_LOCK (struct mbox_chan)->lock

drivers/mailbox/sun6i-msgbox.c sun6i_msgbox_shutdown() -> channel_number()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
BUF_SIZE 0 chan s32min-(-1),1-s32max
BUF_SIZE 0 chan s32min-(-1),1-s32max
BUF_SIZE 0 chan->cl (-1),56
DATA_SOURCE 0 chan $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 chan->con_priv->ring_pool->allocation
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex

drivers/mailbox/sun6i-msgbox.c sun6i_msgbox_startup() -> channel_number()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
DATA_SOURCE 0 chan $0
STR_LEN 0 chan (-1),2-5,7
STR_LEN 0 chan (-1),2-5,7
STR_LEN 0 chan->cl (-1),2-5,7
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/mailbox/qcom-cpucp-mbox.c qcom_cpucp_mbox_send_data() -> channel_number()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
DATA_SOURCE 0 chan $0
STR_LEN 0 chan (-1),4,6
STR_LEN 0 chan (-1),4,6
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 chan->con_priv->ring_pool->allocation
LOCK2 irq
LOCK2 0 &chan->lock
TYPE_LOCK (struct mbox_chan)->lock

drivers/mailbox/qcom-cpucp-mbox.c qcom_cpucp_mbox_shutdown() -> channel_number()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
BUF_SIZE 0 chan s32min-(-1),1-s32max
BUF_SIZE 0 chan s32min-(-1),1-s32max
BUF_SIZE 0 chan->cl (-1),56
DATA_SOURCE 0 chan $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 chan->con_priv->ring_pool->allocation
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex

drivers/mailbox/qcom-cpucp-mbox.c qcom_cpucp_mbox_startup() -> channel_number()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
DATA_SOURCE 0 chan $0
STR_LEN 0 chan (-1),2-5,7
STR_LEN 0 chan (-1),2-5,7
STR_LEN 0 chan->cl (-1),2-5,7
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock