函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slob.c Create Date:2022-07-27 17:09:50
Last Modify:2022-05-20 09:26:42 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:分配高速缓存区

函数原型:void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags)

返回类型:void

参数:

类型参数名称
struct kmem_cache *cachep
gfp_tflags
624  返回:slob_alloc_node(cachep, flags, NUMA_NO_NODE)
调用者
名称描述
radix_tree_node_allocThis assumes that the caller has performed appropriate preallocation, and* that the caller has pinned this thread of control to the current CPU.
vm_area_alloc
mempool_alloc_slabA commonly used alloc and free fn.
alloc_stable_node
slab_mem_going_online_callback
mem_pool_allocMemory pool allocation and freeing. kmemleak_lock must not be held.
add_scan_areaAdd a scanning area to the object. If at least one such area is added,* kmemleak will only scan these ranges rather than the whole memory block.
cache_alloc_handle
cache_alloc_zspage
alloc_slots
mqueue_alloc_inode
bvec_alloc
integrity_inode_getgrity_inode_get - find or allocate an iint associated with an inode*@inode: pointer to the inode*@return: allocated iint* Caller must lock i_mutex
de_threadThis function makes sure the current process has its own signal table,* so that flush_signal_handlers can later reset the handlers without* disturbing other processes. (Other processes might share the signal* table via the CLONE_SIGHAND option to clone().)