Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/configfs.c config_usb_cfg_link() -> to_usb_function_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| DATA_SOURCE | 0 | item | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dir->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
drivers/usb/gadget/configfs.c config_usb_cfg_unlink() -> to_usb_function_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | item | (-1),1-s32max |
| BUF_SIZE | 0 | item | (-1),1-s32max |
| DATA_SOURCE | 0 | item | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
drivers/usb/gadget/configfs.c function_drop() -> to_usb_function_instance()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| BUF_SIZE | 0 | item | (-1)-s32max |
| BUF_SIZE | 0 | item | (-1)-s32max |
| DATA_SOURCE | 0 | item | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | item->nodeid | |
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |