Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blkg_rwstat_init

Proto:int blkg_rwstat_init(struct blkg_rwstat *rwstat, gfp_t gfp)

Type:int

Parameter:

TypeParameterName
struct blkg_rwstat *rwstat
gfp_tgfp
12  When i < BLKG_RWSTAT_NR cycle
13  ret = percpu_counter_init( & cpu_cnt[i], 0, gfp)
14  If ret Then
15  When --i >= 0 cycle
17  Return ret
19  atomic64_set( & aux_cnt[i], 0)
21  Return 0
Caller
NameDescribe
throtl_pd_alloc