Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/f_fs.c ffs_event_add() -> __ffs_event_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 0-3,5-6 |
| DATA_SOURCE | 0 | ffs | $0 |
| DATA_SOURCE | 1 | type | $1 |
| HARD_MAX | 1 | type | 6 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ffs->eps_count | |
| NO_OVERFLOW_SIMPLE | 0 | ffs->interfaces_count | |
| NO_OVERFLOW_SIMPLE | 0 | ffs->ms_os_descs_ext_prop_count | |
| NO_OVERFLOW_SIMPLE | 0 | ffs->ms_os_descs_ext_prop_data_len | |
| NO_OVERFLOW_SIMPLE | 0 | ffs->ms_os_descs_ext_prop_name_len | |
| NO_OVERFLOW_SIMPLE | 0 | ffs->raw_descs_length | |
| LOCK2 | flags | ||
| LOCK2 | 0 | &ffs->ev.waitq.lock | |
| TYPE_LOCK | (struct wait_queue_head)->lock |
drivers/usb/gadget/function/f_fs.c ffs_func_setup() -> __ffs_event_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ffs | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ev.setup.bRequest | 91-92 |
| PARAM_VALUE | 0 | ffs->state | 2 |
| PARAM_VALUE | 1 | type | 4 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ffs->ev.waitq.lock | |
| TYPE_LOCK | (struct wait_queue_head)->lock |