Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/comedi/drivers/ni_pcimio.c ni_ao_setup_MITE_dma() -> comedi_buf_read_alloc()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->async 4096-ptr_max
NOCHECK_CALL
UNITS 1 nbytes unit_byte
LOCK2 &dev->mutex
TYPE_LOCK (struct comedi_device)->mutex

drivers/comedi/drivers/ni_pcimio.c ni_cdo_inttrig() -> comedi_buf_read_alloc()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->async 4096-ptr_max
PARAM_VALUE 0 s->async->inttrig 0
DATA_SOURCE 0 s $1
NOCHECK_CALL
UNITS 1 nbytes unit_byte
LOCK2 &dev->mutex
TYPE_LOCK (struct comedi_device)->mutex

drivers/comedi/drivers/mite.c mite_sync_output_dma() -> comedi_buf_read_alloc()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->async 4096-ptr_max
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->spin_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 s $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 nbytes unit_byte
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &dev->spinlock
HALF_LOCKED2 &devpriv->interrupt_lock
HALF_LOCKED2 &devpriv->mite_channel_lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq_flags

drivers/comedi/drivers/comedi_test.c waveform_ao_timer() -> comedi_buf_read_alloc()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->async->run_complete.done 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->spin_lock.rlock.dep_map->name 0-255
DATA_SOURCE 1 nbytes r comedi_samples_to_bytes
RX_PATH
TASK_NOT_RUNNING