Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/tty/n_gsm.c gsm_activate_mux() -> gsm_dlci_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gsm | 4096-ptr_max |
| PARAM_VALUE | 0 | gsm->dead | 1 |
| PARAM_VALUE | 1 | addr | 0 |
| BUF_SIZE | 0 | gsm | 16,120,192,376,480,512,520,1552,4648,9144 |
| BUF_SIZE | 0 | gsm | 16,120,192,376,480,512,520,1552,4648,9144 |
| DATA_SOURCE | 0 | gsm | $0 |
| 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 |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/n_gsm.c gsm_queue() -> gsm_dlci_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gsm | 4096-ptr_max |
| PARAM_VALUE | 0 | gsm->control | 63 |
| PARAM_VALUE | 0 | gsm->dlci | 4096-ptr_max |
| PARAM_VALUE | 0 | gsm->fcs | 207 |
| PARAM_VALUE | 0 | gsm->receive | 1-u64max |
| PARAM_VALUE | 0 | gsm->state | 0,11 |
| PARAM_VALUE | 1 | addr | 0-63 |
| BUF_SIZE | 0 | gsm | 16,120,192,376,480,512,520,1552,4648,9144 |
| BUF_SIZE | 0 | gsm | 16,120,192,376,480,512,520,1552,4648,9144 |
| DATA_SOURCE | 0 | gsm | $0 |
| HARD_MAX | 0 | gsm->state | 11 |
| HARD_MAX | 1 | addr | 63 |
| USER_DATA | 0 | gsm->address | 0-268435455[c][u] |
| USER_DATA | 0 | gsm->control | 63 |
| USER_DATA | 0 | gsm->len | 0-u32max[c] |
| USER_DATA | 1 | addr | 1-63[c] |
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->port->buf.lock |
drivers/tty/n_gsm.c gsmld_ioctl() -> gsm_dlci_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gsm | 4096-ptr_max |
| PARAM_VALUE | 0 | gsm->dlci | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0-63 |
| BUF_SIZE | 0 | gsm | 16,120,192,376,480,512,520,1552,4648,9144 |
| BUF_SIZE | 0 | gsm | 16,120,192,376,480,512,520,1552,4648,9144 |
| CAPPED_DATA | 1 | addr | 1 |
| NOSPEC | 1 | addr | |
| NOSPEC | 1 | addr | |
| USER_DATA | 1 | addr | 1-63[c] |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/n_gsm.c gsmld_ioctl() -> gsm_dlci_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gsm | 4096-ptr_max |
| PARAM_VALUE | 0 | gsm->dlci | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0-63 |
| BUF_SIZE | 0 | gsm | 16,120,192,376,480,512,520,1552,4648,9144 |
| BUF_SIZE | 0 | gsm | 16,120,192,376,480,512,520,1552,4648,9144 |
| CAPPED_DATA | 1 | addr | 1 |
| NOSPEC | 1 | addr | |
| NOSPEC | 1 | addr | |
| USER_DATA | 1 | addr | 1-63[c] |
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/tty/n_gsm.c gsmtty_install() -> gsm_dlci_alloc()
| 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 |
| PARAM_VALUE | 1 | addr | 1-61 |
| CAPPED_DATA | 0 | &gsm->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr | unit_array_size |
| 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 |