Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/iio/adc/at91_adc.c at91_adc_allocate_trigger() -> __iio_trigger_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 this_mod 0
PARAM_VALUE 2 fmt 3731189018135052288
BUF_SIZE 0 parent 1616
BUF_SIZE 2 fmt 12
BUF_SIZE 3 $ s32min,(-10),1-s32max
BUF_SIZE 3 $ s32min,(-10),1-s32max
STR_LEN 0 parent 11
RX_PATH
TASK_NOT_RUNNING
UNITS 0 parent unit_byte

drivers/iio/trigger/iio-trig-loop.c iio_trig_loop_probe() -> __iio_trigger_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 0
PARAM_VALUE 1 this_mod 0
PARAM_VALUE 2 fmt 8347350738675638272
BUF_SIZE 2 fmt 3
BUF_SIZE 3 $ s32min-(-2),1-s32max
BUF_SIZE 3 $ s32min-(-2),1-s32max
DATA_SOURCE 3 $ $0
STR_LEN 0 parent 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &subsys->su_mutex
HALF_LOCKED2 &dentry->d_lockref.lock
TYPE_LOCK (struct configfs_subsystem)->su_mutex

drivers/iio/gyro/itg3200_buffer.c itg3200_probe_trigger() -> __iio_trigger_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 this_mod 0
PARAM_VALUE 2 fmt 4170789783091048448
BUF_SIZE 2 fmt 9
BUF_SIZE 3 $ 4-25,28-29,32
BUF_SIZE 3 $ 4-25,28-29,32
STR_LEN 0 parent 8
RX_PATH
TASK_NOT_RUNNING

drivers/iio/trigger/iio-trig-hrtimer.c iio_trig_hrtimer_probe() -> __iio_trigger_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 0
PARAM_VALUE 1 this_mod 0
PARAM_VALUE 2 fmt 8347350738675638272
BUF_SIZE 2 fmt 3
BUF_SIZE 3 $ s32min-(-2),1-s32max
BUF_SIZE 3 $ s32min-(-2),1-s32max
DATA_SOURCE 3 $ $0
STR_LEN 0 parent 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &subsys->su_mutex
HALF_LOCKED2 &dentry->d_lockref.lock
TYPE_LOCK (struct configfs_subsystem)->su_mutex

drivers/iio/common/hid-sensors/hid-sensor-trigger.c hid_sensor_setup_trigger() -> __iio_trigger_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 this_mod 0
PARAM_VALUE 2 fmt 4170789783091048448
PARAM_VALUE 3 $ 4096-ptr_max
BUF_SIZE 0 parent 1616
BUF_SIZE 2 fmt 9
BUF_SIZE 3 $ 4-6,8-9,12-13,21,24
BUF_SIZE 3 $ 4-6,8-9,12-13,21,24
DATA_SOURCE 3 $ $1
STR_LEN 0 parent 8
STR_LEN 1 this_mod 3-5,7-8,11-12,20,23
STR_LEN 3 $ 3-5,7-8,11-12,20,23
BIT_INFO 3 $ 0x0,0x7ffffffffffff000
BIT_INFO 3 $ 0x0,0x7ffffffffffff000
TERMINATED 3 $ 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 parent unit_byte

drivers/iio/trigger/iio-trig-sysfs.c iio_sysfs_trigger_probe() -> __iio_trigger_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 7921416857035583488
PARAM_VALUE 1 this_mod 0
PARAM_VALUE 2 fmt 7487701353977257984
BUF_SIZE 2 fmt 12
DATA_SOURCE 3 $ $0
STR_LEN 0 parent 11
USER_DATA 3 $ s32min-s32max
NO_OVERFLOW_SIMPLE 3 $
LOCK2 global &iio_sysfs_trig_list_mut

drivers/media/pci/mgb4/mgb4_trigger.c probe_trigger() -> __iio_trigger_alloc()

Type Parameter Key Value
PARAM_VALUE 0 parent 4096-ptr_max
PARAM_VALUE 1 this_mod 0
PARAM_VALUE 2 fmt 4170789783091048448
PARAM_VALUE 3 $ 4591498492282593280
BUF_SIZE 2 fmt 9
BUF_SIZE 3 $ 5
BUF_SIZE 3 $ 5
STR_LEN 0 parent 8
STR_LEN 1 this_mod 4
STR_LEN 3 $ 4
TERMINATED 3 $ 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock