Searched refs:is_nd_blk (Results 1 – 4 of 4) sorted by relevance
137 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() function930 if (!is_nd_blk(dev)) in nd_blk_region_init()1006 if (is_nd_blk(&nd_region->dev)) in default_align()
105 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()
566 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()
38 else if (is_nd_blk(dev)) in to_nd_device_type()