函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Remove waiter from blocker's block list.* When blocker ends up pointing to itself then the list is empty.* Must be called with blocked_lock_lock held.

函数原型:static void __locks_delete_block(struct file_lock *waiter)

返回类型:void

参数:

类型参数名称
struct file_lock *waiter
726  locks_delete_global_blocked(waiter)
727  删除链表项并重新初始化
728  The lock, that is blocking us = NULL
调用者
名称描述
__locks_wake_up_blocks
locks_delete_blocklocks_delete_lock - stop waiting for a file lock*@waiter: the lock which was waiting* lockd/nfsd need to disconnect the lock while working on it.