Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/nvdimm/namespace_devs.c scan_allocate() -> space_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nd_region | 4096-ptr_max |
| PARAM_VALUE | 0 | nd_region->ndr_mappings | 1-u16max |
| PARAM_VALUE | 1 | ndd | 4096-ptr_max |
| PARAM_VALUE | 2 | label_id | 2691621437179080704,4901586306298814464 |
| PARAM_VALUE | 3 | prev | 0 |
| PARAM_VALUE | 5 | exist | 0,4096-ptr_max |
| PARAM_VALUE | 7 | valid | 7819669966291341312 |
| PARAM_VALUE | 7 | valid->start | 0-18446744073709551614 |
| BUF_SIZE | 1 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | ndd | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | nd_region->ndr_mappings | 1 |
| DATA_SOURCE | 0 | nd_region | $0 |
| DATA_SOURCE | 1 | ndd | r to_ndd |
| DATA_SOURCE | 2 | label_id | $2 |
| TERMINATED | 7 | valid->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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/namespace_devs.c scan_allocate() -> space_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nd_region | 4096-ptr_max |
| PARAM_VALUE | 0 | nd_region->ndr_mappings | 1-u16max |
| PARAM_VALUE | 1 | ndd | 4096-ptr_max |
| PARAM_VALUE | 2 | label_id | 2691621437179080704,4901586306298814464 |
| PARAM_VALUE | 3 | prev | 4096-ptr_max |
| PARAM_VALUE | 4 | next | 4096-ptr_max |
| PARAM_VALUE | 5 | exist | 0,4096-ptr_max |
| PARAM_VALUE | 7 | valid | 7819669966291341312 |
| BUF_SIZE | 1 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | ndd | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | nd_region->ndr_mappings | 1 |
| CAPPED_DATA | 3 | prev->start | 1 |
| DATA_SOURCE | 0 | nd_region | $0 |
| DATA_SOURCE | 1 | ndd | r to_ndd |
| DATA_SOURCE | 2 | label_id | $2 |
| PARAM_COMPARE | 3 | prev->end | >= $3->start |
| TERMINATED | 7 | valid->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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/namespace_devs.c scan_allocate() -> space_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nd_region | 4096-ptr_max |
| PARAM_VALUE | 0 | nd_region->ndr_mappings | 1-u16max |
| PARAM_VALUE | 1 | ndd | 4096-ptr_max |
| PARAM_VALUE | 2 | label_id | 2691621437179080704,4901586306298814464 |
| PARAM_VALUE | 3 | prev | 4096-ptr_max |
| PARAM_VALUE | 4 | next | 0 |
| PARAM_VALUE | 5 | exist | 0,4096-ptr_max |
| PARAM_VALUE | 7 | valid | 7819669966291341312 |
| BUF_SIZE | 1 | ndd | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | ndd | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | nd_region->ndr_mappings | 1 |
| CAPPED_DATA | 3 | prev->start | 1 |
| DATA_SOURCE | 0 | nd_region | $0 |
| DATA_SOURCE | 1 | ndd | r to_ndd |
| DATA_SOURCE | 2 | label_id | $2 |
| PARAM_COMPARE | 3 | prev->end | >= $3->start |
| TERMINATED | 7 | valid->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |