Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/comedi/drivers/ni_660x.c ni_660x_input_poll() -> comedi_buf_read_n_available()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->async 4096-ptr_max
PARAM_VALUE 0 s->async->events 0,4-u32max
PARAM_VALUE 0 s->async->run_complete.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 s->async->run_complete.wait.lock.owner (-1)
PARAM_VALUE 0 s->async->run_complete.wait.lock.owner_cpu u32max
PARAM_VALUE 0 s->async->run_complete.wait.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 s->busy 4096-ptr_max
PARAM_VALUE 0 s->poll 1-u64max
PARAM_VALUE 0 s->private 4096-ptr_max
PARAM_VALUE 0 s->spin_lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 s->async->prealloc_bufsz 1
CAPPED_DATA 0 s->busy 1
DATA_SOURCE 0 s $1
LOCK2 &dev->mutex
TYPE_LOCK (struct comedi_device)->mutex

drivers/comedi/drivers/ni_mio_cs.c ni_ao_fifo_half_empty() -> comedi_buf_read_n_available()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->async 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
TYPE_LOCK (struct comedi_device)->spinlock

drivers/comedi/drivers/ni_mio_cs.c ni_ao_prep_fifo() -> comedi_buf_read_n_available()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
DATA_SOURCE 0 s $1
LOCK2 &dev->mutex
TYPE_LOCK (struct comedi_device)->mutex

drivers/comedi/drivers/ni_atmio.c ni_ao_fifo_half_empty() -> comedi_buf_read_n_available()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->async 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
TYPE_LOCK (struct comedi_device)->spinlock

drivers/comedi/drivers/ni_atmio.c ni_ao_prep_fifo() -> comedi_buf_read_n_available()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
DATA_SOURCE 0 s $1
LOCK2 &dev->mutex
TYPE_LOCK (struct comedi_device)->mutex