函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:setlease_notifier

函数原型:static inline void setlease_notifier(long arg, struct file_lock *lease)

返回类型:void

参数:

类型参数名称
longarg
struct file_lock *lease
2013  如果arg不等于F_UNLCKsrcu_notifier_call_chain( & Kernel subsystems can register to be notified on any attempt to set* a new lease with the lease_notifier_chain. This is used by (e.g.) nfsd* to close files that it may have cached when there is an attempt to set a* conflicting lease., arg, lease)
调用者
名称描述
vfs_setleasevfs_setlease - sets a lease on an open file*@filp: file pointer*@arg: type of lease to obtain*@lease: file_lock to use when adding a lease*@priv: private info for lm_setup when adding a lease (may be* NULL if lm_setup doesn't require it)