Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-28 08:58:55
Last Modify:2020-03-17 11:04:53 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:proc_caches_init

Proto:void __init proc_caches_init(void)

Type:void

Parameter:Nothing

2781  SLAB cache for sighand_struct structures (tsk->sighand) = kmem_cache_create("sighand_cache", sizeof(structsighand_struct), 0, Align objs on cache lines | Panic if kmem_cache_create() fails | Defer freeing slabs to RCU | SLAB_ACCOUNT, sighand_ctor)
2785  SLAB cache for signal_struct structures (tsk->signal) = kmem_cache_create("signal_cache", sizeof(structsignal_struct), 0, Align objs on cache lines | Panic if kmem_cache_create() fails | SLAB_ACCOUNT, NULL)
2789  SLAB cache for files_struct structures (tsk->files) = kmem_cache_create("files_cache", sizeof(structfiles_struct), 0, Align objs on cache lines | Panic if kmem_cache_create() fails | SLAB_ACCOUNT, NULL)
2793  SLAB cache for fs_struct structures (tsk->fs) = kmem_cache_create("fs_cache", sizeof(structfs_struct), 0, Align objs on cache lines | Panic if kmem_cache_create() fails | SLAB_ACCOUNT, NULL)
2803  mm_size = sizeof(structmm_struct) + pumask_size - size to allocate for a 'struct cpumask' in bytes
2805  SLAB cache for mm_struct structures (tsk->mm) = kmem_cache_create_usercopy("mm_struct", mm_size, ARCH_MIN_MMSTRUCT_ALIGN, Align objs on cache lines | Panic if kmem_cache_create() fails | SLAB_ACCOUNT, offsetof(structmm_struct, saved_auxv), sizeof_field(TYPE, MEMBER)*@TYPE: The structure containing the field of interest*@MEMBER: The field to return the size of(structmm_struct, saved_auxv), NULL)
2811  SLAB cache for vm_area_struct structures = Please use this macro to create slab caches. Simply specify the* name of the structure and maybe some flags that are listed above.* The alignment of the struct determines object alignment. If you* f(vm_area_struct, Panic if kmem_cache_create() fails | SLAB_ACCOUNT)
2812  mmap_init()
2813  nsproxy_cache_init()