Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/dax/bus.c dev_dax_resize() -> adjust_dev_dax_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev_dax | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_dax->dev.driver | 0 |
| PARAM_VALUE | 0 | dev_dax->nr_range | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | dev_dax->region | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_dax->region->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_dax->region->dev->driver | 1-u64max |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| CAPPED_DATA | 1 | res->end | 1 |
| CAPPED_DATA | 1 | res->start | 1 |
| CAPPED_DATA | 2 | size | 1 |
| DATA_SOURCE | 0 | dev_dax | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &dax_dev_rwsem | ||
| LOCK2 | global &dax_region_rwsem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/dax/bus.c dev_dax_shrink() -> adjust_dev_dax_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev_dax | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_dax->dev.driver | 0 |
| PARAM_VALUE | 0 | dev_dax->ranges | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_dax->region | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_dax->region->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_dax->region->dev->driver | 1-u64max |
| PARAM_VALUE | 1 | res | 4096-ptr_max |
| CAPPED_DATA | 1 | res->start | 1 |
| DATA_SOURCE | 0 | dev_dax | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &dax_dev_rwsem | ||
| LOCK2 | global &dax_region_rwsem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |