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:locks_delete_lock_ctx

Proto:static void locks_delete_lock_ctx(struct file_lock *fl, struct list_head *dispose)

Type:void

Parameter:

TypeParameterName
struct file_lock *fl
struct list_head *dispose
872  locks_unlink_lock_ctx(fl)
873  If dispose Then list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
875  Else Free a lock which is not in use.
Caller
NameDescribe
flock_lock_inodeTry to create a FLOCK lock on filp
posix_lock_inode
lease_modifyWe already had a lease on this file; just change its type
__break_leaserevoke all outstanding leases on file