Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Returns freelist pointer (ptr). With hardening, this is obfuscated* with an XOR of the address where the pointer is held and a per-cache* random number.

Proto:static inline void *freelist_ptr(const struct kmem_cache *s, void *ptr, unsigned long ptr_addr)

Type:void

Parameter:

TypeParameterName
const struct kmem_cache *s
void *ptr
unsigned longptr_addr
264  Return ptr
Caller
NameDescribe
freelist_dereferenceReturns the freelist pointer recorded at location ptr_addr.
get_freepointer_safe
set_freepointer