函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\slub_def.h Create Date:2022-07-27 15:26:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:nearest_obj

函数原型:static inline void *nearest_obj(struct kmem_cache *cache, struct page *page, void *x)

返回类型:void

参数:

类型参数名称
struct kmem_cache *cache
struct page *page
void *x
176  object等于xxpage_address(page)的差取模The size of an object including metadata
177  last_object等于page_address(page)加objects减1的差乘The size of an object including metadata
179  result等于如果此条件成立可能性小(为编译器优化)(object > last_object)则last_object否则object
181  result等于fixup_red_left(cache, result)
182  返回:result
调用者
名称描述
print_address_description
__kasan_slab_free