Lines Matching refs:gfp_flags
281 static inline void prep_zero_page(struct page *page, int order, gfp_t gfp_flags)
285 VM_BUG_ON((gfp_flags & (__GFP_WAIT | __GFP_HIGHMEM)) == __GFP_HIGHMEM);
290 VM_BUG_ON((gfp_flags & __GFP_HIGHMEM) && in_interrupt());
593 static int prep_new_page(struct page *page, int order, gfp_t gfp_flags)
628 if (gfp_flags & __GFP_ZERO)
629 prep_zero_page(page, order, gfp_flags);
631 if (order && (gfp_flags & __GFP_COMP))
849 struct zone *zone, int order, gfp_t gfp_flags)
853 int cold = !!(gfp_flags & __GFP_COLD);
886 if (prep_new_page(page, order, gfp_flags))