函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:order_objects

函数原型:static inline unsigned int order_objects(unsigned int order, unsigned int size)

返回类型:unsigned int

参数:

类型参数名称
unsigned intorder
unsigned intsize
324  返回:PAGE_SIZE左移order位的值除size
调用者
名称描述
oo_make
slab_orderCalculate the order of allocation given an slab object size.* The order of allocation has significant impact on performance and other* system components. Generally order 0 allocations should be preferred since
calculate_order