Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
const char * | name | |
unsigned int | size | |
unsigned int | align | |
slab_flags_t | flags | |
void (* | ctor |
Name | Describe |
---|---|
kmem_cache_oob | |
memcg_accounted_kmem_cache | |
kmem_cache_double_free | |
kmem_cache_invalid_free | |
do_kmem_cache_size | Test kmem_cache with given parameters: |
do_kmem_cache_rcu_persistent | Check that the data written to an RCU-allocated object survives* reallocation. |
do_kmem_cache_size_bulk | |
btree_module_init | |
debug_objects_mem_init | Called 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_init | alise the credentials stuff |
init_posix_timers | Initialize everything, well, just everything in Posix clocks/timers ;) |
create_pid_cachep | reates the kmem cache to allocate pids from.*@level: pid namespace level |
audit_init | Initialize audit support at boot time. |
ptlock_cache_init | |
anon_vma_init | |
numa_policy_init | assumes fs == KERNEL_DS |
khugepaged_init | |
create_cache | |
z3fold_create_pool | z3fold_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_init | avc_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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |