Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/f_midi2.c f_midi2_alloc_inst() -> f_midi2_ep_opts_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opts | 4096-ptr_max |
| PARAM_VALUE | 0 | opts->func_inst.free_func_inst | 3925999165216075776 |
| PARAM_VALUE | 0 | opts->info.num_reqs | 32 |
| PARAM_VALUE | 0 | opts->info.process_ump | 1 |
| PARAM_VALUE | 0 | opts->info.req_buf_size | 512 |
| PARAM_VALUE | 0 | opts->info.static_block | 1 |
| PARAM_VALUE | 0 | opts->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | opts->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | opts->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | opts->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | opts->lock.owner.counter | 0 |
| PARAM_VALUE | 1 | index | 0 |
| PARAM_VALUE | 2 | ep_p | 982182643432038400 |
| BUF_SIZE | 0 | opts | 400 |
| DATA_SOURCE | 0 | opts | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &func_lock | ||
| HALF_LOCKED2 | &subsys->su_mutex |
drivers/usb/gadget/function/f_midi2.c f_midi2_opts_ep_make() -> f_midi2_ep_opts_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | opts | 4096-ptr_max |
| PARAM_VALUE | 0 | opts->eps | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 0-3 |
| PARAM_VALUE | 2 | ep_p | 2236908359303819264 |
| DATA_SOURCE | 0 | opts | r to_f_midi2_opts |
| HARD_MAX | 1 | index | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | index | |
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |