Defined in 1 files as a function:
Referenced in 3 files:
- drivers/usb/host/ehci-hub.c, line 1193
- drivers/usb/host/ehci-sysfs.c, line 55
- fs/smb/client/smb2pdu.c
Smatch caller information:
drivers/usb/host/ehci-hcd.c companion_store() -> set_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ehci | 4096-ptr_max |
| PARAM_VALUE | 1 | portnum | 0-14 |
| PARAM_VALUE | 2 | new_owner | 0,8192 |
| DATA_SOURCE | 0 | ehci | r hcd_to_ehci |
| FUZZY_MAX | 2 | new_owner | 8192 |
| BIT_INFO | 2 | new_owner | 0x0,0x2000 |
| HARD_MAX | 2 | new_owner | 8192 |
| 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/host/ehci-hcd.c ehci_relinquish_port() -> set_owner()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | new_owner | 8192 |
| NOCHECK_CALL | |||
| LOCK2 | &hdev->dev.mutex | ||
| LOCK2 | &pool->lock | ||
| LOCK2 | &port_dev->status_lock | ||
| TYPE_LOCK | (struct device)->mutex |