Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-28 15:44:34
Last Modify:2022-05-23 17:02:55 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:do_drain

Proto:static void do_drain(void *arg)

Type:void

Parameter:

TypeParameterName
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  spin_lock( & list_lock)
2197  Caller needs to acquire correct kmem_cache_node's list_lock*@list: List of detached free slabs should be freed by caller
2198  spin_unlock( & list_lock)
2199  slabs_destroy(cachep, & list)
2200  avail = 0