函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:leases_conflict

函数原型:static bool leases_conflict(struct file_lock *lease, struct file_lock *breaker)

返回类型:bool

参数:

类型参数名称
struct file_lock *lease
struct file_lock *breaker
1535  如果fl_flags按位与utstanding pNFS layout 的值不等于fl_flags按位与utstanding pNFS layout 的值则
1536  rc = false
1537  转到:trace
1539  如果fl_flags按位与NFSv4 delegation fl_flags按位与lease held on this file
1540  rc = false
1541  转到:trace
1544  rc等于Determine if lock sys_fl blocks lock caller_fl. Common functionality* checks for shared/exclusive status of overlapping locks.
1545  trace :
1546  trace_leases_conflict(rc, lease, breaker)
1547  返回:rc
调用者
名称描述
any_leases_conflict
__break_lease撤销所有未偿还的文件