函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Find a lock that the owner of the given block_fl is blocking on.

函数原型:static struct file_lock *what_owner_is_waiting_for(struct file_lock *block_fl)

返回类型:struct file_lock

参数:

类型参数名称
struct file_lock *block_fl
995  hash_for_each_possible - iterate over all possible objects hashing to the* same bucket*@name: hashtable to iterate*@obj: the type * to use as a loop cursor for each entry*@member: the name of the hlist_node within the struct*@key: the key of the objects (blocked_hash, fl, fl_link, posix_owner_key(block_fl))
999  返回:fl
1002  返回:NULL
调用者
名称描述
posix_locks_deadlockMust be called with the blocked_lock_lock held!