函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:locks_start_grace*@net: net namespace that this lock manager belongs to*@lm: who this grace period is for* A grace period is a period during which locks should not be given* out
函数原型:void locks_start_grace(struct net *net, struct lock_manager *lm)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct net * | net | |
struct lock_manager * | lm |
31 | grace_list等于net_generic(net, grace_net_id) |
33 | 加自旋锁 |
36 | 否则WARN(1, "double list_add attempt detected in net %x %s\n", inum, (net == & init_net) ? "(init_net)" : "") |
39 | 自旋锁解锁 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |