Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\partition-generic.c Create Date:2022-07-28 17:20:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:delete_partition_work_fn

Proto:static void delete_partition_work_fn(struct work_struct *work)

Type:void

Parameter:

TypeParameterName
struct work_struct *work
253  part = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(to_rcu_work(work), structhd_struct, rcu_work)
256  start_sect = 0
257  * 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. = 0
258  part_stat_set_all(part, 0)
259  put_device(part_to_dev(part))