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_insert_lock_ctx

Proto:static void locks_insert_lock_ctx(struct file_lock *fl, struct list_head *before)

Type:void

Parameter:

TypeParameterName
struct file_lock *fl
struct list_head *before
857  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
858  Must be called with the flc_lock held!
Caller
NameDescribe
flock_lock_inodeTry to create a FLOCK lock on filp
posix_lock_inode
generic_add_lease