函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:z3fold_page_putback

函数原型:static void z3fold_page_putback(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
1673  zhdr等于page_address(page)
1674  pool等于zhdr_to_pool(zhdr)
1676  Lock a z3fold page
1677  如果非链表为空删除链表项并重新初始化
1679  初始化链表头
1680  如果kref_put - decrement refcount for object.*@kref: object.*@release: pointer to the function that will clean up the object when the* last reference to the object is released.* This pointer is required, and it is not acceptable to pass kfree
1681  atomic64_dec( & pages_nr)
1682  返回
1684  加自旋锁
1685  添加链表项
1686  自旋锁解锁
1687  Unlock a z3fold page