函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:z3fold_page_isolate

函数原型:static bool z3fold_page_isolate(struct page *page, isolate_mode_t mode)

返回类型:bool

参数:

类型参数名称
struct page *page
isolate_mode_tmode
1571  VM_BUG_ON_PAGE(!PageMovable(page), page)
1572  VM_BUG_ON_PAGE(PageIsolated(page), page)
1574  如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting fromst_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则返回:false
1578  zhdr等于page_address(page)
1579  Lock a z3fold page
1580  如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting fromst_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则转到:out
1584  如果mapped_count不等于0或foreign_handles不等于0则转到:out
1587  pool等于zhdr_to_pool(zhdr)
1588  加自旋锁
1589  如果非链表为空删除链表项并重新初始化
1591  如果非链表为空删除链表项并重新初始化
1593  自旋锁解锁
1595  对象增加引用
1596  Unlock a z3fold page
1597  返回:true
1599  out :
1600  Unlock a z3fold page
1601  返回:false