函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Check if two locks overlap each other.

函数原型:static inline int locks_overlap(struct file_lock *fl1, struct file_lock *fl2)

返回类型:int

参数:

类型参数名称
struct file_lock *fl1
struct file_lock *fl2
653  返回:fl_end大于等于fl_startfl_end大于等于fl_start
调用者
名称描述
posix_locks_conflictDetermine if lock sys_fl blocks lock caller_fl. POSIX specific* checking before calling the locks_conflict().