函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Return the size of a slob block.

函数原型:static slobidx_t slob_units(slob_t *s)

返回类型:slobidx_t

参数:

类型参数名称
slob_t *s
163  如果units大于0则返回:units
165  返回:1
调用者
名称描述
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.