Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/base/bus.c, line 267
- drivers/base/dd.c, line 1213
- drivers/dma/idxd/compat.c, line 66
- drivers/dma/idxd/init.c, line 774
- drivers/platform/x86/dell/dell-uart-backlight.c, line 372
- drivers/platform/x86/lenovo/yoga-tab2-pro-1380-fastcharger.c, line 273
- drivers/vfio/mdev/mdev_core.c, line 190
Smatch caller information:
drivers/dma/idxd/init.c idxd_bind() -> device_driver_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drv | 1331567833662079016,3495308253179654184 |
| PARAM_VALUE | 0 | drv->bus | 1-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | drv | $0 |
| DATA_SOURCE | 1 | dev | r bus_find_device_by_name |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/dma/idxd/compat.c bind_store() -> device_driver_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drv | 1-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver | 0 |
| DATA_SOURCE | 1 | dev | r bus_find_device_by_name |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/base/bus.c bind_store() -> device_driver_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drv | 4096-ptr_max |
| PARAM_VALUE | 0 | drv->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| CAPPED_DATA | 0 | drv->bus | 1 |
| DATA_SOURCE | 0 | drv | $0 |
| DATA_SOURCE | 1 | dev | r bus_find_device_by_name |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/lenovo/yoga-tab2-pro-1380-fastcharger.c yt2_1380_fc_pdev_probe() -> device_driver_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drv | 107133509969551360 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/dell/dell-uart-backlight.c dell_uart_bl_pdev_probe() -> device_driver_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drv | 2886032615084785664 |
| PARAM_VALUE | 0 | drv->bus | 7363975982507945984 |
| PARAM_VALUE | 0 | drv->owner | 0 |
| PARAM_VALUE | 0 | drv->p | 4096-ptr_max |
| PARAM_VALUE | 0 | drv->probe_type | 1 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/vfio/mdev/mdev_core.c mdev_device_create() -> device_driver_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drv | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &parent->unreg_sem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct mdev_parent)->unreg_sem |