Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/comedi/comedi_fops.c comedi_is_subdevice_running() -> comedi_get_subdevice_runflags()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->attach_lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &dev->spinlock

drivers/comedi/comedi_fops.c comedi_read() -> comedi_get_subdevice_runflags()

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
CAPPED_DATA 0 s->busy 1
DATA_SOURCE 0 s r comedi_file_read_subdevice
LOCK2 &dev->attach_lock
TYPE_LOCK (struct comedi_device)->attach_lock

drivers/comedi/comedi_fops.c comedi_write() -> comedi_get_subdevice_runflags()

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
CAPPED_DATA 0 s->busy 1
DATA_SOURCE 0 s r comedi_file_write_subdevice
LOCK2 &dev->attach_lock
TYPE_LOCK (struct comedi_device)->attach_lock

drivers/comedi/comedi_fops.c do_bufinfo_ioctl() -> comedi_get_subdevice_runflags()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->async 1-u64max
PARAM_VALUE 0 s->busy 4096-ptr_max
CAPPED_DATA 0 s->busy 1
LOCK2 &dev->attach_lock
TYPE_LOCK (struct comedi_device)->attach_lock