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_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->status_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hub->status_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hub->status_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hub->status_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hub->status_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hub->status_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hub->status_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hub->status_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | hub->status_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hub->status_mutex.osq.tail.counter | 0-s32max |
| 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_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->descriptor | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev | 4096-ptr_max |
| 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_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->quiescing | 0 |
| BUF_SIZE | 0 | hub | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hub | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hub | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | hub->urb->num_mapped_sgs | |
| UNITS | 0 | hub | unit_byte |
| HALF_LOCKED2 | &hdev->dev.mutex |
drivers/usb/core/hub.c hub_disconnect() -> hub_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->disconnected | 1 |
| PARAM_VALUE | 0 | hub->error | 0 |
| PARAM_VALUE | 0 | hub->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->irq_urb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hub->irq_urb_retry.entry.pprev | 0 |
| PARAM_VALUE | 0 | hub->irq_urb_retry.flags | 0-4194302 |
| PARAM_VALUE | 0 | hub->irq_urb_retry.function | 0 |
| PARAM_VALUE | 0 | hub->leds.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | hub->post_resume_work.timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | hub->post_resume_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | hub->quiescing | 1 |
| PARAM_VALUE | 0 | hub->tt.clear_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | hub->urb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hub->urb->dev->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->urb->urb_list.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | hub | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hub | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | hub->buffer | 1 |
| CAPPED_DATA | 0 | hub->descriptor | 1 |
| CAPPED_DATA | 0 | hub->hdev->maxchild | 1 |
| CAPPED_DATA | 0 | hub->ports | 1 |
| CAPPED_DATA | 0 | hub->status | 1 |
| CAPPED_DATA | 0 | hub->urb | 1 |
| CAPPED_DATA | 0 | &hub->onboard_devs | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hub | unit_byte |
drivers/usb/core/hub.c hub_event() -> hub_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| PARAM_VALUE | 0 | hub->hdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | *hub->hdev->toggle | 0-4294967295 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/core/hub.c hub_post_resume() -> hub_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hub | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/core/hub.c kick_hub_wq() -> hub_put()
| 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 |
| CAPPED_DATA | 0 | &hub->events | 1 |
| 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 |