Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/dax/bus.c dax_bus_probe() -> dev_dax_size()

Type Parameter Key Value
PARAM_VALUE 0 dev_dax 4096-ptr_max
DATA_SOURCE 0 dev_dax r to_dev_dax
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &dax_dev_rwsem

drivers/dax/bus.c delete_store() -> dev_dax_size()

Type Parameter Key Value
PARAM_VALUE 0 dev_dax 4096-ptr_max
DATA_SOURCE 0 dev_dax r to_dev_dax
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->mutex
LOCK2 &of->mutex
LOCK2 &victim->mutex
LOCK2 global &dax_dev_rwsem
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/dax/bus.c dev_dax_resize() -> dev_dax_size()

Type Parameter Key Value
PARAM_VALUE 0 dev_dax 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 $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() -> dev_dax_size()

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->region 4096-ptr_max
PARAM_VALUE 0 dev_dax->region->dev 4096-ptr_max
PARAM_VALUE 0 dev_dax->region->dev->driver 1-u64max
CAPPED_DATA 0 dev_dax->nr_range 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

drivers/dax/bus.c size_show() -> dev_dax_size()

Type Parameter Key Value
PARAM_VALUE 0 dev_dax 4096-ptr_max
DATA_SOURCE 0 dev_dax r to_dev_dax
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 global &dax_dev_rwsem
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex