Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\nfs_common\grace.c Create Date:2022-07-28 20:30:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__state_in_grace

Proto:static bool __state_in_grace(struct net *net, bool open)

Type:bool

Parameter:

TypeParameterName
struct net *net
boolopen
66  grace_list = net_generic(net, grace_net_id)
69  If Not open Then Return Not list_empty - tests whether a list is empty*@head: the list to test.
73  If * NFSv4 and up also want opens blocked during the grace period; * NLM doesn't care: Then Return true
76  Return false
Caller
NameDescribe
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