Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/f_hid.c f_hid_opts_dev_show() -> to_f_hid_opts()
| 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/f_hid.c f_hid_opts_interval_show() -> to_f_hid_opts()
| 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/f_hid.c f_hid_opts_interval_store() -> to_f_hid_opts()
| 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/f_hid.c f_hid_opts_no_out_endpoint_show() -> to_f_hid_opts()
| 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/f_hid.c f_hid_opts_no_out_endpoint_store() -> to_f_hid_opts()
| 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/f_hid.c f_hid_opts_protocol_show() -> to_f_hid_opts()
| 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/f_hid.c f_hid_opts_protocol_store() -> to_f_hid_opts()
| 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/f_hid.c f_hid_opts_report_desc_show() -> to_f_hid_opts()
| 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/f_hid.c f_hid_opts_report_desc_store() -> to_f_hid_opts()
| 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/f_hid.c f_hid_opts_report_length_show() -> to_f_hid_opts()
| 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/f_hid.c f_hid_opts_report_length_store() -> to_f_hid_opts()
| 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/f_hid.c f_hid_opts_subclass_show() -> to_f_hid_opts()
| 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/f_hid.c f_hid_opts_subclass_store() -> to_f_hid_opts()
| 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/f_hid.c hid_attr_release() -> to_f_hid_opts()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | item | 4096-ptr_max |
| DATA_SOURCE | 0 | item | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &hba->hba_access_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &opts->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &target_cleanup_list_lock | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| HALF_LOCKED2 | su_mutex |