Home
last modified time | relevance | path

Searched refs:kmalloc_token_t (Results 1 – 3 of 3) sorted by relevance

/linux/include/linux/
H A Dslab.h512 typedef struct { unsigned long v; } kmalloc_token_t; typedef
515 #define __kmalloc_token(...) ((kmalloc_token_t){ .v = _CODE_LOCATION_ })
518 #define __kmalloc_token(...) ((kmalloc_token_t){ .v = 0 })
520 #define __kmalloc_token(...) ((kmalloc_token_t){ .v = __builtin_infer_alloc_token(__VA_ARGS__) })
523 #define DECL_TOKEN_PARAM(_token) , kmalloc_token_t (_token)
526 #define DECL_TOKEN_PARAMS(_size, _token) size_t (_size), kmalloc_token_t (_token)
529 typedef struct {} kmalloc_token_t; typedef
530 #define __kmalloc_token(...) ((kmalloc_token_t){}) /* no-op */
533 #define PASS_TOKEN_PARAM(_token) ((kmalloc_token_t){})
750 static __always_inline enum kmalloc_cache_type kmalloc_type(gfp_t flags, kmalloc_token_t token) in kmalloc_type()
[all …]
/linux/mm/
H A Dslab.h37 gfp_t flags, unsigned int alloc_flags, int node, kmalloc_token_t token) in _kmalloc_flags_noprof()
390 kmalloc_slab(size_t size, kmem_buckets *b, gfp_t flags, kmalloc_token_t token, in kmalloc_slab()
H A Dslub.c5315 kmalloc_token_t token, const struct slab_alloc_context *ac) in __do_kmalloc_node()
6765 …c(const void *p, size_t new_size, unsigned long align, gfp_t flags, int nid, kmalloc_token_t token) in __do_krealloc()