Home
last modified time | relevance | path

Searched refs:slab (Results 1 – 25 of 76) sorted by relevance

1234

/OK3568_Linux_fs/kernel/tools/vm/
H A Dslabinfo.c54 struct slabinfo *slab; member
355 if (a->slab == find && in find_one_alias()
1141 a->slab = s; in link_slabs()
1160 if (!show_single_ref && a->slab->refs == 1) in alias()
1165 if (strcmp(a->slab->name, active) == 0) { in alias()
1170 printf("\n%-12s <- %s", a->slab->name, a->name); in alias()
1171 active = a->slab->name; in alias()
1174 printf("%-15s -> %s\n", a->name, a->slab->name); in alias()
1204 static int slab_mismatch(char *slab) in slab_mismatch() argument
1206 return regexec(&pattern, slab, 0, NULL, 0); in slab_mismatch()
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-kernel-slab1 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 …]
/OK3568_Linux_fs/kernel/lib/
H A Dsg_pool.c13 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()
H A Dstackdepot.c230 void *slab; in stack_depot_fetch() local
240 slab = stack_slabs[parts.slabindex]; in stack_depot_fetch()
241 if (!slab) in stack_depot_fetch()
243 stack = slab + offset; in stack_depot_fetch()
/OK3568_Linux_fs/kernel/Documentation/vm/
H A Dslub.rst9 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 …]
H A Dsplit_page_table_lock.rst61 Make sure the architecture doesn't use slab allocator for page table
62 allocation: slab uses page->slab_cache for its pages.
/OK3568_Linux_fs/kernel/net/dccp/
H A Dccid.c81 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()
/OK3568_Linux_fs/kernel/block/
H A Dbio.c55 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 …]
/OK3568_Linux_fs/kernel/tools/perf/Documentation/
H A Dperf-kmem.txt44 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::
/OK3568_Linux_fs/kernel/include/net/
H A Drequest_sock.h30 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/cgroup/
H A Dtest_kmem.c165 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()
/OK3568_Linux_fs/kernel/tools/testing/scatterlist/
H A DMakefile17 … $(OFILES) scatterlist.c linux/scatterlist.h linux/highmem.h linux/kmemleak.h linux/slab.h asm/io.h
31 @touch linux/slab.h
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.h129 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()
/OK3568_Linux_fs/kernel/net/core/
H A Dsock.c1682 struct kmem_cache *slab; in sk_prot_alloc() local
1684 slab = prot->slab; in sk_prot_alloc()
1685 if (slab != NULL) { in sk_prot_alloc()
1686 sk = kmem_cache_alloc(slab, priority & ~__GFP_ZERO); in sk_prot_alloc()
1708 if (slab != NULL) in sk_prot_alloc()
1709 kmem_cache_free(slab, sk); in sk_prot_alloc()
1717 struct kmem_cache *slab; in sk_prot_free() local
1721 slab = prot->slab; in sk_prot_free()
1726 if (slab != NULL) in sk_prot_free()
1727 kmem_cache_free(slab, sk); in sk_prot_free()
[all …]
/OK3568_Linux_fs/kernel/Documentation/core-api/
H A Dmm-api.rst43 .. kernel-doc:: include/linux/slab.h
46 .. kernel-doc:: mm/slab.c
/OK3568_Linux_fs/kernel/fs/erofs/
H A Dzdata.c18 struct kmem_cache *slab; member
35 if (!pcluster_pool[i].slab) in z_erofs_destroy_pcluster_pool()
37 kmem_cache_destroy(pcluster_pool[i].slab); in z_erofs_destroy_pcluster_pool()
38 pcluster_pool[i].slab = NULL; in z_erofs_destroy_pcluster_pool()
53 pcs->slab = kmem_cache_create(pcs->name, size, 0, in z_erofs_create_pcluster_pool()
55 if (pcs->slab) in z_erofs_create_pcluster_pool()
75 pcl = kmem_cache_zalloc(pcs->slab, GFP_NOFS); in z_erofs_alloc_pcluster()
94 kmem_cache_free(pcs->slab, pcl); in z_erofs_free_pcluster()
/OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/process/
H A Dmagic-number.rst95 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``
H A Dsubmit-checklist.rst87 21) 已通过至少注入slab和page分配失败进行检查。请参阅 ``Documentation/fault-injection/``
/OK3568_Linux_fs/kernel/Documentation/fault-injection/
H A Dfault-injection.rst13 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
/OK3568_Linux_fs/kernel/Documentation/process/
H A Dmagic-number.rst106 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``
/OK3568_Linux_fs/kernel/Documentation/translations/it_IT/process/
H A Dmagic-number.rst112 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``
/OK3568_Linux_fs/kernel/Documentation/translations/ja_JP/
H A DSubmitChecklist93 20: 少なくともslabアロケーションとpageアロケーションに失敗した場合の
/OK3568_Linux_fs/kernel/Documentation/trace/
H A Devents-kmem.rst26 justified, particularly if kmalloc slab pages are getting significantly
42 of writing, no information is available on what slab is being allocated from,
/OK3568_Linux_fs/kernel/mm/
H A Dmemory-failure.c858 #define slab (1UL << PG_slab) macro
878 { slab, slab, MF_MSG_SLAB, me_kernel },
906 #undef slab
/OK3568_Linux_fs/kernel/tools/testing/fault-injection/
H A Dfailcmd.sh59 inject slab allocation failures

1234