Home
last modified time | relevance | path

Searched refs:gfpflags (Results 1 – 4 of 4) sorted by relevance

/mm/
Dfailslab.c17 bool __should_failslab(struct kmem_cache *s, gfp_t gfpflags) in __should_failslab() argument
23 if (gfpflags & __GFP_NOFAIL) in __should_failslab()
27 (gfpflags & __GFP_DIRECT_RECLAIM)) in __should_failslab()
Dslub.c2002 static inline bool pfmemalloc_match(struct page *page, gfp_t gfpflags);
2586 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid) in slab_out_of_memory() argument
2594 if ((gfpflags & __GFP_NOWARN) || !__ratelimit(&slub_oom_rs)) in slab_out_of_memory()
2598 nid, gfpflags, &gfpflags); in slab_out_of_memory()
2657 static inline bool pfmemalloc_match(struct page *page, gfp_t gfpflags) in pfmemalloc_match() argument
2660 return gfp_pfmemalloc_allowed(gfpflags); in pfmemalloc_match()
2718 static void *___slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, in ___slab_alloc() argument
2759 if (unlikely(!pfmemalloc_match(page, gfpflags))) { in ___slab_alloc()
2800 freelist = new_slab_objects(s, gfpflags, node, &c); in ___slab_alloc()
2803 slab_out_of_memory(s, gfpflags, node); in ___slab_alloc()
[all …]
Dslab_common.c1226 int should_failslab(struct kmem_cache *s, gfp_t gfpflags) in should_failslab() argument
1228 if (__should_failslab(s, gfpflags)) in should_failslab()
Dslab.c1328 slab_out_of_memory(struct kmem_cache *cachep, gfp_t gfpflags, int nodeid) in slab_out_of_memory() argument
1337 if ((gfpflags & __GFP_NOWARN) || !__ratelimit(&slab_oom_rs)) in slab_out_of_memory()
1341 nodeid, gfpflags, &gfpflags); in slab_out_of_memory()