Lines Matching refs:gfp_t
195 void * __must_check krealloc(const void *objp, size_t new_size, gfp_t flags) __realloc_size(2);
361 static __always_inline enum kmalloc_cache_type kmalloc_type(gfp_t flags) in kmalloc_type()
443 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __alloc_size(1);
444 void *kmem_cache_alloc(struct kmem_cache *s, gfp_t flags) __assume_slab_alignment __malloc;
446 gfp_t gfpflags) __assume_slab_alignment __malloc;
457 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, void **p);
468 void *__kmalloc_node(size_t size, gfp_t flags, int node) __assume_kmalloc_alignment
470 void *kmem_cache_alloc_node(struct kmem_cache *s, gfp_t flags, int node) __assume_slab_alignment
473 void *kmalloc_trace(struct kmem_cache *s, gfp_t flags, size_t size)
476 void *kmalloc_node_trace(struct kmem_cache *s, gfp_t gfpflags,
479 void *kmalloc_large(size_t size, gfp_t flags) __assume_page_alignment
482 void *kmalloc_large_node(size_t size, gfp_t flags, int node) __assume_page_alignment
539 static __always_inline __alloc_size(1) void *kmalloc(size_t size, gfp_t flags) in kmalloc()
562 static __always_inline __alloc_size(1) void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
582 static __always_inline __alloc_size(1) void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
597 static inline __alloc_size(1, 2) void *kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array()
618 gfp_t flags) in krealloc_array()
634 static inline __alloc_size(1, 2) void *kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc()
639 void *__kmalloc_node_track_caller(size_t size, gfp_t flags, int node,
657 static inline __alloc_size(1, 2) void *kmalloc_array_node(size_t n, size_t size, gfp_t flags, in kmalloc_array_node()
669 static inline __alloc_size(1, 2) void *kcalloc_node(size_t n, size_t size, gfp_t flags, int node) in kcalloc_node()
677 static inline void *kmem_cache_zalloc(struct kmem_cache *k, gfp_t flags) in kmem_cache_zalloc()
687 static inline __alloc_size(1) void *kzalloc(size_t size, gfp_t flags) in kzalloc()
698 static inline __alloc_size(1) void *kzalloc_node(size_t size, gfp_t flags, int node) in kzalloc_node()
703 extern void *kvmalloc_node(size_t size, gfp_t flags, int node) __alloc_size(1);
704 static inline __alloc_size(1) void *kvmalloc(size_t size, gfp_t flags) in kvmalloc()
708 static inline __alloc_size(1) void *kvzalloc_node(size_t size, gfp_t flags, int node) in kvzalloc_node()
712 static inline __alloc_size(1) void *kvzalloc(size_t size, gfp_t flags) in kvzalloc()
717 static inline __alloc_size(1, 2) void *kvmalloc_array(size_t n, size_t size, gfp_t flags) in kvmalloc_array()
727 static inline __alloc_size(1, 2) void *kvcalloc(size_t n, size_t size, gfp_t flags) in kvcalloc()
732 extern void *kvrealloc(const void *p, size_t oldsize, size_t newsize, gfp_t flags)