Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/chemical/scd4x.c calibration_auto_enable_store() -> scd4x_write()
| 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 | 9238 |
| PARAM_VALUE | 2 | arg | 0-1 |
| CAPPED_DATA | 0 | &state->lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_write_and_fetch() -> scd4x_write()
| 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.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 | 13871 |
| PARAM_VALUE | 2 | arg | 0-2000 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 2 | arg | $2 |
| FUZZY_MAX | 2 | arg | 2000 |
| HARD_MAX | 2 | arg | 2000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | arg | 0-2000 |
| 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_write_raw() -> scd4x_write()
| 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 | 9245 |
| CAPPED_DATA | 0 | &state->lock | 1 |
| DATA_SOURCE | 2 | arg | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | arg | 0-u16max |
| 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_write_raw() -> scd4x_write()
| 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 | arg | 700-1200 |
| CAPPED_DATA | 0 | &state->lock | 1 |
| DATA_SOURCE | 2 | arg | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | arg | 700-1200 |
| LOCK2 | 0 | &state->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct scd4x_state)->lock |