hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/dax/dax-private.h
....@@ -52,7 +52,8 @@
5252 * @region - parent region
5353 * @dax_dev - core dax functionality
5454 * @target_node: effective numa node if dev_dax memory range is onlined
55
- * @id: ida allocated id
55
+ * @dyn_id: is this a dynamic or statically created instance
56
+ * @id: ida allocated id when the dax_region is not static
5657 * @ida: mapping id allocator
5758 * @dev - device core
5859 * @pgmap - pgmap for memmap setup / lifetime (driver owned)
....@@ -64,6 +65,7 @@
6465 struct dax_device *dax_dev;
6566 unsigned int align;
6667 int target_node;
68
+ bool dyn_id;
6769 int id;
6870 struct ida ida;
6971 struct device dev;