Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:qlist_free_all

Proto:static void qlist_free_all(struct qlist_head *q, struct kmem_cache *cache)

Type:void

Parameter:

TypeParameterName
struct qlist_head *q
struct kmem_cache *cache
158  If Value for the false possibility is greater at compile time(qlist_empty(q)) Then Return
161  qlink = head
162  When qlink cycle
163  obj_cache = If cache Then cache Else qlink_to_cache(qlink)
165  next = next
167  qlink_free(qlink, obj_cache)
168  qlink = next
170  qlist_init(q)
Caller
NameDescribe
quarantine_reduce
per_cpu_remove_cache
quarantine_remove_cacheFree all quarantined objects belonging to cache.