Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Determine object index from a given position

Proto:static inline unsigned int slab_index(void *p, struct kmem_cache *s, void *addr)

Type:unsigned int

Parameter:

TypeParameterName
void *p
struct kmem_cache *s
void *addr
319  Return (kasan_reset_tag(p) - addr) / The size of an object including metadata