Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/usb/core/port.c disable_show() -> hub_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 1-u64max |
| BUF_SIZE | 0 | hub | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hub | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hub | r usb_hub_to_struct_hub |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/core/port.c disable_store() -> hub_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 1-u64max |
| BUF_SIZE | 0 | hub | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hub | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | hub | r usb_hub_to_struct_hub |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/core/hub.c hub_activate() -> hub_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | *hub->hdev->toggle | 0-4294967295 |
| BUF_SIZE | 0 | hub | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hub | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hub->buffer | (-1),8 |
| BUF_SIZE | 0 | hub->descriptor | (-1),15 |
| BUF_SIZE | 0 | hub->intfdev | (-1),1616 |
| BUF_SIZE | 0 | hub->ports | (-1),8-248 |
| BUF_SIZE | 0 | hub->status | (-1),8 |
| DATA_SOURCE | 0 | hub | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hub | unit_byte |
drivers/usb/core/hub.c kick_hub_wq() -> hub_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->disconnected | 0 |
| BUF_SIZE | 0 | hub | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hub | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hub | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | hub->urb->num_mapped_sgs | |
| UNITS | 0 | hub | unit_byte |
| HALF_LOCKED2 | &xhci->lock | ||
| HALF_LOCKED2 | global &device_state_lock | ||
| HALF_LOCKED2 | global &hcd_root_hub_lock |