Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/uvc_configfs.c uvcg_control_class_allow_link() -> to_uvcg_control_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| CAPPED_DATA | 0 | item->ci_parent | 1 |
| DATA_SOURCE | 0 | item | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dir->i_rwsem | ||
| LOCK2 | &opts->lock | ||
| LOCK2 | su_mutex | ||
| TYPE_LOCK | (struct f_uvc_opts)->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
drivers/usb/gadget/function/uvc_configfs.c uvcg_control_class_drop_link() -> to_uvcg_control_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| BUF_SIZE | 0 | item | (-1),1-s32max |
| BUF_SIZE | 0 | item | (-1),1-s32max |
| CAPPED_DATA | 0 | item->ci_parent | 1 |
| DATA_SOURCE | 0 | item | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &opts->lock | ||
| LOCK2 | su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| TYPE_LOCK | (struct f_uvc_opts)->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
drivers/usb/gadget/function/uvc_configfs.c uvcg_control_header_bcd_uvc_show() -> to_uvcg_control_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | item | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
drivers/usb/gadget/function/uvc_configfs.c uvcg_control_header_bcd_uvc_store() -> to_uvcg_control_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | item | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
drivers/usb/gadget/function/uvc_configfs.c uvcg_control_header_dw_clock_frequency_show() -> to_uvcg_control_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | item | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
drivers/usb/gadget/function/uvc_configfs.c uvcg_control_header_dw_clock_frequency_store() -> to_uvcg_control_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | item | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |