函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:slab_free

函数原型:static __always_inline void slab_free(struct kmem_cache *s, struct page *page, void *head, void *tail, int cnt, unsigned long addr)

返回类型:void

参数:

类型参数名称
struct kmem_cache *s
struct page *page
void *head
void *tail
intcnt
unsigned longaddr
3005  如果slab_free_freelist_hook(s, & head, & tail)则Fastpath with forced inlining to produce a kfree and kmem_cache_free that* can perform fastpath freeing without additional function calls.* The fastpath is only possible if we are freeing to the current cpu slab* of this processor
调用者
名称描述
kmem_cache_free
kmem_cache_free_bulkNote that interrupts must be enabled when calling this function.
kfree释放内存