Home
last modified time | relevance | path

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

/linux/mm/
H A Dfailslab.c19 int should_failslab(struct kmem_cache *s, gfp_t gfpflags) in should_failslab() argument
27 if (gfpflags & __GFP_NOFAIL) in should_failslab()
31 (gfpflags & __GFP_DIRECT_RECLAIM)) in should_failslab()
43 if (gfpflags & __GFP_NOWARN) in should_failslab()
H A Dslub.c3753 static inline bool pfmemalloc_match(struct slab *slab, gfp_t gfpflags); in get_partial_node_bulk()
4310 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid)
4318 if ((gfpflags & __GFP_NOWARN) || !__ratelimit(&slub_oom_rs)) in get_freelist_nofreeze()
4322 cpu, cpu_to_node(cpu), nid, gfpflags, &gfpflags); in get_freelist_nofreeze()
4346 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid) { } in maybe_wipe_obj_freeptr()
4349 static inline bool pfmemalloc_match(struct slab *slab, gfp_t gfpflags) in alloc_from_new_slab()
4352 return gfp_pfmemalloc_allowed(gfpflags); in alloc_from_new_slab()
4456 static void *___slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, in ___slab_alloc()
4469 trynode_flags = gfpflags; in ___slab_alloc()
3674 alloc_single_from_new_slab(struct kmem_cache * s,struct slab * slab,int orig_size,gfp_t gfpflags) alloc_single_from_new_slab() argument
4259 slab_out_of_memory(struct kmem_cache * s,gfp_t gfpflags,int nid) slab_out_of_memory() argument
4295 slab_out_of_memory(struct kmem_cache * s,gfp_t gfpflags,int nid) slab_out_of_memory() argument
4298 pfmemalloc_match(struct slab * slab,gfp_t gfpflags) pfmemalloc_match() argument
4406 ___slab_alloc(struct kmem_cache * s,gfp_t gfpflags,int node,unsigned long addr,unsigned int orig_size) ___slab_alloc() argument
4486 __slab_alloc_node(struct kmem_cache * s,gfp_t gfpflags,int node,unsigned long addr,size_t orig_size) __slab_alloc_node() argument
4871 slab_alloc_node(struct kmem_cache * s,struct list_lru * lru,gfp_t gfpflags,int node,unsigned long addr,size_t orig_size) slab_alloc_node() argument
4904 kmem_cache_alloc_noprof(struct kmem_cache * s,gfp_t gfpflags) kmem_cache_alloc_noprof() argument
4916 kmem_cache_alloc_lru_noprof(struct kmem_cache * s,struct list_lru * lru,gfp_t gfpflags) kmem_cache_alloc_lru_noprof() argument
4927 kmem_cache_charge(void * objp,gfp_t gfpflags) kmem_cache_charge() argument
4949 kmem_cache_alloc_node_noprof(struct kmem_cache * s,gfp_t gfpflags,int node) kmem_cache_alloc_node_noprof() argument
5413 __kmalloc_cache_noprof(struct kmem_cache * s,gfp_t gfpflags,size_t size) __kmalloc_cache_noprof() argument
5425 __kmalloc_cache_node_noprof(struct kmem_cache * s,gfp_t gfpflags,int node,size_t size) __kmalloc_cache_node_noprof() argument
[all...]
/linux/include/linux/
H A Dfault-inject.h126 int should_failslab(struct kmem_cache *s, gfp_t gfpflags);
128 static inline int should_failslab(struct kmem_cache *s, gfp_t gfpflags) in should_failslab() argument
H A Dslab.h837 gfp_t gfpflags) __assume_slab_alignment __malloc;
843 * @gfpflags: describe the allocation context
851 * behavior can be controlled through gfpflags parameter, which affects how the
868 bool kmem_cache_charge(void *objp, gfp_t gfpflags);
950 void *__kmalloc_cache_node_noprof(struct kmem_cache *s, gfp_t gfpflags, in kmalloc_noprof()
/linux/kernel/trace/
H A Dtrace_functions_graph.c1615 gfp_t gfpflags; in graph_trace_open() local
1621 gfpflags = (in_atomic() || irqs_disabled()) ? GFP_ATOMIC : GFP_KERNEL; in graph_trace_open()
1623 data = kzalloc_obj(*data, gfpflags); in graph_trace_open()
1627 data->cpu_data = alloc_percpu_gfp(struct fgraph_cpu_data, gfpflags); in graph_trace_open()
/linux/drivers/scsi/
H A Dscsi_lib.c2771 * @gfpflags: GFP flags for allocation
2776 gfp_t gfpflags) in sdev_evt_alloc() argument
2778 struct scsi_event *evt = kzalloc_obj(struct scsi_event, gfpflags); in sdev_evt_alloc()
2808 * @gfpflags: GFP flags for allocation
2813 enum scsi_device_event evt_type, gfp_t gfpflags) in sdev_evt_send_simple() argument
2815 struct scsi_event *evt = sdev_evt_alloc(evt_type, gfpflags); in sdev_evt_send_simple()