Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/tty/n_gsm.c gsm_dlci_data_output() -> gsm_encode_modem()

Type Parameter Key Value
PARAM_VALUE 0 dlci 4096-ptr_max
BUF_SIZE 0 dlci s32min-(-1),1-s32max
BUF_SIZE 0 dlci s32min-(-1),1-s32max
BUF_SIZE 0 dlci->gsm (-1),16,120,192,376,480,512,520,1552,4648,9144
DATA_SOURCE 0 dlci $1
NOSPEC 0 dlci->addr
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 dlci->skb_list.next->csum_offset 0-u16max
HOST_DATA 0 dlci->skb_list.next->data_len 0-u32max[c]
HOST_DATA 0 dlci->skb_list.next->len 0-u32max[c]
HOST_DATA 0 dlci->skb_list.next->prev->csum_offset 0-u16max
HOST_DATA 0 dlci->skb_list.next->prev->data_len 0-u32max[c]
HOST_DATA 0 dlci->skb_list.next->prev->len 0-u32max[c]
HOST_DATA 0 dlci->skb_list.next->prev->tstamp 500000002-4294967299794967295[c]
HOST_DATA 0 dlci->skb_list.next->prev->users.refs.counter s32min-0,2-s32max
HOST_DATA 0 dlci->skb_list.next->tstamp 500000002-4294967299794967295[c]
HOST_DATA 0 dlci->skb_list.next->users.refs.counter s32min-0,2-s32max
USER_DATA 0 dlci->addr 1-63[c]
USER_DATA 0 dlci->gsm->address 0-127[c][u]
USER_DATA 0 dlci->gsm->initiator 1[c]
USER_DATA 0 dlci->gsm->k 1-7
USER_DATA 0 dlci->gsm->keep_alive 0-u32max
USER_DATA 0 dlci->gsm->mru 8-1500[c]
USER_DATA 0 dlci->gsm->mtu 8-1500[c]
USER_DATA 0 dlci->gsm->n2 0-255
USER_DATA 0 dlci->gsm->t1 1-s32max[c]
USER_DATA 0 dlci->gsm->t2 1-s32max[c]
USER_DATA 0 dlci->gsm->t3 1-255
USER_DATA 0 dlci->k 1-7
USER_DATA 0 dlci->mtu 8-1500[c]
USER_DATA 0 dlci->prio 7-63
UNITS 0 dlci unit_byte
LOCK2 &gsm->tx_lock
LOCK2 flags
HALF_LOCKED2 0 &dlci->gsm->tx_lock
TYPE_LOCK (struct gsm_mux)->tx_lock

drivers/tty/n_gsm.c gsm_dlci_modem_output() -> gsm_encode_modem()

Type Parameter Key Value
PARAM_VALUE 0 dlci 4096-ptr_max
PARAM_VALUE 0 dlci->gsm 4096-ptr_max
BUF_SIZE 0 dlci s32min-(-1),1-s32max
BUF_SIZE 0 dlci s32min-(-1),1-s32max
DATA_SOURCE 0 dlci $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dlci->modem_tx 0-u32max[c][u]
UNITS 0 dlci unit_byte
LOCK2 &gsm->tx_lock
LOCK2 flags
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct gsm_mux)->tx_lock

drivers/tty/n_gsm.c gsm_dlci_modem_output() -> gsm_encode_modem()

Type Parameter Key Value
PARAM_VALUE 0 dlci 4096-ptr_max
PARAM_VALUE 0 dlci->gsm 4096-ptr_max
BUF_SIZE 0 dlci s32min-(-1),1-s32max
BUF_SIZE 0 dlci s32min-(-1),1-s32max
DATA_SOURCE 0 dlci $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dlci->modem_tx 0-u32max[c][u]
UNITS 0 dlci unit_byte
LOCK2 &gsm->tx_lock
LOCK2 flags
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct gsm_mux)->tx_lock

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

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

drivers/tty/n_gsm.c gsm_modem_upd_via_msc() -> gsm_encode_modem()

Type Parameter Key Value
PARAM_VALUE 0 dlci 4096-ptr_max
PARAM_VALUE 0 dlci->gsm 4096-ptr_max
BUF_SIZE 0 dlci s32min-(-1),1-s32max
BUF_SIZE 0 dlci s32min-(-1),1-s32max
DATA_SOURCE 0 dlci $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dlci->modem_tx 0-u32max[c][u]
UNITS 0 dlci unit_byte
HALF_LOCKED2 _T->lock

drivers/tty/n_gsm.c gsm_modem_upd_via_msc() -> gsm_encode_modem()

Type Parameter Key Value
PARAM_VALUE 0 dlci 4096-ptr_max
PARAM_VALUE 0 dlci->gsm 4096-ptr_max
BUF_SIZE 0 dlci s32min-(-1),1-s32max
BUF_SIZE 0 dlci s32min-(-1),1-s32max
DATA_SOURCE 0 dlci $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dlci->modem_tx 0-u32max[c][u]
UNITS 0 dlci unit_byte
HALF_LOCKED2 _T->lock