Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iio/industrialio-core.c iio_read_channel_info_avail() -> (struct iio_info)->read_avail()

Type Parameter Key Value
PARAM_VALUE 0 indio_dev 4096-ptr_max
PARAM_VALUE 0 indio_dev->info 4096-ptr_max
PARAM_VALUE 0 indio_dev->info->read_avail 1-u64max
PARAM_VALUE 2 vals 1027042829037629440
PARAM_VALUE 3 type 2903959596799508480
PARAM_VALUE 4 length 3271934680380043264
DATA_SOURCE 0 indio_dev r dev_to_iio_dev
CONTAINER 0 -32-1728+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/iio/inkern.c iio_channel_read_avail() -> (struct iio_info)->read_avail()

Type Parameter Key Value
PARAM_VALUE 0 indio_dev 4096-ptr_max
PARAM_VALUE 0 indio_dev->info 4096-ptr_max
PARAM_VALUE 0 indio_dev->info->read_avail 1-u64max
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 3 type 3583446717956800512,6560924368812601344,6793908714447265792,8215578788495171584
PARAM_VALUE 5 info 0,2
DATA_SOURCE 2 vals $1
DATA_SOURCE 3 type $2
DATA_SOURCE 4 length $3
DATA_SOURCE 5 info $4
HARD_MAX 5 info 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &card->mutex