Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab_common.c Create Date:2022-07-28 14:29:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kmem_cache_create - Create a cache.*@name: A string which is used in /proc/slabinfo to identify this cache.*@size: The size of objects to be created in this cache.*@align: The required alignment for the objects.*@flags: SLAB flags

Proto:struct kmem_cache *kmem_cache_create(const char *name, unsigned int size, unsigned int align, slab_flags_t flags, void (*ctor)(void *))

Type:struct kmem_cache

Parameter:

TypeParameterName
const char *name
unsigned intsize
unsigned intalign
slab_flags_tflags
void (*ctor
564  Return kmem_cache_create_usercopy - Create a cache with a region suitable* for copying to userspace*@name: A string which is used in /proc/slabinfo to identify this cache.*@size: The size of objects to be created in this cache.
Caller
NameDescribe
kmem_cache_oob
memcg_accounted_kmem_cache
kmem_cache_double_free
kmem_cache_invalid_free
do_kmem_cache_sizeTest kmem_cache with given parameters:
do_kmem_cache_rcu_persistentCheck that the data written to an RCU-allocated object survives* reallocation.
do_kmem_cache_size_bulk
btree_module_init
debug_objects_mem_initCalled after the kmem_caches are functional to setup a dedicated* cache pool, which has the SLAB_DEBUG_OBJECTS flag set. This flag* prevents that the debug code is called on kmem_cache_free() for the* debug tracker objects to avoid recursive calls.
sg_pool_init
proc_caches_init
uid_cache_init
cred_initalise the credentials stuff
init_posix_timersInitialize everything, well, just everything in Posix clocks/timers ;)
create_pid_cachepreates the kmem cache to allocate pids from.*@level: pid namespace level
audit_initInitialize audit support at boot time.
ptlock_cache_init
anon_vma_init
numa_policy_initassumes fs == KERNEL_DS
khugepaged_init
create_cache
z3fold_create_poolz3fold_create_pool() - create a new z3fold pool*@name: pool name*@gfp: gfp flags when allocating the z3fold pool structure*@ops: user-defined operations for the z3fold pool* Return: pointer to the new z3fold pool or NULL if the metadata allocation* failed.
biovec_init_slabs
elv_register
blk_dev_init
blk_ioc_init
bio_integrity_init
ordered_lsm_init
avc_initavc_init - Initialize the AVC.* Initialize the access vector cache.
integrity_iintcache_init
fcntl_init
inode_init
mnt_init
buffer_init
bdev_cache_init
eventpoll_init
userfaultfd_init
filelock_init
mbcache_init
dquot_init
dcookie_init