Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/nvdimm/label.c nd_label_active_count() -> nsl_get_rawsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndd | 4096-ptr_max |
| PARAM_VALUE | 1 | nd_label | 4096-ptr_max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ndd | $0 |
| DATA_SOURCE | 1 | nd_label | r to_label |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/nvdimm/label.c nd_label_reserve_dpa() -> nsl_get_rawsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndd | 4096-ptr_max |
| PARAM_VALUE | 1 | nd_label | 4096-ptr_max |
| BUF_SIZE | 0 | ndd | 120 |
| BUF_SIZE | 0 | ndd->dev | (-1)-0,4,16,24-s32max |
| BUF_SIZE | 0 | ndd->dpa.name | s32min,(-10),(-1),1-s32max |
| CAPPED_DATA | 0 | ndd->nsarea.config_size | 1 |
| DATA_SOURCE | 0 | ndd | $0 |
| DATA_SOURCE | 1 | nd_label | r to_label |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &nvdimm_bus->reconfig_mutex |
drivers/nvdimm/namespace_devs.c create_namespace_pmem() -> nsl_get_rawsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nd_label | 1-u64max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ndd | r to_ndd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &nd_mapping->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct nd_mapping)->lock |
drivers/nvdimm/namespace_devs.c select_pmem_id() -> nsl_get_rawsize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndd | 4096-ptr_max |
| PARAM_VALUE | 1 | nd_label | 4096-ptr_max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ndd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ndd | r to_ndd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &nd_mapping->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct nd_mapping)->lock |