| 函数逻辑报告 | 
| Source Code: block\blk-ioc.c | Create Date:2022-07-27 18:39:43 | 
| Last Modify:2020-03-17 23:16:06 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:_lookup_icq - lookup io_cq from ioc*@ioc: the associated io_context*@q: the associated request_queue* Look up io_cq associated with @ioc - @q pair from @ioc. Must be called* with @q->queue_lock held.
函数原型:struct io_cq *ioc_lookup_icq(struct io_context *ioc, struct request_queue *q)
返回类型:struct io_cq
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct io_context * | ioc | |
| struct request_queue * | q | 
| 329 | lockdep_assert_held( & queue_lock) | 
| 338 | icq等于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().(icq_hint) | 
| 339 | 如果icq且>icq_list and icq->q_node by q lock.恒等于q则转到:out | 
| 345 | 否则icq = NULL | 
| 347 | out : | 
| 349 | 返回:icq | 
| 名称 | 描述 | 
|---|---|
| ioc_create_icq | _create_icq - create and link io_cq*@ioc: io_context of interest*@q: request_queue of interest*@gfp_mask: allocation mask* Make sure io_cq linking @ioc and @q exists | 
| blk_mq_sched_assign_ioc | |
| bfq_bic_lookup | q_bic_lookup - search into @ioc a bic associated to @bfqd.*@bfqd: the lookup key.*@ioc: the io_context of the process doing I/O.*@q: the request queue. | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |