Lines Matching defs:demote
1517 /* used to demote non-gigantic_huge pages as well */
1519 unsigned int order, bool demote)
1534 if (!demote)
1642 * A reference is held on the folio, except in the case of demote.
1648 bool demote)
1679 * In the case of demote we do not ref count the page as it will soon
1682 if (!demote)
1989 unsigned int order, bool demote)
2028 * In the case of demote, the ref count will be zero.
2030 if (!demote) {
3350 * Set demote order for each hstate. Note that
3352 * - We can not demote gigantic pages if runtime freeing
3354 * - If CMA allocation is possible, we can not demote
3624 /* Allocation of vmemmmap failed, we can not demote folio */
3682 /* We should never get here if no demote order */
3684 pr_warn("HugeTLB: NULL demote order passed to demote_pool_huge_page.\n");
3931 * Check for available pages to demote each time thorough the
3956 HSTATE_ATTR_WO(demote);
3984 /* demote order must be smaller than hstate order */
3989 /* resize_lock synchronizes access to demote size and writes */
4046 pr_warn("HugeTLB unable to create demote interfaces for %s\n", h->name);