Lines Matching refs:gfp_t
16 static inline int gfp_migratetype(const gfp_t gfp_flags) in gfp_migratetype()
34 static inline bool gfpflags_allow_blocking(const gfp_t gfp_flags) in gfpflags_allow_blocking()
129 static inline enum zone_type gfp_zone(gfp_t flags) in gfp_zone()
147 static inline int gfp_zonelist(gfp_t flags) in gfp_zonelist()
165 static inline struct zonelist *node_zonelist(int nid, gfp_t flags) in node_zonelist()
177 struct page *__alloc_pages(gfp_t gfp, unsigned int order, int preferred_nid,
179 struct folio *__folio_alloc(gfp_t gfp, unsigned int order, int preferred_nid,
182 unsigned long __alloc_pages_bulk(gfp_t gfp, int preferred_nid,
187 unsigned long alloc_pages_bulk_array_mempolicy(gfp_t gfp,
193 alloc_pages_bulk_list(gfp_t gfp, unsigned long nr_pages, struct list_head *list) in alloc_pages_bulk_list()
199 alloc_pages_bulk_array(gfp_t gfp, unsigned long nr_pages, struct page **page_array) in alloc_pages_bulk_array()
205 alloc_pages_bulk_array_node(gfp_t gfp, int nid, unsigned long nr_pages, struct page **page_array) in alloc_pages_bulk_array_node()
213 static inline void warn_if_node_offline(int this_node, gfp_t gfp_mask) in warn_if_node_offline()
215 gfp_t warn_gfp = gfp_mask & (__GFP_THISNODE|__GFP_NOWARN); in warn_if_node_offline()
232 __alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node()
241 struct folio *__folio_alloc_node(gfp_t gfp, unsigned int order, int nid) in __folio_alloc_node()
254 static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, in alloc_pages_node()
264 struct page *alloc_pages(gfp_t gfp, unsigned int order);
265 struct folio *folio_alloc(gfp_t gfp, unsigned order);
266 struct folio *vma_alloc_folio(gfp_t gfp, int order, struct vm_area_struct *vma,
269 static inline struct page *alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages()
273 static inline struct folio *folio_alloc(gfp_t gfp, unsigned int order) in folio_alloc()
281 static inline struct page *alloc_page_vma(gfp_t gfp, in alloc_page_vma()
289 extern unsigned long __get_free_pages(gfp_t gfp_mask, unsigned int order);
290 extern unsigned long get_zeroed_page(gfp_t gfp_mask);
292 void *alloc_pages_exact(size_t size, gfp_t gfp_mask) __alloc_size(1);
294 __meminit void *alloc_pages_exact_nid(int nid, size_t size, gfp_t gfp_mask) __alloc_size(2);
308 unsigned int fragsz, gfp_t gfp_mask,
312 unsigned int fragsz, gfp_t gfp_mask) in page_frag_alloc()
336 extern gfp_t gfp_allowed_mask;
339 bool gfp_pfmemalloc_allowed(gfp_t gfp_mask);
344 extern gfp_t vma_thp_gfp_mask(struct vm_area_struct *vma);
358 unsigned migratetype, gfp_t gfp_mask);
359 extern struct page *alloc_contig_pages(unsigned long nr_pages, gfp_t gfp_mask,