Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 *chan->cl->dev->driver_data->rx_buffer 0-255
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

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

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->con_priv 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 *chan->cl->dev->driver_data->rx_buffer 0-255
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 flags

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

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_shutdown() -> sun6i_msgbox_peek_data()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->con_priv 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() -> sun6i_msgbox_peek_data()

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/sun6i-msgbox.c sun6i_msgbox_startup() -> sun6i_msgbox_peek_data()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->con_priv 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/mailbox.c mbox_client_peek_data() -> (struct mbox_chan_ops)->peek_data()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->mbox 4096-ptr_max
PARAM_VALUE 0 chan->mbox->ops 4096-ptr_max
PARAM_VALUE 0 chan->mbox->ops->peek_data 1-u64max
DATA_SOURCE 0 chan $0
CONTAINER 0 -40-8-0+0 $(-1)
RX_PATH
TASK_NOT_RUNNING