Lines Matching defs:needed
365 * indicate the number of file_regions needed in the cache to carry out to add
503 * region_del. The extra needed entries will be allocated.
508 * than or equal to zero. If file_region entries needed to be allocated for
523 /* Count how many regions are actually needed to execute this add. */
533 * existing adds_in_progress, plus the excess needed for this
580 * is needed and can not be allocated.
614 * NOTE: The range arguments [f, t) are not needed or used in this
739 * usage count, and the global reserve count if needed. By incrementing
1360 * page dtor. This is needed in case someone takes an additional
1593 * on the head page when they need know if put_page() is needed
2032 long needed, allocated;
2035 needed = (h->resv_huge_pages + delta) - h->free_huge_pages;
2036 if (needed <= 0) {
2047 for (i = 0; i < needed; i++) {
2060 * After retaking hugetlb_lock, we need to recalculate 'needed'
2064 needed = (h->resv_huge_pages + delta) -
2066 if (needed > 0) {
2078 * needed to accommodate the reservation. Add the appropriate number
2084 needed += allocated;
2088 /* Free the needed pages to the hugetlb pool */
2090 if ((--needed) < 0)
2172 * needed, the value 1 is returned. The caller is then responsible for
2764 * pages into surplus state as needed so the pool will shrink