函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-27 17:18:43
Last Modify:2022-05-23 17:02:55 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:slab_get_obj

函数原型:static void *slab_get_obj(struct kmem_cache *cachep, struct page *page)

返回类型:void

参数:

类型参数名称
struct kmem_cache *cachep
struct page *page
2571  objp等于index_to_obj(cachep, page, get_free_obj(page, SLAB ))
2572  SLAB 自加
2574  返回:objp
调用者
名称描述
cache_alloc_pfmemalloc
alloc_blockSlab list should be fixed up by fixup_slab_list() for existing slab* or cache_grow_end() for new slab
____cache_alloc_nodeA interface to enable slab creation on nodeid