Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/comedi/drivers/ni_labpc.c, line 99
- drivers/comedi/drivers/ni_labpc_common.c, line 1358
- drivers/comedi/drivers/ni_labpc_cs.c, line 78
- drivers/comedi/drivers/ni_labpc_pci.c, line 97
Smatch caller information:
drivers/comedi/drivers/ni_labpc_cs.c labpc_cs_detach() -> labpc_common_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->attach_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->attach_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dev->attach_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | dev->attach_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | dev->attach_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dev->attach_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->attach_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->attach_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->attach_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->attach_lock.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->attached | 0 |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->attach | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->auto_attach | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->board_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->detach | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->module | 0 |
| PARAM_VALUE | 0 | dev->driver->num_names | 0-5,7-8,11,13-14,18,22 |
| PARAM_VALUE | 0 | dev->driver->offset | 0,8,16,24,32,40,48 |
| PARAM_VALUE | 0 | dev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dev->attach_lock | |
| LOCK2 | 0 | &dev->mutex | |
| TYPE_LOCK | (struct comedi_device)->attach_lock | ||
| TYPE_LOCK | (struct comedi_device)->mutex |
drivers/comedi/drivers/ni_labpc_pci.c labpc_pci_detach() -> labpc_common_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->attach_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->attach_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dev->attach_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | dev->attach_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | dev->attach_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dev->attach_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->attach_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->attach_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->attach_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->attach_lock.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->attached | 0 |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->attach | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->auto_attach | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->board_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->detach | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->module | 0 |
| PARAM_VALUE | 0 | dev->driver->num_names | 0-5,7-8,11,13-14,18,22 |
| PARAM_VALUE | 0 | dev->driver->offset | 0,8,16,24,32,40,48 |
| PARAM_VALUE | 0 | dev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dev->attach_lock | |
| LOCK2 | 0 | &dev->mutex | |
| TYPE_LOCK | (struct comedi_device)->attach_lock | ||
| TYPE_LOCK | (struct comedi_device)->mutex |
drivers/comedi/drivers/ni_labpc.c labpc_detach() -> labpc_common_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->attach_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->attach_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dev->attach_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | dev->attach_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | dev->attach_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dev->attach_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->attach_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->attach_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->attach_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->attach_lock.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->attached | 0 |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->attach | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->auto_attach | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->board_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->detach | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver->module | 0 |
| PARAM_VALUE | 0 | dev->driver->num_names | 0-5,7-8,11,13-14,18,22 |
| PARAM_VALUE | 0 | dev->driver->offset | 0,8,16,24,32,40,48 |
| PARAM_VALUE | 0 | dev->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->private | 0,4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &dev->attach_lock | |
| LOCK2 | 0 | &dev->mutex | |
| TYPE_LOCK | (struct comedi_device)->attach_lock | ||
| TYPE_LOCK | (struct comedi_device)->mutex |