Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/f_ncm.c ncm_alloc_inst() -> ncm_free_inst()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->free_func_inst | 798446097849024512 |
| PARAM_VALUE | 0 | f->group.cg_children.next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->group.cg_children.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | f->group.cg_item.ci_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->group.cg_item.ci_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | f->group.cg_item.ci_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | f->group.cg_item.ci_type | 3634106603116306432 |
| PARAM_VALUE | 0 | f->group.default_groups.next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->group.default_groups.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &func_lock | ||
| HALF_LOCKED2 | &subsys->su_mutex |
drivers/usb/gadget/functions.c usb_put_function_instance() -> (struct usb_function_instance)->free_func_inst()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->fd | 4096-ptr_max |
| PARAM_VALUE | 0 | f->fd->alloc_func | 4096-ptr_max |
| PARAM_VALUE | 0 | f->fd->mod | 0,4096-ptr_max |
| BUF_SIZE | 0 | f | (-1),176 |
| BUF_SIZE | 0 | f | (-1),176 |
| DATA_SOURCE | 0 | f | $0 |
| CONTAINER | 0 | -168+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | f->common->fsg_num_buffers | |
| HALF_LOCKED2 | &subsys->su_mutex |