Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:qlist_move_cache

Proto:static void qlist_move_cache(struct qlist_head *from, struct qlist_head *to, struct kmem_cache *cache)

Type:void

Parameter:

TypeParameterName
struct qlist_head *from
struct qlist_head *to
struct kmem_cache *cache
270  If Value for the false possibility is greater at compile time(qlist_empty(from)) Then Return
273  curr = head
274  qlist_init(from)
275  When curr cycle
276  next = next
277  obj_cache = qlink_to_cache(curr)
279  If obj_cache == cache Then qlist_put(to, curr, The size of an object including metadata )
281  Else qlist_put(from, curr, The size of an object including metadata )
284  curr = next
Caller
NameDescribe
per_cpu_remove_cache
quarantine_remove_cacheFree all quarantined objects belonging to cache.