Lines Matching defs:reserve

498  * Add the huge page range represented by [f, t) to the reserve
563 * Examine the existing reserve map and determine how many
566 * call to region_add that will actually modify the reserve
628 * Delete the specified range [f, t) from the reserve map. If the
633 * Returns the number of huge pages deleted from the reserve map.
737 * the reserve map region for a page. The huge page itself was free'ed
739 * usage count, and the global reserve count if needed. By incrementing
740 * these counts, the reserve map entry which could not be deleted will
765 * Count and return the number of huge pages in the reserve map
851 * the reserve counters are updated with the hugetlb_lock held. It is safe
1005 /* Returns true if the VMA has associated reserve pages */
1012 * reserve count remains after releasing inode, because this
1050 * call to vma_needs_reserves(). The reserve map for
2181 * is not the case is if a reserve map was changed between calls. It
2250 * Subtle - The reserve map for private mappings has the
2252 * entry is in the reserve map, it means a reservation exists.
2253 * If an entry exists in the reserve map, it means the
2256 * value returned from reserve map manipulation routines above.
2298 * However, free_huge_page can not adjust the reserve map. Adjust the
2299 * reserve map here to be consistent with global reserve count adjustments
2311 * Rare out of memory condition in reserve map
2313 * global reserve count will not be incremented
2319 * accounting of reserve counts.
2349 * Examine the region/reserve map to determine if the process
2359 * reserves as indicated by the region/reserve map. Check
2372 * Even though there was no reservation in the region/reserve
3692 unsigned long reserve, start, end;
3701 reserve = (end - start) - region_count(resv, start, end);
3703 if (reserve) {
3705 * Decrement reserve counts. The global reserve count may be
3708 gbl_reserve = hugepage_subpool_put_pages(spool, reserve);
4085 * mappping it owns the reserve page for. The intention is to unmap the page
4173 * page is used to determine if the reserve at this address was
5159 * to reserve the full area even if read-only as mprotect() may be
5244 * pages in this range were added to the reserve
5247 * the subpool and reserve counts modified above
5769 pr_info("hugetlb_cma: reserve %lu MiB, up to %lu MiB per node\n",