函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Return the next free slob block pointer after this one.

函数原型:static slob_t *slob_next(slob_t *s)

返回类型:slob_t

参数:

类型参数名称
slob_t *s
173  base等于s按位与PAGE_MASK
176  如果units小于0则next等于负units
178  否则next等于units
180  返回:basenext
调用者
名称描述
slob_lastReturns true if s is the last free block in its page.
slob_page_allocslob_page_alloc() - Allocate a slob block within a given slob_page sp.*@sp: Page to look in.*@size: Size of the allocation.*@align: Allocation alignment.*@align_offset: Offset in the allocated block that will be aligned.
slob_freeslob_free: entry point into the slob allocator.