Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

sound/core/seq/seq_ports.c get_client_port() -> snd_seq_port_use_ptr()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
DATA_SOURCE 0 client r snd_seq_client_use_ptr
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

sound/core/seq/seq_clientmgr.c __deliver_to_subscribers() -> snd_seq_port_use_ptr()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
PARAM_VALUE 1 num 0-s32max
BUF_SIZE 0 client s32min-(-1),1-s32max
BUF_SIZE 0 client s32min-(-1),1-s32max
DATA_SOURCE 0 client $0
DATA_SOURCE 1 num $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 num 0-255
HALF_LOCKED2 0 &client->ioctl_mutex

sound/core/seq/seq_clientmgr.c _snd_seq_deliver_single_event() -> snd_seq_port_use_ptr()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
DATA_SOURCE 0 client r get_event_dest_client
NOSPEC 1 num
NOSPEC 1 num
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 num 0-255
HALF_LOCKED2 &client->ioctl_mutex

sound/core/seq/seq_clientmgr.c snd_seq_client_enqueue_event() -> snd_seq_port_use_ptr()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
PARAM_VALUE 0 client->accept_output 1
BUF_SIZE 0 client s32min-(-1),1-s32max
BUF_SIZE 0 client s32min-(-1),1-s32max
DATA_SOURCE 0 client $0
USER_DATA 1 num 0-255
HALF_LOCKED2 _T->lock
HALF_LOCKED2 0 &client->ioctl_mutex

sound/core/seq/seq_clientmgr.c snd_seq_ioctl_get_port_info() -> snd_seq_port_use_ptr()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
DATA_SOURCE 0 client r client_load_and_use_ptr
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 num 0-255[u]
HALF_LOCKED2 _T->lock

sound/core/seq/seq_clientmgr.c snd_seq_ioctl_get_subscription() -> snd_seq_port_use_ptr()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
DATA_SOURCE 0 client r client_load_and_use_ptr
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 num 0-255[u]
HALF_LOCKED2 _T->lock

sound/core/seq/seq_clientmgr.c snd_seq_ioctl_query_subs() -> snd_seq_port_use_ptr()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
DATA_SOURCE 0 client r client_load_and_use_ptr
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 num 0-255[u]
HALF_LOCKED2 _T->lock

sound/core/seq/seq_clientmgr.c snd_seq_ioctl_set_port_info() -> snd_seq_port_use_ptr()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
PARAM_VALUE 0 client->number 0-255
BUF_SIZE 0 client s32min-(-1),1-s32max
BUF_SIZE 0 client s32min-(-1),1-s32max
CAPPED_DATA 0 client->number 1
DATA_SOURCE 0 client $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 num 0-255[u]
HALF_LOCKED2 _T->lock

sound/core/seq/seq_clientmgr.c snd_seq_ioctl_subscribe_port() -> snd_seq_port_use_ptr()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
DATA_SOURCE 0 client r client_load_and_use_ptr
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 num 0-255[u]
HALF_LOCKED2 _T->lock

sound/core/seq/seq_clientmgr.c snd_seq_ioctl_subscribe_port() -> snd_seq_port_use_ptr()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
DATA_SOURCE 0 client r client_load_and_use_ptr
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 num 0-255[u]
HALF_LOCKED2 _T->lock

sound/core/seq/seq_clientmgr.c snd_seq_ioctl_unsubscribe_port() -> snd_seq_port_use_ptr()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
DATA_SOURCE 0 client r snd_seq_client_use_ptr
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 num 0-255[u]
HALF_LOCKED2 _T->lock

sound/core/seq/seq_clientmgr.c snd_seq_ioctl_unsubscribe_port() -> snd_seq_port_use_ptr()

Type Parameter Key Value
PARAM_VALUE 0 client 4096-ptr_max
DATA_SOURCE 0 client r snd_seq_client_use_ptr
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 num 0-255[u]
HALF_LOCKED2 _T->lock