Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\genhd.h Create Date:2022-07-28 05:44:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hd_struct_try_get

Proto:static inline int hd_struct_try_get(struct hd_struct *part)

Type:int

Parameter:

TypeParameterName
struct hd_struct *part
707  Return percpu_ref_tryget_live - try to increment a live percpu refcount*@ref: percpu_ref to try-get* Increment a percpu refcount unless it has already been killed
Caller
NameDescribe
blk_account_io_start