Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-28 15:47:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:oo_make

Proto:static inline struct kmem_cache_order_objects oo_make(unsigned int order, unsigned int size)

Type:struct kmem_cache_order_objects

Parameter:

TypeParameterName
unsigned intorder
unsigned intsize
330  struct kmem_cache_order_objects x = {(order << OO_SHIFT) + order_objects(order, size)}
334  Return x
Caller
NameDescribe
calculate_sizesalculate_sizes() determines the order and the distribution of data within* a slab object.