Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/nvmem/m24lr.c new_pass_store() -> m24lr_write_pass()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1-1000000000 |
| PARAM_VALUE | 3 | code | 7 |
| BUF_SIZE | 0 | m24lr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m24lr | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | count | 1 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 1 | buf | $2 |
| DATA_SOURCE | 2 | count | $3 |
| NOSPEC | 2 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 1 | ==buf2 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/nvmem/m24lr.c unlock_store() -> m24lr_write_pass()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1-1000000000 |
| PARAM_VALUE | 3 | code | 9 |
| BUF_SIZE | 0 | m24lr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | m24lr | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | count | 1 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 1 | buf | $2 |
| DATA_SOURCE | 2 | count | $3 |
| NOSPEC | 2 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 1 | ==buf2 | 8052 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |