Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_freepointer

Proto:static inline void *get_freepointer(struct kmem_cache *s, void *object)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *s
void *object
278  Return Returns the freelist pointer recorded at location ptr_addr.
Caller
NameDescribe
get_freepointer_safe
slab_free_freelist_hook
deactivate_slabRemove the cpu slab
___slab_allocSlow path. The lockless freelist is empty or we need to perform* debugging duties.* Processing is still very fast if new objects have been freed to the* regular freelist. In that case we simply take over the regular freelist
kmem_cache_alloc_bulkNote that interrupts must be enabled when calling this function.
early_kmem_cache_node_allocNo kmalloc_node yet so do it by hand. We know that this is the first* slab on the node for this slabcache. There are no concurrent accesses* possible.* Note that this function only works on the kmem_cache_node* when allocating for the kmem_cache_node