Searched refs:gfp (Results 1 – 8 of 8) sorted by relevance
/tools/virtio/linux/ |
D | kernel.h | 56 static inline void *kmalloc(size_t s, gfp_t gfp) in kmalloc() argument 62 static inline void *kmalloc_array(unsigned n, size_t s, gfp_t gfp) in kmalloc_array() argument 64 return kmalloc(n * s, gfp); in kmalloc_array() 67 static inline void *kzalloc(size_t s, gfp_t gfp) in kzalloc() argument 69 void *p = kmalloc(s, gfp); in kzalloc() 75 static inline void *alloc_pages_exact(size_t s, gfp_t gfp) in alloc_pages_exact() argument 77 return kmalloc(s, gfp); in alloc_pages_exact() 92 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc() argument 98 static inline unsigned long __get_free_page(gfp_t gfp) in __get_free_page() argument 122 static inline void *krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t gfp) in krealloc_array() argument [all …]
|
D | virtio.h | 35 gfp_t gfp); 40 gfp_t gfp); 45 gfp_t gfp);
|
/tools/testing/radix-tree/ |
D | linux.c | 29 void *kmem_cache_alloc(struct kmem_cache *cachep, int gfp) in kmem_cache_alloc() argument 33 if (!(gfp & __GFP_DIRECT_RECLAIM)) in kmem_cache_alloc() 52 else if (gfp & __GFP_ZERO) in kmem_cache_alloc() 81 void *kmalloc(size_t size, gfp_t gfp) in kmalloc() argument 85 if (!(gfp & __GFP_DIRECT_RECLAIM)) in kmalloc() 92 if (gfp & __GFP_ZERO) in kmalloc()
|
/tools/testing/fault-injection/ |
D | failcmd.sh | 44 --reject-start=value, --reject-end=value, --ignore-gfp-wait=value 52 --ignore-gfp-highmem=value, --min-order=value 92 LONGOPTS=$LONGOPTS,ignore-gfp-wait:,cache-filter: 94 LONGOPTS=$LONGOPTS,ignore-gfp-wait:,ignore-gfp-highmem:,min-order: 182 --ignore-gfp-wait) 183 echo $2 > $FAULTATTR/ignore-gfp-wait 190 --ignore-gfp-highmem) 191 echo $2 > $FAULTATTR/ignore-gfp-highmem
|
/tools/testing/radix-tree/linux/ |
D | slab.h | 15 static inline void *kzalloc(size_t size, gfp_t gfp) in kzalloc() argument 17 return kmalloc(size, gfp | __GFP_ZERO); in kzalloc()
|
/tools/virtio/ringtest/ |
D | ptr_ring.c | 27 static void *kmalloc(unsigned size, gfp_t gfp) in kmalloc() argument 33 if (gfp & __GFP_ZERO) in kmalloc()
|
/tools/perf/Documentation/ |
D | perf-kmem.txt | 47 migtype, gfp' for page. This option should be preceded by one of the
|
/tools/perf/ |
D | builtin-kmem.c | 723 struct gfp_flag *gfp; in compact_gfp_string() local 725 gfp = bsearch(&key, gfps, nr_gfps, sizeof(*gfps), gfpcmp); in compact_gfp_string() 726 if (gfp) in compact_gfp_string() 727 return gfp->compact_str; in compact_gfp_string()
|