Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:locks_copy_lock

Proto:void locks_copy_lock(struct file_lock *new, struct file_lock *fl)

Type:void

Parameter:

TypeParameterName
struct file_lock *new
struct file_lock *fl
431  WARN_ON_ONCE( Callbacks for filesystems )
433  Initialize a new lock from an existing file_lock structure.
435  fl_file = fl_file
436  Callbacks for filesystems = Callbacks for filesystems
438  If Callbacks for filesystems Then
439  If fl_copy_lock Then fl_copy_lock(new, fl)
Caller
NameDescribe
flock_lock_inodeTry to create a FLOCK lock on filp
posix_lock_inode