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:Initialize a new lock from an existing file_lock structure.

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

Type:void

Parameter:

TypeParameterName
struct file_lock *new
struct file_lock *fl
411  fl_owner = fl_owner
412  fl_pid = fl_pid
413  fl_file = NULL
414  fl_flags = fl_flags
415  fl_type = fl_type
416  fl_start = fl_start
417  fl_end = fl_end
418  Callbacks for lockmanagers = Callbacks for lockmanagers
419  Callbacks for filesystems = NULL
421  If Callbacks for lockmanagers Then
422  If lm_get_owner Then lm_get_owner(fl_owner)
Caller
NameDescribe
locks_copy_lock
posix_test_lock
posix_lock_inode