Home
last modified time | relevance | path

Searched refs:gfp_t (Results 1 – 15 of 15) sorted by relevance

/tools/virtio/linux/
A Dkernel.h56 static inline void *kmalloc(size_t s, gfp_t gfp) in kmalloc()
62 static inline void *kmalloc_array(unsigned n, size_t s, gfp_t gfp) in kmalloc_array()
67 static inline void *kzalloc(size_t s, gfp_t gfp) in kzalloc()
75 static inline void *alloc_pages_exact(size_t s, gfp_t gfp) in alloc_pages_exact()
92 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc()
98 static inline unsigned long __get_free_page(gfp_t gfp) in __get_free_page()
118 static inline void *krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t gfp) in krealloc_array()
A Dvirtio.h38 gfp_t gfp);
43 gfp_t gfp);
48 gfp_t gfp);
/tools/include/linux/
A Dslab.h13 void *kmalloc(size_t size, gfp_t gfp);
15 void *kmalloc_array(size_t n, size_t size, gfp_t gfp);
26 static inline void *kzalloc(size_t size, gfp_t gfp) in kzalloc()
45 int kmem_cache_alloc_bulk(struct kmem_cache *cachep, gfp_t gfp, size_t size,
A Dgfp.h8 static inline bool gfpflags_allow_blocking(const gfp_t gfp_flags) in gfpflags_allow_blocking()
A Dtypes.h24 } gfp_t; typedef
A Dbitmap.h83 static inline unsigned long *bitmap_alloc(unsigned int nbits, gfp_t flags __maybe_unused) in bitmap_alloc()
/tools/virtio/ringtest/
A Dptr_ring.c24 typedef int gfp_t; typedef
27 static void *kmalloc(unsigned size, gfp_t gfp) in kmalloc()
38 static inline void *kzalloc(unsigned size, gfp_t flags) in kzalloc()
43 static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array()
50 static inline void *kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc()
/tools/lib/
A Dslab.c14 void *kmalloc(size_t size, gfp_t gfp) in kmalloc()
40 void *kmalloc_array(size_t n, size_t size, gfp_t gfp) in kmalloc_array()
/tools/testing/memblock/linux/
A Dkmemleak.h10 gfp_t gfp) in kmemleak_alloc_phys()
/tools/testing/selftests/net/bench/page_pool/
A Dbench_page_pool_simple.c109 gfp_t gfp_mask = GFP_ATOMIC; in pp_fill_ptr_ring()
130 gfp_t gfp_mask = GFP_ATOMIC; /* GFP_ATOMIC is not really needed */ in time_bench_page_pool()
/tools/testing/selftests/bpf/progs/
A Dbench_local_storage_create.c34 size_t bytes_req, size_t bytes_alloc, gfp_t gfp_flags, in BPF_PROG()
A Dlsm_cgroup.c148 int BPF_PROG(socket_alloc, struct sock *sk, int family, gfp_t priority) in BPF_PROG()
/tools/testing/selftests/livepatch/test_modules/
A Dtest_klp_shadow_vars.c73 gfp_t gfp_flags, klp_shadow_ctor_t ctor, in shadow_alloc()
88 gfp_t gfp_flags, klp_shadow_ctor_t ctor, in shadow_get_or_alloc()
/tools/testing/shared/
A Dlinux.c165 int kmem_cache_alloc_bulk(struct kmem_cache *cachep, gfp_t gfp, size_t size, in kmem_cache_alloc_bulk()
/tools/testing/vma/
A Dvma_internal.h677 static inline void *kmem_cache_alloc(struct kmem_cache *s, gfp_t gfpflags) in kmem_cache_alloc()
749 unsigned long start, unsigned long end, gfp_t gfp) in vma_iter_clear_gfp()

Completed in 34 milliseconds