Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/iio/industrialio-buffer.c iio_buffer_activate() -> iio_buffer_get()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
PARAM_VALUE 0 buffer->access 4096-ptr_max
DATA_SOURCE 0 buffer $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex

drivers/iio/industrialio-buffer.c iio_device_attach_buffer() -> iio_buffer_get()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
PARAM_VALUE 0 buffer->access 2574969055114555392,7984737292227629056
PARAM_VALUE 0 buffer->buffer_list.next 4096-ptr_max
PARAM_VALUE 0 buffer->buffer_list.prev 4096-ptr_max
PARAM_VALUE 0 buffer->demux_list.next 4096-ptr_max
PARAM_VALUE 0 buffer->demux_list.prev 4096-ptr_max
PARAM_VALUE 0 buffer->dmabufs.next 4096-ptr_max
PARAM_VALUE 0 buffer->dmabufs.prev 4096-ptr_max
PARAM_VALUE 0 buffer->dmabufs_mutex.first_waiter 0
PARAM_VALUE 0 buffer->dmabufs_mutex.magic 4096-ptr_max
PARAM_VALUE 0 buffer->dmabufs_mutex.osq.tail.counter 0
PARAM_VALUE 0 buffer->dmabufs_mutex.owner.counter 0
PARAM_VALUE 0 buffer->length 2,4096
PARAM_VALUE 0 buffer->pollq.head.next 4096-ptr_max
PARAM_VALUE 0 buffer->pollq.head.prev 4096-ptr_max
PARAM_VALUE 0 buffer->ref.refcount.refs.counter 1
PARAM_VALUE 0 buffer->watermark 1-u32max
BUF_SIZE 0 buffer 448
BUF_SIZE 0 buffer->attrs (-1)-0,16,24,40
DATA_SOURCE 0 buffer $1
HARD_MAX 0 buffer->length 4096
RX_PATH
TASK_NOT_RUNNING

drivers/iio/buffer/industrialio-buffer-dma.c iio_dma_buffer_alloc_block() -> iio_buffer_get()

Type Parameter Key Value
PARAM_VALUE 0 buffer 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 dmabuf->resv