Searched refs:gfpflags (Results 1 – 4 of 4) sorted by relevance
/mm/ |
D | kmemcheck.c | 59 void kmemcheck_slab_alloc(struct kmem_cache *s, gfp_t gfpflags, void *object, in kmemcheck_slab_alloc() argument 66 if (gfpflags & __GFP_ZERO) in kmemcheck_slab_alloc() 73 if (!kmemcheck_enabled || gfpflags & __GFP_NOTRACK) { in kmemcheck_slab_alloc() 100 gfp_t gfpflags) in kmemcheck_pagealloc_alloc() argument 104 if (gfpflags & (__GFP_HIGHMEM | __GFP_NOTRACK)) in kmemcheck_pagealloc_alloc() 116 kmemcheck_alloc_shadow(page, order, gfpflags, -1); in kmemcheck_pagealloc_alloc() 118 if (gfpflags & __GFP_ZERO) in kmemcheck_pagealloc_alloc()
|
D | failslab.c | 14 bool should_failslab(size_t size, gfp_t gfpflags, unsigned long cache_flags) in should_failslab() argument 16 if (gfpflags & __GFP_NOFAIL) in should_failslab() 19 if (failslab.ignore_gfp_reclaim && (gfpflags & __GFP_RECLAIM)) in should_failslab()
|
D | slub.c | 1705 static inline bool pfmemalloc_match(struct page *page, gfp_t gfpflags); 2269 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid) in slab_out_of_memory() argument 2277 if ((gfpflags & __GFP_NOWARN) || !__ratelimit(&slub_oom_rs)) in slab_out_of_memory() 2281 nid, gfpflags); in slab_out_of_memory() 2339 static inline bool pfmemalloc_match(struct page *page, gfp_t gfpflags) in pfmemalloc_match() argument 2342 return gfp_pfmemalloc_allowed(gfpflags); in pfmemalloc_match() 2400 static void *___slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, in ___slab_alloc() argument 2441 if (unlikely(!pfmemalloc_match(page, gfpflags))) { in ___slab_alloc() 2484 freelist = new_slab_objects(s, gfpflags, node, &c); in ___slab_alloc() 2487 slab_out_of_memory(s, gfpflags, node); in ___slab_alloc() [all …]
|
D | slab.c | 1517 slab_out_of_memory(struct kmem_cache *cachep, gfp_t gfpflags, int nodeid) in slab_out_of_memory() argument 1527 if ((gfpflags & __GFP_NOWARN) || !__ratelimit(&slab_oom_rs)) in slab_out_of_memory() 1532 nodeid, gfpflags); in slab_out_of_memory()
|