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:Wake up processes blocked waiting for blocker.* Must be called with the inode->flc_lock held!

Proto:static void locks_wake_up_blocks(struct file_lock *blocker)

Type:void

Parameter:

TypeParameterName
struct file_lock *blocker
846  If list_empty - tests whether a list is empty*@head: the list to test. Then Return
849  spin_lock( & This lock protects the blocked_hash. Generally, if you're accessing it, you* want to be holding this lock.* In addition, it also protects the fl->fl_blocked_requests list, and the* fl->fl_blocker pointer for file_lock structures that are acting as lock)
850  __locks_wake_up_blocks(blocker)
851  spin_unlock( & This lock protects the blocked_hash. Generally, if you're accessing it, you* want to be holding this lock.* In addition, it also protects the fl->fl_blocked_requests list, and the* fl->fl_blocker pointer for file_lock structures that are acting as lock)
Caller
NameDescribe
locks_unlink_lock_ctx
posix_lock_inode
lease_modifyWe already had a lease on this file; just change its type