函数逻辑报告

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

函数名称:time_out_leases

函数原型:static void time_out_leases(struct inode *inode, struct list_head *dispose)

返回类型:void

参数:

类型参数名称
struct inode *inode
struct list_head *dispose
1517  ctx等于i_flctx
1520  lockdep_assert_held( & flc_lock)
1523  trace_time_out_leases(inode, fl)
1524  如果past_time(fl_downgrade_time)则We already had a lease on this file; just change its type
1526  如果past_time( for lease breaks: )则We already had a lease on this file; just change its type
调用者
名称描述
__break_lease撤销所有未偿还的文件
fcntl_getlease获取当前文件租约
generic_add_lease