Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/nvdimm/label.c nd_label_write_index() -> nd_label_base()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndd | 4096-ptr_max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ndd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &nd_mapping->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/nvdimm/label.c to_label() -> nd_label_base()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndd | 4096-ptr_max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndd->dev | (-1)-0,4,16,24-s32max |
| BUF_SIZE | 0 | ndd->dpa.name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | ndd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/nvdimm/label.c to_slot() -> nd_label_base()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ndd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &nd_mapping->lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct nd_mapping)->lock |