Defined in 3 files as a function:
- drivers/staging/greybus/raw.c, line 59 (as a function)
- drivers/tty/nozomi.c, line 751 (as a function)
- drivers/usb/gadget/udc/atmel_usba_udc.c, line 482 (as a function)
Referenced in 4 files:
- drivers/staging/greybus/raw.c, line 124
- drivers/staging/greybus/uart.c
- drivers/tty/nozomi.c
- drivers/usb/gadget/udc/atmel_usba_udc.c
Smatch caller information:
drivers/tty/nozomi.c handle_data_dl() -> receive_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw | 0-1 |
| PARAM_VALUE | 1 | len | 4096-ptr_max |
| PARAM_VALUE | 1 | len->port | 4096-ptr_max |
| PARAM_VALUE | 1 | len->reg_iir | 4096-ptr_max |
| PARAM_VALUE | 1 | len->spin_mutex.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | raw | $1 |
| DATA_SOURCE | 1 | len | $0 |
| HARD_MAX | 0 | raw | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &len->spin_mutex | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct nozomi)->spin_mutex |
drivers/tty/nozomi.c handle_data_dl() -> receive_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw | 0-1 |
| PARAM_VALUE | 1 | len | 4096-ptr_max |
| PARAM_VALUE | 1 | len->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | len->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | len->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | len->port | 4096-ptr_max |
| PARAM_VALUE | 1 | len->reg_iir | 4096-ptr_max |
| PARAM_VALUE | 1 | len->spin_mutex.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | raw | $1 |
| DATA_SOURCE | 1 | len | $0 |
| HARD_MAX | 0 | raw | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &len->spin_mutex | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct nozomi)->spin_mutex |
drivers/tty/nozomi.c handle_data_dl() -> receive_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw | 0-1 |
| PARAM_VALUE | 1 | len | 4096-ptr_max |
| PARAM_VALUE | 1 | len->port | 4096-ptr_max |
| PARAM_VALUE | 1 | len->reg_iir | 4096-ptr_max |
| PARAM_VALUE | 1 | len->spin_mutex.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | raw | $1 |
| DATA_SOURCE | 1 | len | $0 |
| HARD_MAX | 0 | raw | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &len->spin_mutex | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct nozomi)->spin_mutex |
drivers/tty/nozomi.c handle_data_dl() -> receive_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw | 0-1 |
| PARAM_VALUE | 1 | len | 4096-ptr_max |
| PARAM_VALUE | 1 | len->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | len->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | len->pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | len->port | 4096-ptr_max |
| PARAM_VALUE | 1 | len->reg_iir | 4096-ptr_max |
| PARAM_VALUE | 1 | len->spin_mutex.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | raw | $1 |
| DATA_SOURCE | 1 | len | $0 |
| HARD_MAX | 0 | raw | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &len->spin_mutex | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct nozomi)->spin_mutex |
drivers/tty/nozomi.c interrupt_handler() -> receive_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw | 2 |
| PARAM_VALUE | 1 | len | 4096-ptr_max |
| PARAM_VALUE | 1 | len->reg_iir | 4096-ptr_max |
| PARAM_VALUE | 1 | len->spin_mutex.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 1 | len | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &len->spin_mutex | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct nozomi)->spin_mutex |
drivers/tty/nozomi.c interrupt_handler() -> receive_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | raw | 3 |
| PARAM_VALUE | 1 | len | 4096-ptr_max |
| PARAM_VALUE | 1 | len->reg_iir | 4096-ptr_max |
| PARAM_VALUE | 1 | len->spin_mutex.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 1 | len | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &len->spin_mutex | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct nozomi)->spin_mutex |
drivers/staging/greybus/raw.c gb_raw_request_handler() -> receive_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 1-u32max |
| BUF_SIZE | 0 | raw | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | raw | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | len | 1 |
| UNITS | 0 | raw | unit_byte |
| UNITS | 1 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |