函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\partition-generic.c Create Date:2022-07-27 18:56:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:delete_partition_work_fn

函数原型:static void delete_partition_work_fn(struct work_struct *work)

返回类型:void

参数:

类型参数名称
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))