| Function report | 
| 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 activity | Download SCCT | Chinese | 
Name:__state_in_grace
Proto:static bool __state_in_grace(struct net *net, bool open)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct net * | net | |
| bool | open | 
| 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 | 
| Name | Describe | 
|---|---|
| locks_in_grace | locks_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 | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |