函数逻辑报告 | 
Source Code:include\linux\genhd.h | 
Create Date:2022-07-27 06:45:35 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Should be called with mutex lock held (typically bd_mutex) of partition* to provide mutual exlusion among writers otherwise seqcount might be* left in wrong state leaving the readers spinning infinitely.
函数原型:static inline void part_nr_sects_write(struct hd_struct *part, sector_t size)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct hd_struct * | part | |
| sector_t | size | 
| 774 | * nr_sects is protected by sequence counter. One might extend a * partition while IO is happening to it and update of nr_sects * can be non-atomic on 32bit machines with 64bit sector_t.等于size | 
| 名称 | 描述 | 
|---|---|
| blkpg_ioctl | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |