函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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
注解内核,赢得工具下载SCCTEnglish

函数名称: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_tsize
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