Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/comedi/drivers/ni_pcimio.c handle_a_interrupt() -> comedi_is_subdevice_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->spinlock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct comedi_device)->spinlock |
drivers/comedi/drivers/ni_mio_cs.c handle_a_interrupt() -> comedi_is_subdevice_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->spinlock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct comedi_device)->spinlock |
drivers/comedi/drivers/ni_atmio.c handle_a_interrupt() -> comedi_is_subdevice_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->spinlock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct comedi_device)->spinlock |
drivers/comedi/comedi_fops.c comedi_poll() -> comedi_is_subdevice_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async | 1-u64max |
| PARAM_VALUE | 0 | s->async->wait_head.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async->wait_head.head.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async->wait_head.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async->wait_head.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async->wait_head.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->busy | 4096-ptr_max |
| CAPPED_DATA | 0 | s->busy | 1 |
| DATA_SOURCE | 0 | s | r comedi_file_read_subdevice |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->attach_lock | ||
| HALF_LOCKED2 | &kvm->irq_srcu | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &vm->irqfds_lock | ||
| HALF_LOCKED2 | global &irqfds_srcu | ||
| TYPE_LOCK | (struct comedi_device)->attach_lock |
drivers/comedi/comedi_fops.c comedi_poll() -> comedi_is_subdevice_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async | 1-u64max |
| PARAM_VALUE | 0 | s->async->wait_head.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async->wait_head.head.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async->wait_head.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async->wait_head.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async->wait_head.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->busy | 4096-ptr_max |
| CAPPED_DATA | 0 | s | 1 |
| CAPPED_DATA | 0 | s->busy | 1 |
| DATA_SOURCE | 0 | s | r comedi_file_write_subdevice |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->attach_lock | ||
| HALF_LOCKED2 | &kvm->irq_srcu | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &vm->irqfds_lock | ||
| HALF_LOCKED2 | global &irqfds_srcu | ||
| TYPE_LOCK | (struct comedi_device)->attach_lock |
drivers/comedi/comedi_fops.c comedi_read() -> comedi_is_subdevice_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async->wait_head.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->busy | 4096-ptr_max |
| PARAM_VALUE | 0 | s->spin_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | s | 1 |
| CAPPED_DATA | 0 | s->busy | 1 |
| DATA_SOURCE | 0 | s | r comedi_file_read_subdevice |
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct comedi_device)->mutex |
drivers/comedi/comedi_fops.c comedi_write() -> comedi_is_subdevice_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async->cmd.flags | 64-u32max |
| PARAM_VALUE | 0 | s->async->wait_head.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | s->busy | 4096-ptr_max |
| PARAM_VALUE | 0 | s->spin_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | s | 1 |
| CAPPED_DATA | 0 | s->busy | 1 |
| DATA_SOURCE | 0 | s | r comedi_file_write_subdevice |
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct comedi_device)->mutex |
drivers/comedi/comedi_fops.c do_bufinfo_ioctl() -> comedi_is_subdevice_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| PARAM_VALUE | 0 | s->async | 4096-ptr_max |
| PARAM_VALUE | 0 | s->busy | 4096-ptr_max |
| PARAM_VALUE | 0 | s->spin_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | s | 1 |
| CAPPED_DATA | 0 | s->busy | 1 |
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct comedi_device)->mutex |
drivers/comedi/comedi_fops.c do_cancel() -> comedi_is_subdevice_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| DATA_SOURCE | 0 | s | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &dev->attach_lock | ||
| TYPE_LOCK | (struct comedi_device)->mutex |
drivers/comedi/comedi_fops.c do_subdinfo_ioctl() -> comedi_is_subdevice_running()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | s | 4096-ptr_max |
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct comedi_device)->mutex |