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.h515 typedef struct { unsigned long v; } kmalloc_token_t; typedef
518 #define __kmalloc_token(...) ((kmalloc_token_t){ .v = _CODE_LOCATION_ })
521 #define __kmalloc_token(...) ((kmalloc_token_t){ .v = 0 })
523 #define __kmalloc_token(...) ((kmalloc_token_t){ .v = __builtin_infer_alloc_token(__VA_ARGS__) })
526 #define DECL_TOKEN_PARAM(_token) , kmalloc_token_t (_token)
529 #define DECL_TOKEN_PARAMS(_size, _token) size_t (_size), kmalloc_token_t (_token)
532 typedef struct {} kmalloc_token_t; typedef
533 #define __kmalloc_token(...) ((kmalloc_token_t){}) /* no-op */
536 #define PASS_TOKEN_PARAM(_token) ((kmalloc_token_t){})
753 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.h53 gfp_t flags, unsigned int alloc_flags, int node, kmalloc_token_t token) in _kmalloc_flags_noprof()
432 kmalloc_slab(size_t size, kmem_buckets *b, gfp_t flags, kmalloc_token_t token, in kmalloc_slab()
H A Dslub.c5395 kmalloc_token_t token, const struct slab_alloc_context *ac) in __do_kmalloc_node()
6875 __do_krealloc(const void *p, size_t new_size, unsigned long align, gfp_t flags, int nid, kmalloc_token_t token) in __do_krealloc()