函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lkg_conf_prep - parse and prepare for per-blkg config update*@inputp: input string pointer* Parse the device node prefix part, MAJ:MIN, of per-blkg config update* from @input and get and return the matching gendisk. *@inputp is

函数原型:struct gendisk *blkcg_conf_get_disk(char **inputp)

返回类型:struct gendisk

参数:

类型参数名称
char **inputp
590  input等于inputp
595  如果sscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: formatting of buffer*@...: resulting arguments不等于2则返回:错误号
598  input加等于key_len
599  如果非Note: isspace() must return false for %NUL-terminator ( * input)则返回:错误号
601  input等于字符串删除空格
603  disk等于get_gendisk - get partitioning information for a given device*@devt: device to get partitioning information for*@partno: returned partition index* This function gets the structure containing partitioning* information for the given device @devt.
604  如果非disk则返回:错误号
606  如果part
607  This is a counterpart of get_disk_and_module() and thus also of* get_gendisk().
608  返回:错误号
611  inputp等于input
612  返回:disk
调用者
名称描述
blkg_conf_preplkg_conf_prep - parse and prepare for per-blkg config update*@blkcg: target block cgroup*@pol: target policy*@input: input string*@ctx: blkg_conf_ctx to be filled* Parse per-blkg config update from @input and initialize @ctx with the* result
ioc_qos_write
ioc_cost_model_write