函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blk-cgroup.h Create Date:2022-07-27 06:56:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:css_to_blkcg

函数原型:static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css)

返回类型:struct blkcg

参数:

类型参数名称
struct cgroup_subsys_state *css
239  返回:css ? 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.(css, structblkcg, css) : NULL
调用者
名称描述
bio_associate_blkg_from_css_associate_blkg_from_css - associate a bio with a specified css*@bio: target bio*@css: target css* Associate @bio with the blkg found by combining the css's blkg and the* request_queue of the @bio. This falls back to the queue's root_blkg if
blkcg_reset_stats
blkcg_print_stat
blkcg_css_offlinelkcg_css_offline - cgroup css_offline callback*@css: css of interest* This function is called when @css is about to go away. Here the cgwbs are* offlined first and only once writeback associated with the blkcg has* finished do we start step 2 (see above).
blkcg_css_free
blkcg_rstat_flush
blkcg_maybe_throttle_currentlkcg_maybe_throttle_current - throttle the current task if it has been marked* This is only called if we've been marked with set_notify_resume()
tg_print_conf_u64
tg_print_conf_uint
tg_set_conf
tg_print_rwstat
tg_print_rwstat_recursive
tg_print_limit
tg_set_limit
iolatency_set_limit
iolatency_print_limit
ioc_weight_show
ioc_weight_write
ioc_qos_show
ioc_cost_model_show
__bio_blkcg__bio_blkcg - internal, inconsistent version to get blkcg* DO NOT USE.* This function is inconsistent and consequently is dangerous to use. The* first part of the function returns a blkcg where a reference is owned by the* bio
blkcg_parentlkcg_parent - get the parent of a blkcg*@blkcg: blkcg of interest* Return the parent blkcg of @blkcg. Can be called anytime.