Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/dax/bus.c alloc_dev_dax_range() -> trim_dev_dax_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev_dax | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_dax->dev.kobj.state_in_sysfs | 1 |
| 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 | 0 | dev_dax->region->res.child | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_dax->region->res.flags | 0-2147483646,4294967296-u64max |
| BUF_SIZE | 0 | dev_dax->ranges | 0-u64max |
| DATA_SOURCE | 0 | dev_dax | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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() -> trim_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 |
| DATA_SOURCE | 0 | dev_dax | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 free_dev_dax_ranges() -> trim_dev_dax_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev_dax | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_dax->dax_dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev_dax->dax_dev->holder_data | 0-s64max |
| PARAM_VALUE | 0 | dev_dax->dax_dev->holder_ops | 0-s64max |
| PARAM_VALUE | 0 | dev_dax->nr_range | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | dev_dax->pgmap | 0 |
| PARAM_VALUE | 0 | dev_dax->region | 4096-ptr_max |
| CAPPED_DATA | 0 | dev_dax->dax_dev | 1 |
| DATA_SOURCE | 0 | dev_dax | $0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | global &dax_region_rwsem |