Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/class/cdc-acm.c acm_resume() -> acm_start_wb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | acm | 4096-ptr_max |
| PARAM_VALUE | 0 | acm->control->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | acm->ctrlurb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | acm->delayed.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | acm->delayed.urb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | acm->susp_count | 0 |
| PARAM_VALUE | 0 | acm->write_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | acm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | acm | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | wb | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | acm->ctrlurb | 1 |
| CAPPED_DATA | 0 | acm->rx_buflimit | 1 |
| PARAM_COMPARE | 0 | &acm->delayed.urb_list | != $0->delayed.urb_list.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | acm->ctrlurb->num_mapped_sgs | |
| UNITS | 0 | acm | unit_byte |
| UNITS | 1 | wb | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &acm->write_lock | |
| TYPE_LOCK | (struct acm)->write_lock |
drivers/usb/class/cdc-acm.c acm_tty_write() -> acm_start_wb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | acm | 4096-ptr_max |
| PARAM_VALUE | 0 | acm->control | 4096-ptr_max |
| PARAM_VALUE | 0 | acm->control->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | acm->control->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | acm->control->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | acm->control->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | acm->control->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | acm->control->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | acm->dev | 1-u64max |
| PARAM_VALUE | 0 | acm->susp_count | 0 |
| PARAM_VALUE | 0 | acm->wb | 4096-ptr_max |
| PARAM_VALUE | 1 | wb | 4096-ptr_max |
| BUF_SIZE | 0 | acm | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | acm | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | wb | 768 |
| BUF_SIZE | 1 | wb | 768 |
| CAPPED_DATA | 0 | acm->writesize | 1 |
| CAPPED_DATA | 1 | wb->len | 1 |
| NOSPEC | 1 | wb->len | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | wb->len | 1-s32max[c] |
| USER_DATA | 1 | wb->len | 1-65543[c] |
| USER_DATA | 1 | *wb->buf | 0-255 |
| UNITS | 0 | acm | unit_byte |
| USER_PTR | 1 | wb->buf | |
| LOCK2 | flags | ||
| LOCK2 | 0 | &acm->write_lock | |
| HALF_LOCKED2 | &ap->xmit_lock | ||
| HALF_LOCKED2 | &component->io_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &elm->lock | ||
| HALF_LOCKED2 | &gsm->tx_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sl->lock | ||
| HALF_LOCKED2 | &tty->atomic_write_lock | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| TYPE_LOCK | (struct acm)->write_lock |