函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-27 17:18:27
Last Modify:2022-05-23 17:02:55 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:do_drain

函数原型:static void do_drain(void *arg)

返回类型:void

参数:

类型参数名称
void *arg
2187  cachep等于arg
2189  node等于Returns the number of the nearest Node with memory
2191  LIST_HEAD(list)
2193  check_irq_off()
2194  ac等于cpu_cache_get(cachep)
2195  n等于get_node(cachep, node)
2196  加自旋锁
2197  Caller needs to acquire correct kmem_cache_node's list_lock*@list: List of detached free slabs should be freed by caller
2198  自旋锁解锁
2199  slabs_destroy(cachep, & list)
2200  avail等于0