Searched refs:is_nd_blk (Results 1 – 4 of 4) sorted by relevance
137 if (is_nd_blk(dev)) in nd_region_release()163 bool is_nd_blk(struct device *dev) in is_nd_blk() function194 WARN_ON(!is_nd_blk(dev)); in to_nd_blk_region()241 } else if (is_nd_blk(&nd_region->dev)) { in nd_region_to_nstype()384 } else if (is_nd_blk(&nd_region->dev)) in nd_region_available_dpa()407 else if (is_nd_blk(&nd_region->dev)) in nd_region_allocatable_dpa()869 if (!is_nd_blk(dev)) in nd_blk_region_init()
104 bool is_nd_blk(struct device *dev);107 return is_nd_pmem(dev) || is_nd_blk(dev) || is_nd_volatile(dev); in is_nd_region()
586 WARN_ON(!is_nd_blk(&nd_region->dev)); in space_valid()2065 if (!is_nd_blk(&nd_region->dev)) in nd_namespace_blk_create()2125 if (is_nd_blk(&nd_region->dev)) in nd_region_create_ns_seed()2136 is_nd_blk(&nd_region->dev) ? "blk" : "pmem"); in nd_region_create_ns_seed()2318 if (is_nd_blk(&nd_region->dev) in scan_labels()2341 if (is_nd_blk(&nd_region->dev)) in scan_labels()2368 count, is_nd_blk(&nd_region->dev) in scan_labels()2378 if (is_nd_blk(&nd_region->dev)) { in scan_labels()2430 if (is_nd_blk(&nd_region->dev)) in scan_labels()
38 else if (is_nd_blk(dev)) in to_nd_device_type()