/kernel/linux/linux-5.10/tools/vm/ |
D | slabinfo.c | 54 struct slabinfo *slab; member 337 if (a->slab == find && in find_one_alias() 1107 a->slab = s; in link_slabs() 1126 if (!show_single_ref && a->slab->refs == 1) in alias() 1131 if (strcmp(a->slab->name, active) == 0) { in alias() 1136 printf("\n%-12s <- %s", a->slab->name, a->name); in alias() 1137 active = a->slab->name; in alias() 1140 printf("%-15s -> %s\n", a->name, a->slab->name); in alias() 1170 static int slab_mismatch(char *slab) in slab_mismatch() argument 1172 return regexec(&pattern, slab, 0, NULL, 0); in slab_mismatch() [all …]
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-kernel-slab | 1 What: /sys/kernel/slab 7 The /sys/kernel/slab directory contains a snapshot of the 13 What: /sys/kernel/slab/cache/aliases 22 What: /sys/kernel/slab/cache/align 31 What: /sys/kernel/slab/cache/alloc_calls 42 What: /sys/kernel/slab/cache/alloc_fastpath 53 What: /sys/kernel/slab/cache/alloc_from_partial 59 The alloc_from_partial file shows how many times a cpu slab has 60 been full and it has been refilled by using a slab from the list 65 What: /sys/kernel/slab/cache/alloc_refill [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | sg_pool.c | 13 struct kmem_cache *slab; member 149 sgp->slab = kmem_cache_create(sgp->name, size, 0, in sg_pool_init() 151 if (!sgp->slab) { in sg_pool_init() 158 sgp->slab); in sg_pool_init() 173 kmem_cache_destroy(sgp->slab); in sg_pool_init() 186 kmem_cache_destroy(sgp->slab); in sg_pool_exit()
|
D | stackdepot.c | 206 void *slab; in stack_depot_fetch() local 216 slab = stack_slabs[parts.slabindex]; in stack_depot_fetch() 217 if (!slab) in stack_depot_fetch() 219 stack = slab + offset; in stack_depot_fetch()
|
/kernel/linux/linux-5.10/Documentation/vm/ |
D | slub.rst | 9 slab caches. SLUB always includes full debugging but it is off by default. 40 slub_debug=<Debug-Options>,<slab name1>,<slab name2>,... 47 of the first "select slabs" blocks that matches the slab's name are applied. 59 caused higher minimum slab orders 72 end of the slab name, in order to cover all slabs with the same prefix. For 78 Red zoning and tracking may realign the slab. We can just apply sanity checks 83 Debugging options may require the minimum possible slab order to increase as 85 sizes). This has a higher liklihood of resulting in slab allocation errors 91 You can apply different options to different list of slab names, using blocks 99 debugged by specifying global debug options followed by a list of slab names [all …]
|
D | split_page_table_lock.rst | 61 Make sure the architecture doesn't use slab allocator for page table 62 allocation: slab uses page->slab_cache for its pages.
|
/kernel/linux/linux-5.10/net/dccp/ |
D | ccid.c | 81 struct kmem_cache *slab; in ccid_kmem_cache_create() local 88 slab = kmem_cache_create(slab_name_fmt, sizeof(struct ccid) + obj_size, 0, in ccid_kmem_cache_create() 90 return slab; in ccid_kmem_cache_create() 93 static void ccid_kmem_cache_destroy(struct kmem_cache *slab) in ccid_kmem_cache_destroy() argument 95 kmem_cache_destroy(slab); in ccid_kmem_cache_destroy()
|
/kernel/linux/linux-5.10/tools/perf/Documentation/ |
D | perf-kmem.txt | 44 Sort the output (default: 'frag,hit,bytes' for slab and 'bytes,hit' 46 pingpong, frag' for slab and 'page, callsite, bytes, hit, order, 48 mode selection options - i.e. --slab, --page, --alloc and/or --caller. 57 --slab::
|
/kernel/linux/linux-5.10/block/ |
D | bio.c | 55 struct kmem_cache *slab; member 67 struct kmem_cache *slab = NULL; in bio_find_or_create_slab() local 78 if (!bslab->slab && entry == -1) in bio_find_or_create_slab() 81 slab = bslab->slab; in bio_find_or_create_slab() 88 if (slab) in bio_find_or_create_slab() 107 slab = kmem_cache_create(bslab->name, sz, ARCH_KMALLOC_MINALIGN, in bio_find_or_create_slab() 109 if (!slab) in bio_find_or_create_slab() 112 bslab->slab = slab; in bio_find_or_create_slab() 117 return slab; in bio_find_or_create_slab() 128 if (bs->bio_slab == bio_slabs[i].slab) { in bio_put_slab() [all …]
|
/kernel/linux/linux-5.10/include/net/ |
D | request_sock.h | 30 struct kmem_cache *slab; member 91 req = kmem_cache_alloc(ops->slab, GFP_ATOMIC | __GFP_NOWARN); in reqsk_alloc() 97 kmem_cache_free(ops->slab, req); in reqsk_alloc() 121 kmem_cache_free(req->rsk_ops->slab, req); in __reqsk_free()
|
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
D | test_kmem.c | 165 long current, slab, anon, file, kernel_stack, sum; in test_kmem_memcg_deletion() local 183 slab = cg_read_key_long(parent, "memory.stat", "slab "); in test_kmem_memcg_deletion() 187 if (current < 0 || slab < 0 || anon < 0 || file < 0 || in test_kmem_memcg_deletion() 191 sum = slab + anon + file + kernel_stack; in test_kmem_memcg_deletion() 197 printf("slab = %ld\n", slab); in test_kmem_memcg_deletion()
|
/kernel/linux/linux-5.10/tools/testing/scatterlist/ |
D | Makefile | 17 … $(OFILES) scatterlist.c linux/scatterlist.h linux/highmem.h linux/kmemleak.h linux/slab.h asm/io.h 31 @touch linux/slab.h
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_cm.h | 129 chtls_tcp_ops->slab = tcp_prot->rsk_prot->slab; in chtls_init_rsk_ops() 137 kmem_cache_free(req->rsk_ops->slab, req); in chtls_reqsk_free()
|
/kernel/linux/linux-5.10/Documentation/core-api/ |
D | mm-api.rst | 43 .. kernel-doc:: include/linux/slab.h 46 .. kernel-doc:: mm/slab.c
|
/kernel/linux/linux-5.10/net/core/ |
D | sock.c | 1681 struct kmem_cache *slab; in sk_prot_alloc() local 1683 slab = prot->slab; in sk_prot_alloc() 1684 if (slab != NULL) { in sk_prot_alloc() 1685 sk = kmem_cache_alloc(slab, priority & ~__GFP_ZERO); in sk_prot_alloc() 1707 if (slab != NULL) in sk_prot_alloc() 1708 kmem_cache_free(slab, sk); in sk_prot_alloc() 1716 struct kmem_cache *slab; in sk_prot_free() local 1720 slab = prot->slab; in sk_prot_free() 1725 if (slab != NULL) in sk_prot_free() 1726 kmem_cache_free(slab, sk); in sk_prot_free() [all …]
|
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/process/ |
D | magic-number.rst | 95 RED_MAGIC2 0x170fc2a5 (any) ``mm/slab.c`` 109 SLAB_C_MAGIC 0x4f17a36d kmem_cache ``mm/slab.c`` 116 RED_MAGIC1 0x5a2cf071 (any) ``mm/slab.c``
|
D | submit-checklist.rst | 87 21) 已通过至少注入slab和page分配失败进行检查。请参阅 ``Documentation/fault-injection/``
|
/kernel/linux/linux-5.10/Documentation/process/ |
D | magic-number.rst | 106 RED_MAGIC2 0x170fc2a5 (any) ``mm/slab.c`` 120 SLAB_C_MAGIC 0x4f17a36d kmem_cache ``mm/slab.c`` 127 RED_MAGIC1 0x5a2cf071 (any) ``mm/slab.c``
|
/kernel/linux/linux-5.10/Documentation/fault-injection/ |
D | fault-injection.rst | 13 injects slab allocation failures. (kmalloc(), kmem_cache_alloc(), ...) 199 Note that this file enables all types of faults (slab, futex, etc). 250 - Inject slab allocation failures into module init/exit code:: 372 Run a command "make -C tools/testing/selftests/ run_tests" with injecting slab 384 Same as above except to inject page allocation failure instead of slab
|
/kernel/linux/linux-5.10/Documentation/translations/it_IT/process/ |
D | magic-number.rst | 112 RED_MAGIC2 0x170fc2a5 (any) ``mm/slab.c`` 126 SLAB_C_MAGIC 0x4f17a36d kmem_cache ``mm/slab.c`` 133 RED_MAGIC1 0x5a2cf071 (any) ``mm/slab.c``
|
/kernel/linux/linux-5.10/Documentation/translations/ja_JP/ |
D | SubmitChecklist | 93 20: 少なくともslabアロケーションとpageアロケーションに失敗した場合の
|
/kernel/linux/linux-5.10/Documentation/trace/ |
D | events-kmem.rst | 26 justified, particularly if kmalloc slab pages are getting significantly 42 of writing, no information is available on what slab is being allocated from,
|
/kernel/linux/linux-5.10/tools/testing/fault-injection/ |
D | failcmd.sh | 59 inject slab allocation failures
|
/kernel/linux/linux-5.10/mm/ |
D | memory-failure.c | 858 #define slab (1UL << PG_slab) macro 878 { slab, slab, MF_MSG_SLAB, me_kernel }, 906 #undef slab
|
/kernel/linux/linux-5.10/Documentation/dev-tools/ |
D | kasan.rst | 61 BUG: KASAN: slab-out-of-bounds in kmalloc_oob_right+0xa8/0xbc [test_kasan] 117 flags: 0x200000000000100(slab) 134 access happens on a slab object), and a stack trace of where the object was 136 the accessed slab object and information about the accessed memory page.
|