Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/f_midi2.c f_midi2_alloc() -> do_f_midi2_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | midi2 | 4096-ptr_max |
| PARAM_VALUE | 0 | midi2->func.bind | 9139311272957906944 |
| PARAM_VALUE | 0 | midi2->func.disable | 7137540824014888960 |
| PARAM_VALUE | 0 | midi2->func.free_func | 3826239037145600000 |
| PARAM_VALUE | 0 | midi2->func.get_alt | 1585561068293791744 |
| PARAM_VALUE | 0 | midi2->func.name | 1609558574250737664 |
| PARAM_VALUE | 0 | midi2->func.set_alt | 995941613790081024 |
| PARAM_VALUE | 0 | midi2->func.setup | 817741637687398400 |
| PARAM_VALUE | 0 | midi2->func.unbind | 6701010628098498560 |
| PARAM_VALUE | 0 | midi2->midi2_eps | 4096-ptr_max |
| PARAM_VALUE | 0 | midi2->num_eps | 1-s32max |
| PARAM_VALUE | 0 | midi2->string_defs | 0 |
| PARAM_VALUE | 1 | opts | 4096-ptr_max |
| PARAM_VALUE | 1 | opts->eps | 4096-ptr_max |
| PARAM_VALUE | 1 | opts->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | opts->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opts->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | opts->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | opts->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | opts->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | opts->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | opts->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | opts->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | opts->lock.wait_lock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | midi2 | 10856 |
| BUF_SIZE | 0 | midi2->func.name | 11 |
| BUF_SIZE | 0 | midi2->string_defs | 0-68719476720 |
| CAPPED_DATA | 0 | midi2->num_eps | 1 |
| CAPPED_DATA | 1 | &opts->lock | 1 |
| DATA_SOURCE | 0 | midi2 | r _kzalloc_noprof |
| STR_LEN | 0 | midi2->func.name | 10 |
| TERMINATED | 0 | midi2->func.name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &gi->lock |
drivers/usb/gadget/function/f_midi2.c f_midi2_alloc() -> do_f_midi2_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | midi2 | 4096-ptr_max |
| PARAM_VALUE | 0 | midi2->func.bind | 9139311272957906944 |
| PARAM_VALUE | 0 | midi2->func.disable | 7137540824014888960 |
| PARAM_VALUE | 0 | midi2->func.free_func | 3826239037145600000 |
| PARAM_VALUE | 0 | midi2->func.get_alt | 1585561068293791744 |
| PARAM_VALUE | 0 | midi2->func.name | 1609558574250737664 |
| PARAM_VALUE | 0 | midi2->func.set_alt | 995941613790081024 |
| PARAM_VALUE | 0 | midi2->func.setup | 817741637687398400 |
| PARAM_VALUE | 0 | midi2->func.unbind | 6701010628098498560 |
| PARAM_VALUE | 0 | midi2->midi2_eps | 4096-ptr_max |
| PARAM_VALUE | 0 | midi2->num_eps | 1-s32max |
| PARAM_VALUE | 0 | midi2->num_midi1_in | 0 |
| PARAM_VALUE | 0 | midi2->num_midi1_out | 0 |
| PARAM_VALUE | 0 | midi2->string_defs | 4096-ptr_max |
| PARAM_VALUE | 1 | opts | 4096-ptr_max |
| PARAM_VALUE | 1 | opts->eps | 4096-ptr_max |
| PARAM_VALUE | 1 | opts->info.iface_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opts->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | opts->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opts->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | opts->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | opts->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | opts->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | opts->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | opts->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | opts->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | opts->lock.wait_lock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | midi2 | 10856 |
| BUF_SIZE | 0 | midi2->func.name | 11 |
| BUF_SIZE | 0 | midi2->string_defs | 0-68719476720 |
| CAPPED_DATA | 0 | midi2->num_eps | 1 |
| CAPPED_DATA | 1 | &opts->lock | 1 |
| DATA_SOURCE | 0 | midi2 | r _kzalloc_noprof |
| STR_LEN | 0 | midi2->func.name | 10 |
| TERMINATED | 0 | midi2->func.name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &gi->lock |
drivers/usb/gadget/function/f_midi2.c f_midi2_free() -> do_f_midi2_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | midi2 | 4096-ptr_max |
| PARAM_VALUE | 1 | opts | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gi->lock |