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/thunderbolt/switch.c nvm_validate_and_write() -> tb_nvm_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nvm | 4096-ptr_max |
| PARAM_VALUE | 0 | nvm->buf | 1-u64max |
| PARAM_VALUE | 0 | nvm->flushed | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &sw->tb->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |
drivers/thunderbolt/retimer.c tb_retimer_nvm_validate_and_write() -> tb_nvm_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nvm | 4096-ptr_max |
| PARAM_VALUE | 0 | nvm->buf | 1-u64max |
| PARAM_VALUE | 0 | nvm->flushed | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &rt->tb->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct tb)->lock |