Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\locks.c Create Date:2022-07-28 20:25:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Find a lock that the owner of the given block_fl is blocking on.

Proto:static struct file_lock *what_owner_is_waiting_for(struct file_lock *block_fl)

Type:struct file_lock

Parameter:

TypeParameterName
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  Return fl
1002  Return NULL
Caller
NameDescribe
posix_locks_deadlockMust be called with the blocked_lock_lock held!