Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iio/chemical/scd4x.c calibration_auto_enable_show() -> scd4x_read()

Type Parameter Key Value
PARAM_VALUE 0 state->lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 state->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 state->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.wait_lock.owner (-1)
PARAM_VALUE 0 state->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 8979
PARAM_VALUE 2 response 4869144195921022976
PARAM_VALUE 3 response_sz 2
BUF_SIZE 2 response 2
CAPPED_DATA 0 &state->lock 1
RX_PATH
TASK_NOT_RUNNING
UNITS 3 response_sz unit_byte
LOCK2 &of->mutex
LOCK2 0 &state->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct scd4x_state)->lock

drivers/iio/chemical/scd4x.c scd4x_read_meas() -> scd4x_read()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->client 4096-ptr_max
PARAM_VALUE 0 state->client->adapter 4096-ptr_max
PARAM_VALUE 0 state->client->adapter->bus_lock.rtmutex.owner 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 state->client->adapter->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 state->lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 state->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 state->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 state->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.wait_lock.owner (-1)
PARAM_VALUE 0 state->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 60421
PARAM_VALUE 2 response 3409175316098641920
PARAM_VALUE 3 response_sz 6
BUF_SIZE 2 response 6
DATA_SOURCE 0 state $0
RX_PATH
TASK_NOT_RUNNING
UNITS 3 response_sz unit_byte
LOCK2 0 &state->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct scd4x_state)->lock

drivers/iio/chemical/scd4x.c scd4x_read_raw() -> scd4x_read()

Type Parameter Key Value
PARAM_VALUE 0 state->lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 state->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 state->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.wait_lock.owner (-1)
PARAM_VALUE 0 state->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 57344
PARAM_VALUE 2 response 5304787355001753600
PARAM_VALUE 3 response_sz 2
BUF_SIZE 2 response 2
CAPPED_DATA 0 &state->lock 1
RX_PATH
TASK_NOT_RUNNING
UNITS 3 response_sz unit_byte
LOCK2 0 &state->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct scd4x_state)->lock

drivers/iio/chemical/scd4x.c scd4x_read_raw() -> scd4x_read()

Type Parameter Key Value
PARAM_VALUE 0 state->lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 state->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 state->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.wait_lock.owner (-1)
PARAM_VALUE 0 state->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 8984
PARAM_VALUE 2 response 5304787355001753600
PARAM_VALUE 3 response_sz 2
BUF_SIZE 2 response 2
CAPPED_DATA 0 &state->lock 1
RX_PATH
TASK_NOT_RUNNING
UNITS 3 response_sz unit_byte
LOCK2 &of->mutex
LOCK2 0 &state->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct scd4x_state)->lock

drivers/iio/chemical/scd4x.c scd4x_wait_meas_poll() -> scd4x_read()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 state->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 state->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 state->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 state->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 state->lock.wait_lock.owner (-1)
PARAM_VALUE 0 state->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 58552
PARAM_VALUE 2 response 2753234260324618240
PARAM_VALUE 3 response_sz 2
BUF_SIZE 2 response 2
DATA_SOURCE 0 state $0
RX_PATH
TASK_NOT_RUNNING
UNITS 3 response_sz unit_byte
LOCK2 0 &state->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct scd4x_state)->lock