Defined in 6 files as a member:

Defined in 3 files as a function:

Referenced in 41 files:

Smatch caller information:

sound/pci/mixart/mixart_core.c snd_mixart_send_msg() -> send_msg()

Type Parameter Key Value
PARAM_VALUE 1 msg 4096-ptr_max
PARAM_VALUE 1 msg->data 0,4096-ptr_max
PARAM_VALUE 1 msg->message_id 327688,327690,458755,983048,1245184-1245185,1245188,1245190,1245193,1245199,1245205,1245207,1441806,1441815-1441816,1441837,2097154
PARAM_VALUE 1 msg->size 0,8,12,28,32,48,68,144,204,540
PARAM_VALUE 2 max_answersize 4,8,12,144,148,404
PARAM_VALUE 3 mark_pending 1
PARAM_VALUE 4 msg_event 3060266901380562944
PARAM_VALUE 4 *msg_event 0
BUF_SIZE 0 mgr->pci (-1),1-s32max
DATA_SOURCE 0 mgr $0
DATA_SOURCE 1 msg $1
DATA_SOURCE 2 max_answersize $2
HARD_MAX 1 msg->size 540
HARD_MAX 2 max_answersize 404
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 mgr->board_type 0[c]
HOST_DATA 0 mgr->pci->current_state 0-3[c]
HOST_DATA 0 mgr->pending_event 0-u32max
NO_OVERFLOW_SIMPLE 0 mgr->bufferinfo.bytes
NO_OVERFLOW_SIMPLE 0 mgr->flowinfo.bytes
UNITS 2 max_answersize unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &runtime->buffer_mutex

sound/pci/mixart/mixart_core.c snd_mixart_send_msg_nonblock() -> send_msg()

Type Parameter Key Value
PARAM_VALUE 1 msg 643226638132523008
PARAM_VALUE 1 msg->data 4049842028751015936
PARAM_VALUE 1 msg->message_id 1245191-1245192,1245194-1245195
PARAM_VALUE 1 msg->size 116
PARAM_VALUE 2 max_answersize 512
PARAM_VALUE 3 mark_pending 0
PARAM_VALUE 4 msg_event 1741098181968359424
DATA_SOURCE 0 mgr $0
DATA_SOURCE 1 msg $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &subs->runtime->buffer_mutex
HALF_LOCKED2 &subs->self_group.lock
HALF_LOCKED2 &subs->self_group.mutex

sound/pci/mixart/mixart_core.c snd_mixart_send_msg_wait_notif() -> send_msg()

Type Parameter Key Value
PARAM_VALUE 1 msg 2247746791556042752
PARAM_VALUE 1 msg->data 7668277667186339840
PARAM_VALUE 1 msg->message_id 1441836
PARAM_VALUE 1 msg->size 4
PARAM_VALUE 2 max_answersize 512
PARAM_VALUE 3 mark_pending 1
PARAM_VALUE 4 *msg_event 305419896
DATA_SOURCE 0 mgr $0
DATA_SOURCE 1 msg $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 mgr->pending_event 0-u32max
LOCK2 _T->lock

drivers/connector/cn_proc.c cn_proc_ack() -> send_msg()

Type Parameter Key Value
PARAM_VALUE 0 mgr 8814431599258824708
PARAM_VALUE 0 mgr->data 4096-ptr_max
PARAM_VALUE 0 mgr->data->cpu u32max
PARAM_VALUE 0 mgr->data->event_data.ack.err 0,12,22
PARAM_VALUE 0 mgr->data->what 0
PARAM_VALUE 0 mgr->flags 0
PARAM_VALUE 0 mgr->len 40
BUF_SIZE 0 mgr 60
BUF_SIZE 0 mgr 60
DATA_SOURCE 0 mgr r buffer_to_cn_msg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 mgr->seq 0-u32max
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/connector/cn_proc.c proc_comm_connector() -> send_msg()

Type Parameter Key Value
PARAM_VALUE 0 mgr 905634568191737860
PARAM_VALUE 0 mgr->ack 0
PARAM_VALUE 0 mgr->data 4096-ptr_max
PARAM_VALUE 0 mgr->data->what 512
PARAM_VALUE 0 mgr->flags 0
PARAM_VALUE 0 mgr->len 40
BUF_SIZE 0 mgr 60
BUF_SIZE 0 mgr 60
DATA_SOURCE 0 mgr r buffer_to_cn_msg
NOCHECK_CALL

drivers/connector/cn_proc.c proc_coredump_connector() -> send_msg()

Type Parameter Key Value
PARAM_VALUE 0 mgr 2651396036398125060
PARAM_VALUE 0 mgr->ack 0
PARAM_VALUE 0 mgr->data 4096-ptr_max
PARAM_VALUE 0 mgr->data->what 1073741824
PARAM_VALUE 0 mgr->flags 0
PARAM_VALUE 0 mgr->len 40
BUF_SIZE 0 mgr 60
BUF_SIZE 0 mgr 60
DATA_SOURCE 0 mgr r buffer_to_cn_msg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/connector/cn_proc.c proc_exec_connector() -> send_msg()

Type Parameter Key Value
PARAM_VALUE 0 mgr 7937884067670851588
PARAM_VALUE 0 mgr->ack 0
PARAM_VALUE 0 mgr->data 4096-ptr_max
PARAM_VALUE 0 mgr->data->what 2
PARAM_VALUE 0 mgr->flags 0
PARAM_VALUE 0 mgr->len 40
BUF_SIZE 0 mgr 60
BUF_SIZE 0 mgr 60
DATA_SOURCE 0 mgr r buffer_to_cn_msg
NOCHECK_CALL

drivers/connector/cn_proc.c proc_exit_connector() -> send_msg()

Type Parameter Key Value
PARAM_VALUE 0 mgr 4126795145555169284
PARAM_VALUE 0 mgr->ack 0
PARAM_VALUE 0 mgr->data 4096-ptr_max
PARAM_VALUE 0 mgr->data->what 2147483648
PARAM_VALUE 0 mgr->flags 0
PARAM_VALUE 0 mgr->len 40
BUF_SIZE 0 mgr 60
BUF_SIZE 0 mgr 60
DATA_SOURCE 0 mgr r buffer_to_cn_msg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &system_transition_mutex

drivers/connector/cn_proc.c proc_fork_connector() -> send_msg()

Type Parameter Key Value
PARAM_VALUE 0 mgr 950116244761747460
PARAM_VALUE 0 mgr->ack 0
PARAM_VALUE 0 mgr->data 4096-ptr_max
PARAM_VALUE 0 mgr->data->what 1
PARAM_VALUE 0 mgr->flags 0
PARAM_VALUE 0 mgr->len 40
BUF_SIZE 0 mgr 60
BUF_SIZE 0 mgr 60
DATA_SOURCE 0 mgr r buffer_to_cn_msg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/connector/cn_proc.c proc_id_connector() -> send_msg()

Type Parameter Key Value
PARAM_VALUE 0 mgr 8935838277444452356
PARAM_VALUE 0 mgr->ack 0
PARAM_VALUE 0 mgr->data 4096-ptr_max
PARAM_VALUE 0 mgr->data->event_data.id.e.egid 0-4294967294
PARAM_VALUE 0 mgr->data->event_data.id.r.rgid 0-4294967294
PARAM_VALUE 0 mgr->data->what 4,64
PARAM_VALUE 0 mgr->flags 0
PARAM_VALUE 0 mgr->len 40
BUF_SIZE 0 mgr 60
BUF_SIZE 0 mgr 60
DATA_SOURCE 0 mgr r buffer_to_cn_msg
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &tsk->signal->exec_update_lock
HALF_LOCKED2 global &key_session_mutex

drivers/connector/cn_proc.c proc_ptrace_connector() -> send_msg()

