函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Determine if lock sys_fl blocks lock caller_fl. POSIX specific* checking before calling the locks_conflict().

函数原型:static bool posix_locks_conflict(struct file_lock *caller_fl, struct file_lock *sys_fl)

返回类型:bool

参数:

类型参数名称
struct file_lock *caller_fl
struct file_lock *sys_fl
901  如果Check whether two locks have the same owner.则返回:false
905  如果非Check if two locks overlap each other.则返回:false
908  返回:Determine if lock sys_fl blocks lock caller_fl. Common functionality* checks for shared/exclusive status of overlapping locks.
调用者
名称描述
posix_test_lock
posix_lock_inode