函数逻辑报告 |
Source Code:block\blk-cgroup.c |
Create Date:2022-07-27 19:15:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__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
函数原型:struct blkcg_gq *__blkg_lookup_create(struct blkcg *blkcg, struct request_queue *q)
返回类型:struct blkcg_gq
参数:
类型 | 参数 | 名称 |
---|---|---|
struct blkcg * | blkcg | |
struct request_queue * | q |
336 | WARN_ON_ONCE(!_read_lock_held() - might we be in RCU read-side critical section?* If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an RCU* read-side critical section) |
337 | lockdep_assert_held( & queue_lock) |
348 | 当(true)循环 |
350 | parent等于lkcg_parent - get the parent of a blkcg*@blkcg: blkcg of interest* Return the parent blkcg of @blkcg. Can be called anytime. |
355 | 如果blkg则 |
名称 | 描述 |
---|---|
blkg_lookup_create | lkg_lookup_create - find or create a blkg*@blkcg: target block cgroup*@q: target request_queue* This looks up or creates the blkg representing the unique pair* of the blkcg and the request_queue. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |