Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/pci/probe.c pci_set_removable() -> dev_set_removable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | removable | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/pci/probe.c pci_set_removable() -> dev_set_removable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | removable | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
drivers/usb/core/hub.c set_usb_port_removable() -> dev_set_removable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | removable | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |
drivers/usb/core/hub.c set_usb_port_removable() -> dev_set_removable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->removable | 1 |
| PARAM_VALUE | 1 | removable | 3 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |
drivers/usb/core/hub.c set_usb_port_removable() -> dev_set_removable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->removable | 1 |
| PARAM_VALUE | 1 | removable | 2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |
drivers/usb/core/hub.c set_usb_port_removable() -> dev_set_removable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->removable | 1 |
| PARAM_VALUE | 1 | removable | 3 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |
drivers/usb/core/hub.c set_usb_port_removable() -> dev_set_removable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->removable | 1 |
| PARAM_VALUE | 1 | removable | 2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &port_dev->status_lock | ||
| HALF_LOCKED2 | global &usb_bus_idr_lock |
drivers/mmc/core/bus.c mmc_add_card() -> dev_set_removable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | removable | 2-3 |
| FUZZY_MAX | 1 | removable | 3 |
| BIT_INFO | 1 | removable | 0x2,0x3 |
| HARD_MAX | 1 | removable | 3 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |