函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\z3fold.c Create Date:2022-07-27 18:04:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:release_z3fold_page_locked_list

函数原型:static void release_z3fold_page_locked_list(struct kref *ref)

返回类型:void

参数:

类型参数名称
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  加自旋锁
584  删除链表项并重新初始化
585  自旋锁解锁
587  WARN_ON(Try to lock a z3fold page )
588  __release_z3fold_page(zhdr, true)