Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/nvdimm/namespace_devs.c __size_store() -> nd_region_allocatable_dpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nd_region | 4096-ptr_max |
| PARAM_VALUE | 0 | nd_region->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | nd_region->ndr_mappings | 1-u16max |
| CAPPED_DATA | 0 | nd_region->ndr_mappings | 1 |
| DATA_SOURCE | 0 | nd_region | r to_nd_region |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/nvdimm/region_devs.c max_available_extent_show() -> nd_region_allocatable_dpa()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nd_region | 4096-ptr_max |
| DATA_SOURCE | 0 | nd_region | r to_nd_region |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |