Home
last modified time | relevance | path

Searched refs:is_nd_blk (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/nvdimm/
Dregion_devs.c137 if (is_nd_blk(dev)) in nd_region_release()
164 WARN_ON(!is_nd_blk(dev)); in to_nd_blk_region()
211 } else if (is_nd_blk(&nd_region->dev)) { in nd_region_to_nstype()
358 } else if (is_nd_blk(&nd_region->dev)) in nd_region_available_dpa()
381 else if (is_nd_blk(&nd_region->dev)) in nd_region_allocatable_dpa()
847 bool is_nd_blk(struct device *dev) in is_nd_blk() function
930 if (!is_nd_blk(dev)) in nd_blk_region_init()
1006 if (is_nd_blk(&nd_region->dev)) in default_align()
Dnd-core.h105 bool is_nd_blk(struct device *dev);
108 return is_nd_pmem(dev) || is_nd_blk(dev) || is_nd_volatile(dev); in is_nd_region()
Dnamespace_devs.c566 WARN_ON(!is_nd_blk(&nd_region->dev)); in space_valid()
2108 if (!is_nd_blk(&nd_region->dev)) in nd_namespace_blk_create()
2166 if (is_nd_blk(&nd_region->dev)) in nd_region_create_ns_seed()
2177 is_nd_blk(&nd_region->dev) ? "blk" : "pmem"); in nd_region_create_ns_seed()
2359 if (is_nd_blk(&nd_region->dev) in scan_labels()
2382 if (is_nd_blk(&nd_region->dev)) in scan_labels()
2409 count, is_nd_blk(&nd_region->dev) in scan_labels()
2419 if (is_nd_blk(&nd_region->dev)) { in scan_labels()
2471 if (is_nd_blk(&nd_region->dev)) in scan_labels()
Dbus.c38 else if (is_nd_blk(dev)) in to_nd_device_type()