Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/legacy/tcm_usb_gadget.c usb_target_gadget_init() -> (struct usb_function_instance)->set_inst_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fd->mod | 0,4096-ptr_max |
| PARAM_VALUE | 1 | name | 5740909852898820096 |
| BUF_SIZE | 0 | fi | 176 |
| BUF_SIZE | 1 | name | 11 |
| DATA_SOURCE | 0 | fi | r usb_get_function_instance |
| STR_LEN | 0 | fi | 10 |
| CONTAINER | 0 | -160+0 | $(-1) |
| TERMINATED | 1 | name | 1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fi->common->fsg_num_buffers |
drivers/usb/gadget/configfs.c function_make() -> (struct usb_function_instance)->set_inst_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fi | 4096-ptr_max |
| PARAM_VALUE | 0 | fi->fd->mod | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fi->group.cg_item->ci_namebuf | 0-255 |
| PARAM_VALUE | 0 | fi->set_inst_name | 1-u64max |
| PARAM_VALUE | 1 | name | 2971331260851503105-18446744073709547521 |
| BUF_SIZE | 0 | fi | 176 |
| DATA_SOURCE | 0 | fi | r usb_get_function_instance |
| CONTAINER | 0 | -160+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | fi->common->fsg_num_buffers | |
| NO_OVERFLOW_SIMPLE | 0 | fi->group.cg_item.ci_namebuf | |
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |