Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/nvdimm/dimm_devs.c nd_pmem_available_dpa() -> dpa_align()

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
DATA_SOURCE 0 nd_region $0
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/dimm_devs.c nd_pmem_max_contiguous_dpa() -> dpa_align()

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
DATA_SOURCE 0 nd_region $0
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