Lines Matching refs:resource_size
278 size += resource_size(res); in nd_namespace_blk_size()
355 resource_size_t size = resource_size(&nspm->nsio.res); in nd_namespace_label_update()
436 if (n >= resource_size(res)) { in scan_free()
437 n -= resource_size(res); in scan_free()
453 rc = adjust_resource(res, new_start, resource_size(res) - n); in scan_free()
572 free_start = res->start + resource_size(res); in scan_allocate()
583 free_start = res->start + resource_size(res); in scan_allocate()
602 resource_size(res) + allocate); in scan_allocate()
613 - allocate, resource_size(next) in scan_allocate()
645 rc = adjust_resource(res, res->start, resource_size(res) in scan_allocate()
696 resource_size_t end = res->start + resource_size(res); in merge_dpa()
702 end += resource_size(next); in merge_dpa()
992 return resource_size(&nspm->nsio.res); in __nvdimm_namespace_capacity()
998 return resource_size(&nsio->res); in __nvdimm_namespace_capacity()
1162 if (resource_size(res) == 0) in resource_show()