函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\locks.c Create Date:2022-07-29 10:59:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Initialize a new lock from an existing file_lock structure.

函数原型:void locks_copy_conflock(struct file_lock *new, struct file_lock *fl)

返回类型:void

参数:

类型参数名称
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  如果 Callbacks for lockmanagers
422  如果lm_get_ownerlm_get_owner(fl_owner)
调用者
名称描述
locks_copy_lock
posix_test_lock
posix_lock_inode