Documented in 1 files:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/tty/n_gsm.c gsmtty_install() -> mux_get()

Type Parameter Key Value
PARAM_VALUE 0 gsm 4096-ptr_max
PARAM_VALUE 0 gsm->dead 0
PARAM_VALUE 0 gsm->dlci 4096-ptr_max
PARAM_VALUE 0 gsm->mutex.dep_map->name 0-255
PARAM_VALUE 0 gsm->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 gsm->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gsm->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 gsm->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 gsm->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 gsm->mutex.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &gsm->mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tty->legacy_mutex
LOCK2 0 &gsm->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &spk_mutex
HALF_LOCKED2 global &tty_mutex
TYPE_LOCK (struct gsm_mux)->mutex
TYPE_LOCK (struct tty_struct)->legacy_mutex

drivers/mux/core.c mux_control_get() -> mux_get()

Type Parameter Key Value
PARAM_VALUE 0 gsm 4096-ptr_max
PARAM_VALUE 1 mux_name 0
PARAM_VALUE 2 state 0
PARAM_VALUE 3 optional 0
PARAM_VALUE 4 node 0
BUF_SIZE 0 gsm (-1),1616
BUF_SIZE 0 gsm (-1),1616
DATA_SOURCE 0 gsm $0
DATA_SOURCE 1 mux_name $1
RX_PATH
TASK_NOT_RUNNING

drivers/mux/core.c mux_control_get_optional() -> mux_get()

Type Parameter Key Value
PARAM_VALUE 2 state 0
PARAM_VALUE 3 optional 1
PARAM_VALUE 4 node 0
DATA_SOURCE 0 gsm $0
DATA_SOURCE 1 mux_name $1

drivers/mux/core.c mux_state_get() -> mux_get()

Type Parameter Key Value
PARAM_VALUE 2 state 4096-ptr_max
PARAM_VALUE 4 node 0,4096-ptr_max
PARAM_VALUE 4 node->phandle 1-u32max
DATA_SOURCE 0 gsm $0
DATA_SOURCE 1 mux_name $1
DATA_SOURCE 3 optional $2
DATA_SOURCE 4 node $3
RX_PATH
TASK_NOT_RUNNING