函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__state_in_grace

函数原型:static bool __state_in_grace(struct net *net, bool open)

返回类型:bool

参数:

类型参数名称
struct net *net
boolopen
66  grace_list等于net_generic(net, grace_net_id)
69  如果非open则返回:非链表为空
73  如果* NFSv4 and up also want opens blocked during the grace period; * NLM doesn't care:则返回:true
76  返回:false
调用者
名称描述
locks_in_gracelocks_in_grace* Lock managers call this function to determine when it is OK for them* to answer ordinary lock requests, and when they should accept only* lock reclaims.
opens_in_grace