Type Parameter Key Value
PARAM_VALUE 0 mgr 2125037107784540164
PARAM_VALUE 0 mgr->ack 0
PARAM_VALUE 0 mgr->data 4096-ptr_max
PARAM_VALUE 0 mgr->data->what 256
PARAM_VALUE 0 mgr->flags 0
PARAM_VALUE 0 mgr->len 40
BUF_SIZE 0 mgr 60
BUF_SIZE 0 mgr 60
DATA_SOURCE 0 mgr r buffer_to_cn_msg
NOCHECK_CALL
HALF_LOCKED2 &_T->lock->alloc_lock
HALF_LOCKED2 _T->lock

drivers/connector/cn_proc.c proc_sid_connector() -> send_msg()

Type Parameter Key Value
PARAM_VALUE 0 mgr 2946766631541276676
PARAM_VALUE 0 mgr->ack 0
PARAM_VALUE 0 mgr->data 4096-ptr_max
PARAM_VALUE 0 mgr->data->what 128
PARAM_VALUE 0 mgr->flags 0
PARAM_VALUE 0 mgr->len 40
BUF_SIZE 0 mgr 60
BUF_SIZE 0 mgr 60
DATA_SOURCE 0 mgr r buffer_to_cn_msg
NOCHECK_CALL

Smatch assignments to (struct snd_sof_dsp_ops)->send_msg:

sound/soc/sof/amd/acp63.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/pci-lnl.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/pci-lnl.c sof_lnl_ops_init() -> (struct snd_sof_dsp_ops)->send_msg [min-max]

sound/soc/sof/intel/pci-nvl.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/pci-nvl.c sof_nvl_ops_init() -> (struct snd_sof_dsp_ops)->send_msg [min-max]

sound/soc/sof/amd/rembrandt.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/pci-mtl.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/pci-mtl.c sof_mtl_ops_init() -> (struct snd_sof_dsp_ops)->send_msg [min-max]

sound/soc/sof/mediatek/mt8195/mt8195.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [7193257130404323328]

sound/soc/sof/intel/apl.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/apl.c sof_apl_ops_init() -> (struct snd_sof_dsp_ops)->send_msg [2107779404492189696,5756039933627686912]

sound/soc/sof/intel/byt.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [8064173910125404160]

sound/soc/sof/intel/nvl.c sof_nvl_set_ops() -> (struct snd_sof_dsp_ops)->send_msg [min-max]

sound/soc/sof/intel/tgl.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/tgl.c sof_tgl_ops_init() -> (struct snd_sof_dsp_ops)->send_msg [3319748773133500416,6457004262167191552]

sound/soc/sof/intel/pci-tng.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [8064173910125404160]

sound/soc/sof/intel/hda-common-ops.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/imx/imx9.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/mediatek/mt8186/mt8186.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0,7193257130404323328]

sound/soc/sof/imx/imx-common.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [6598433639558242304]

sound/soc/sof/intel/ptl.c sof_ptl_set_ops() -> (struct snd_sof_dsp_ops)->send_msg [min-max]

sound/soc/sof/intel/cnl.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/cnl.c sof_cnl_ops_init() -> (struct snd_sof_dsp_ops)->send_msg [3319748773133500416,6457004262167191552]

sound/soc/sof/intel/mtl.c sof_mtl_set_ops() -> (struct snd_sof_dsp_ops)->send_msg [6500316599458500608]

sound/soc/sof/imx/imx8.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/pci-ptl.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/pci-ptl.c sof_ptl_ops_init() -> (struct snd_sof_dsp_ops)->send_msg [min-max]

sound/soc/sof/intel/bdw.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [8509560140535902208]

sound/soc/sof/amd/acp7x.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/icl.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/icl.c sof_icl_ops_init() -> (struct snd_sof_dsp_ops)->send_msg [3319748773133500416,6457004262167191552]

sound/soc/sof/amd/acp-common.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [756519060880683008]

sound/soc/sof/amd/vangogh.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/amd/renoir.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/amd/acp70.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/skl.c (null)() -> (struct snd_sof_dsp_ops)->send_msg [0]

sound/soc/sof/intel/skl.c sof_skl_ops_init() -> (struct snd_sof_dsp_ops)->send_msg [2107779404492189696]

sound/soc/sof/intel/lnl.c sof_lnl_set_ops() -> (struct snd_sof_dsp_ops)->send_msg [min-max]