函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\migrate.c Create Date:2022-07-27 17:32:49
Last Modify:2022-05-20 09:53:13 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Returns true if all buffers are successfully locked

函数原型:static bool buffer_migrate_lock_buffers(struct buffer_head *head, enum migrate_mode mode)

返回类型:bool

参数:

类型参数名称
struct buffer_head *head
enum migrate_modemode
702  bh等于head
705  如果mode不等于MIGRATE_ASYNC
706  循环
707  lock_buffer(bh)
710 bh不等于head循环
712  返回:true
716  循环
717  如果非trylock_buffer(bh)则
722  failed_bh等于bh
723  bh等于head
724 bh不等于failed_bh循环
728  返回:false
731  bh等于 circular list of page's buffers
732 bh不等于head循环
733  返回:true
调用者
名称描述
__buffer_migrate_page