Searched refs:is_reserve (Results 1 – 1 of 1) sorted by relevance
/drivers/nvdimm/ |
D | namespace_devs.c | 516 static bool space_valid(bool is_pmem, bool is_reserve, in space_valid() argument 524 if (is_reserve || !is_pmem) in space_valid() 540 bool is_reserve = strcmp(label_id->id, "pmem-reserve") == 0; in scan_allocate() local 566 if (space_valid(is_pmem, is_reserve, label_id, NULL)) in scan_allocate() 574 if (space_valid(is_pmem, is_reserve, label_id, res) in scan_allocate() 585 if (space_valid(is_pmem, is_reserve, label_id, res) in scan_allocate() 599 if (is_pmem && !is_reserve) in scan_allocate() 610 if (is_pmem && !is_reserve) in scan_allocate() 636 else if (!is_reserve && free_start != nd_mapping->start) in scan_allocate()
|