Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/tty/n_gsm.c gsm_control_keep_alive() -> gsm_control_command()

Type Parameter Key Value
PARAM_VALUE 0 gsm 4096-ptr_max
PARAM_VALUE 0 gsm->dlci 4096-ptr_max
PARAM_VALUE 0 gsm->ka_num 0-255
PARAM_VALUE 0 gsm->keep_alive 1-u32max
PARAM_VALUE 1 cmd 17
PARAM_VALUE 2 data 4096-ptr_max
PARAM_VALUE 3 dlen 1
FUZZY_MAX 0 gsm->ka_num 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 dlen unit_byte
LOCK2 flags
LOCK2 0 &gsm->control_lock
TYPE_LOCK (struct gsm_mux)->control_lock

drivers/tty/n_gsm.c gsm_control_transmit() -> gsm_control_command()

Type Parameter Key Value
PARAM_VALUE 0 gsm 4096-ptr_max
PARAM_VALUE 0 gsm->dlci 4096-ptr_max
PARAM_VALUE 0 gsm->pending_cmd 1-u64max
BUF_SIZE 0 gsm->pending_cmd (-1),32
BUF_SIZE 2 data (-1),3
BUF_SIZE 2 data (-1),3
DATA_SOURCE 0 gsm $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &gsm->control_lock
TYPE_LOCK (struct gsm_mux)->control_lock

drivers/tty/n_gsm.c gsm_dlci_negotiate() -> gsm_control_command()

Type Parameter Key Value
PARAM_VALUE 1 cmd 65
PARAM_VALUE 2 data 227386904755261440
PARAM_VALUE 3 dlen 8
BUF_SIZE 0 gsm (-1),16,120,192,376,480,512,520,1552,4648,9144
BUF_SIZE 0 gsm (-1),16,120,192,376,480,512,520,1552,4648,9144
BUF_SIZE 2 data 8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 gsm->address 0-127[c][u]
USER_DATA 0 gsm->initiator 1[c]
USER_DATA 0 gsm->k 1-7
USER_DATA 0 gsm->keep_alive 0-u32max
USER_DATA 0 gsm->mru 8-1500[c]
USER_DATA 0 gsm->mtu 8-1500[c]
USER_DATA 0 gsm->n2 0-255
USER_DATA 0 gsm->t1 1-s32max[c]
USER_DATA 0 gsm->t2 1-s32max[c]
USER_DATA 0 gsm->t3 1-255
UNITS 3 dlen unit_byte

drivers/tty/n_gsm.c gsm_modem_send_initial_msc() -> gsm_control_command()

Type Parameter Key Value
PARAM_VALUE 0 gsm 4096-ptr_max
PARAM_VALUE 0 gsm->encoding 0
PARAM_VALUE 1 cmd 113
PARAM_VALUE 2 data 904955897849577472
PARAM_VALUE 3 dlen 2
BUF_SIZE 0 gsm (-1),16,120,192,376,480,512,520,1552,4648,9144
BUF_SIZE 0 gsm (-1),16,120,192,376,480,512,520,1552,4648,9144
BUF_SIZE 2 data 2
RX_PATH
USER_DATA 0 gsm->address 0-16383[c][u]
USER_DATA 0 gsm->control 63
USER_DATA 0 gsm->initiator 1[c]
USER_DATA 0 gsm->k 1-7
USER_DATA 0 gsm->keep_alive 0-u32max
USER_DATA 0 gsm->len 0-u32max[c]
USER_DATA 0 gsm->mru 8-1500[c]
USER_DATA 0 gsm->mtu 8-1500[c]
USER_DATA 0 gsm->n2 0-255
USER_DATA 0 gsm->t1 1-s32max[c]
USER_DATA 0 gsm->t2 1-s32max[c]
USER_DATA 0 gsm->t3 1-255
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->port->buf.lock