• Home
  • Raw
  • Download

Lines Matching refs:flags

320 					    slab_flags_t flags);
323 slab_flags_t flags, void (*ctor)(void *)) in __kmem_cache_create() argument
330 return __kmem_cache_create_args(name, size, &kmem_args, flags); in __kmem_cache_create()
353 unsigned int align, slab_flags_t flags, in kmem_cache_create_usercopy() argument
364 return __kmem_cache_create_args(name, size, &kmem_args, flags); in kmem_cache_create_usercopy()
371 slab_flags_t flags) in __kmem_cache_default_args() argument
379 return __kmem_cache_create_args(name, size, &kmem_default_args, flags); in __kmem_cache_default_args()
446 gfp_t flags) __realloc_size(2);
614 static __always_inline enum kmalloc_cache_type kmalloc_type(gfp_t flags, unsigned long caller) in kmalloc_type() argument
620 if (likely((flags & KMALLOC_NOT_NORMAL_BITS) == 0)) in kmalloc_type()
636 if (IS_ENABLED(CONFIG_ZONE_DMA) && (flags & __GFP_DMA)) in kmalloc_type()
638 if (!IS_ENABLED(CONFIG_MEMCG) || (flags & __GFP_RECLAIMABLE)) in kmalloc_type()
714 gfp_t flags) __assume_slab_alignment __malloc;
752 kmem_buckets *kmem_buckets_create(const char *name, slab_flags_t flags,
765 int kmem_cache_alloc_bulk_noprof(struct kmem_cache *s, gfp_t flags, size_t size, void **p);
773 void *kmem_cache_alloc_node_noprof(struct kmem_cache *s, gfp_t flags,
798 void *__kmalloc_noprof(size_t size, gfp_t flags)
801 void *__kmalloc_node_noprof(DECL_BUCKET_PARAMS(size, b), gfp_t flags, int node)
804 void *__kmalloc_cache_noprof(struct kmem_cache *s, gfp_t flags, size_t size)
811 void *__kmalloc_large_noprof(size_t size, gfp_t flags)
814 void *__kmalloc_large_node_noprof(size_t size, gfp_t flags, int node)
872 static __always_inline __alloc_size(1) void *kmalloc_noprof(size_t size, gfp_t flags) in kmalloc_noprof() argument
878 return __kmalloc_large_noprof(size, flags); in kmalloc_noprof()
882 kmalloc_caches[kmalloc_type(flags, _RET_IP_)][index], in kmalloc_noprof()
883 flags, size); in kmalloc_noprof()
885 return __kmalloc_noprof(size, flags); in kmalloc_noprof()
895 static __always_inline __alloc_size(1) void *kmalloc_node_noprof(size_t size, gfp_t flags, int node) in kmalloc_node_noprof() argument
901 return __kmalloc_large_node_noprof(size, flags, node); in kmalloc_node_noprof()
905 kmalloc_caches[kmalloc_type(flags, _RET_IP_)][index], in kmalloc_node_noprof()
906 flags, node, size); in kmalloc_node_noprof()
908 return __kmalloc_node_noprof(PASS_BUCKET_PARAMS(size, NULL), flags, node); in kmalloc_node_noprof()
918 static inline __alloc_size(1, 2) void *kmalloc_array_noprof(size_t n, size_t size, gfp_t flags) in kmalloc_array_noprof() argument
925 return kmalloc_noprof(bytes, flags); in kmalloc_array_noprof()
926 return kmalloc_noprof(bytes, flags); in kmalloc_array_noprof()
950 gfp_t flags) in krealloc_array_noprof() argument
957 return krealloc_noprof(p, bytes, flags); in krealloc_array_noprof()
967 #define kcalloc(n, size, flags) kmalloc_array(n, size, (flags) | __GFP_ZERO) argument
969 void *__kmalloc_node_track_caller_noprof(DECL_BUCKET_PARAMS(size, b), gfp_t flags, int node,
971 #define kmalloc_node_track_caller_noprof(size, flags, node, caller) \ argument
972 __kmalloc_node_track_caller_noprof(PASS_BUCKET_PARAMS(size, NULL), flags, node, caller)
989 static inline __alloc_size(1, 2) void *kmalloc_array_node_noprof(size_t n, size_t size, gfp_t flags, in kmalloc_array_node_noprof() argument
997 return kmalloc_node_noprof(bytes, flags, node); in kmalloc_array_node_noprof()
998 return __kmalloc_node_noprof(PASS_BUCKET_PARAMS(bytes, NULL), flags, node); in kmalloc_array_node_noprof()
1015 static inline __alloc_size(1) void *kzalloc_noprof(size_t size, gfp_t flags) in kzalloc_noprof() argument
1017 return kmalloc_noprof(size, flags | __GFP_ZERO); in kzalloc_noprof()
1022 void *__kvmalloc_node_noprof(DECL_BUCKET_PARAMS(size, b), gfp_t flags, int node) __alloc_size(1);
1023 #define kvmalloc_node_noprof(size, flags, node) \ argument
1024 __kvmalloc_node_noprof(PASS_BUCKET_PARAMS(size, NULL), flags, node)
1036 kvmalloc_array_node_noprof(size_t n, size_t size, gfp_t flags, int node) in kvmalloc_array_node_noprof() argument
1043 return kvmalloc_node_noprof(bytes, flags, node); in kvmalloc_array_node_noprof()
1054 void *kvrealloc_noprof(const void *p, size_t size, gfp_t flags)