Function report |
Source Code:include\linux\genhd.h |
Create Date:2022-07-28 05:44:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static inline void part_nr_sects_write(struct hd_struct *part, sector_t size)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 |
| Name | Describe |
|---|---|
| blkpg_ioctl |
| 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 |