Defined in 6 files as a function:
- arch/parisc/kernel/drivers.c, line 230 (as a function)
- arch/um/drivers/vector_kern.c, line 685 (as a function)
- drivers/md/dm-ioctl.c, line 1043 (as a function)
- drivers/md/dm-table.c, line 216 (as a function)
- drivers/ssb/driver_mipscore.c, line 83 (as a function)
- drivers/xen/pci.c, line 310 (as a function)
Referenced in 6 files:
- arch/parisc/kernel/drivers.c, line 251
- arch/um/drivers/vector_kern.c
- drivers/md/dm-ioctl.c
- drivers/md/dm-table.c, line 382
- drivers/ssb/driver_mipscore.c, line 165
- drivers/xen/pci.c
Smatch caller information:
drivers/md/dm-ioctl.c dev_set_geometry() -> find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $1 |
drivers/md/dm-ioctl.c dev_status() -> find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dev | $1 |
drivers/md/dm-ioctl.c dev_wait() -> find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dev | $1 |
drivers/md/dm-ioctl.c do_suspend() -> find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->flags | 0x2,0xffffffff |
drivers/md/dm-ioctl.c table_deps() -> find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dev | $1 |
drivers/md/dm-ioctl.c table_load() -> find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dev | $1 |
drivers/md/dm-ioctl.c table_status() -> find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dev | $1 |
drivers/md/dm-ioctl.c target_message() -> find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $1 |
drivers/xen/pci.c xen_find_device_domain_owner() -> find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 0 | dev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->current_state | 0-3[c] |
| LOCK2 | global &dev_domain_list_spinlock | ||
| HALF_LOCKED2 | &_T->lock->msi.data->mutex | ||
| HALF_LOCKED2 | &pdev->dev_lock | ||
| HALF_LOCKED2 | 0 | &dev->dev.mutex |
drivers/xen/pci.c xen_register_device_domain_owner() -> find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 0 | dev->bus | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pdev->dev_lock | ||
| LOCK2 | global &dev_domain_list_spinlock | ||
| HALF_LOCKED2 | global &xenwatch_mutex | ||
| TYPE_LOCK | (struct xen_pcibk_device)->dev_lock |
drivers/xen/pci.c xen_unregister_device_domain_owner() -> find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | dev->sriov->offset | 0-u16max |
| HOST_DATA | 0 | dev->sriov->stride | 0-u16max |
| UNITS | 0 | dev | unit_byte |
| LOCK2 | global &dev_domain_list_spinlock | ||
| HALF_LOCKED2 | &pdev->dev_lock | ||
| HALF_LOCKED2 | global &pcistub_sem | ||
| HALF_LOCKED2 | 0 | &dev->dev.mutex |
drivers/md/dm-table.c dm_get_device() -> find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| HALF_LOCKED2 | global &dm_thin_pool_table.mutex |