函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-27 17:20:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fixup_red_left

函数原型:void *fixup_red_left(struct kmem_cache *s, void *p)

返回类型:void

参数:

类型参数名称
struct kmem_cache *s
void *p
128  如果Lock order:* 1. slab_mutex (Global Mutex)* 2. node->list_lock* 3. slab_lock(page) (Only on some arches and for debugging)* slab_mutex* The role of the slab_mutex is to protect the list of all the slabsUsed for retrieving partial slabs, etc. 按位与DEBUG: Red zone objs in a cache p加等于Left redzone padding size
131  返回:p
调用者
名称描述
allocate_slab