Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\z3fold.c Create Date:2022-07-28 16:29:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:release_z3fold_page_locked_list

Proto:static void release_z3fold_page_locked_list(struct kref *ref)

Type:void

Parameter:

TypeParameterName
struct kref *ref
579  zhdr = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(ref, structz3fold_header, refcount)
581  pool = zhdr_to_pool(zhdr)
583  spin_lock( & lock)
584  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
585  spin_unlock( & lock)
587  WARN_ON(Try to lock a z3fold page )
588  __release_z3fold_page(zhdr, true)