Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ioc_cpd_alloc

Proto:static struct blkcg_policy_data *ioc_cpd_alloc(gfp_t gfp)

Type:struct blkcg_policy_data

Parameter:

TypeParameterName
gfp_tgfp
1963  iocc = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
1964  If Not iocc Then Return NULL
1967  dfl_weight = CGROUP_WEIGHT_DFL
1968  Return cpd