函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__blkg_lookup - internal version of blkg_lookup()*@blkcg: blkcg of interest*@q: request_queue of interest*@update_hint: whether to update lookup hint with the result or not* This is internal version and shouldn't be used by policy* implementations
函数原型:static inline struct blkcg_gq *__blkg_lookup(struct blkcg *blkcg, struct request_queue *q, bool update_hint)
返回类型:struct blkcg_gq
参数:
类型 | 参数 | 名称 |
---|---|---|
struct blkcg * | blkcg | |
struct request_queue * | q | |
bool | update_hint |
342 | 如果blkcg恒等于blkcg_root则返回:root_blkg |
345 | blkg等于cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(blkg_hint) |
346 | 如果blkg且 Pointer to the associated request_queue 恒等于q则返回:blkg |
349 | 返回:blkg_lookup_slowpath(blkcg, q, update_hint) |
名称 | 描述 |
---|---|
blkg_create | If @new_blkg is %NULL, this function tries to allocate a new one as* necessary using %GFP_NOWAIT. @new_blkg is always consumed on return. |
__blkg_lookup_create | __blkg_lookup_create - lookup blkg, try to create one if not there*@blkcg: blkcg of interest*@q: request_queue of interest* Lookup blkg for the @blkcg - @q pair. If it doesn't exist, try to* create one |
blkg_lookup_check | Performs queue bypass and policy enabled checks then looks up blkg. |
blkg_conf_prep | lkg_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 |
blkg_lookup | lkg_lookup - lookup blkg for the specified blkcg - q pair*@blkcg: blkcg of interest*@q: request_queue of interest* Lookup blkg for the @blkcg - @q pair. This function should be called* under RCU read lock. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |