Searched refs:gfpflags (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/mm/ |
D | failslab.c | 19 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()
|
D | slub.c | 2804 static inline bool pfmemalloc_match(struct slab *slab, gfp_t gfpflags); 3509 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid) in slab_out_of_memory() argument 3517 if ((gfpflags & __GFP_NOWARN) || !__ratelimit(&slub_oom_rs)) in slab_out_of_memory() 3521 cpu, cpu_to_node(cpu), nid, gfpflags, &gfpflags); in slab_out_of_memory() 3545 slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid) { } in slab_out_of_memory() argument 3548 static inline bool pfmemalloc_match(struct slab *slab, gfp_t gfpflags) in pfmemalloc_match() argument 3551 return gfp_pfmemalloc_allowed(gfpflags); in pfmemalloc_match() 3648 static void *___slab_alloc(struct kmem_cache *s, gfp_t gfpflags, int node, in ___slab_alloc() argument 3691 if (unlikely(!pfmemalloc_match(slab, gfpflags))) in ___slab_alloc() 3764 pfmemalloc_match(slab, gfpflags))) { in ___slab_alloc() [all …]
|
/linux-6.12.1/include/linux/ |
D | fault-inject.h | 126 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
|
D | slab.h | 715 gfp_t gfpflags) __assume_slab_alignment __malloc; 746 bool kmem_cache_charge(void *objp, gfp_t gfpflags); 804 void *__kmalloc_cache_node_noprof(struct kmem_cache *s, gfp_t gfpflags,
|
/linux-6.12.1/include/scsi/ |
D | scsi_device.h | 470 gfp_t gfpflags); 473 enum scsi_device_event evt_type, gfp_t gfpflags);
|
/linux-6.12.1/kernel/trace/ |
D | trace_functions_graph.c | 1311 gfp_t gfpflags; in graph_trace_open() local 1317 gfpflags = (in_atomic() || irqs_disabled()) ? GFP_ATOMIC : GFP_KERNEL; in graph_trace_open() 1319 data = kzalloc(sizeof(*data), gfpflags); in graph_trace_open() 1323 data->cpu_data = alloc_percpu_gfp(struct fgraph_cpu_data, gfpflags); in graph_trace_open()
|
/linux-6.12.1/drivers/scsi/ |
D | scsi_lib.c | 2657 gfp_t gfpflags) in sdev_evt_alloc() argument 2659 struct scsi_event *evt = kzalloc(sizeof(struct scsi_event), gfpflags); in sdev_evt_alloc() 2694 enum scsi_device_event evt_type, gfp_t gfpflags) in sdev_evt_send_simple() argument 2696 struct scsi_event *evt = sdev_evt_alloc(evt_type, gfpflags); in sdev_evt_send_simple()
|