Lines Matching defs:demote
1511 /* used to demote non-gigantic_huge pages as well */
1513 unsigned int order, bool demote)
1528 if (!demote)
1636 * A reference is held on the folio, except in the case of demote.
1642 bool demote)
1673 * In the case of demote we do not ref count the page as it will soon
1676 if (!demote)
2074 unsigned int order, bool demote)
2113 * In the case of demote, the ref count will be zero.
2115 if (!demote) {
3655 * Set demote order for each hstate. Note that
3657 * - We can not demote gigantic pages if runtime freeing
3659 * - If CMA allocation is possible, we can not demote
3958 /* Allocation of vmemmmap failed, we can not demote folio */
4017 /* We should never get here if no demote order */
4019 pr_warn("HugeTLB: NULL demote order passed to demote_pool_huge_page.\n");
4266 * Check for available pages to demote each time thorough the
4291 HSTATE_ATTR_WO(demote);
4319 /* demote order must be smaller than hstate order */
4324 /* resize_lock synchronizes access to demote size and writes */
4381 pr_warn("HugeTLB unable to create demote interfaces for %s\n", h->name);