函数逻辑报告 |
Source Code:block\blk-throttle.c |
Create Date:2022-07-27 19:17:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:hrotl_pop_queued - pop the first bio form a qnode list*@queued: the qnode list to pop a bio from*@tg_to_put: optional out argument for throtl_grp to put* Pop the first bio from the qnode list @queued
函数原型:static struct bio *throtl_pop_queued(struct list_head *queued, struct throtl_grp **tg_to_put)
返回类型:struct bio
参数:
类型 | 参数 | 名称 |
---|---|---|
struct list_head * | queued | |
struct throtl_grp ** | tg_to_put |
457 | 如果链表为空则返回:NULL |
460 | bio等于bio_list_pop( & queued bios ) |
461 | WARN_ON_ONCE(!bio) |
463 | 如果bio_list_empty( & queued bios )则 |
464 | 删除链表项并重新初始化 |
469 | 否则 |
470 | 链表项移动到尾部 |
473 | 返回:bio |
名称 | 描述 |
---|---|
tg_dispatch_one_bio | |
blk_throtl_dispatch_work_fn | lk_throtl_dispatch_work_fn - work function for throtl_data->dispatch_work*@work: work item being executed* This function is queued for execution when bio's reach the bio_lists[]* of throtl_data->service_queue. Those bio's are ready and issued by this |
blk_throtl_drain | lk_throtl_drain - drain throttled bios*@q: request_queue to drain throttled bios for* Dispatch all currently throttled bios on @q through ->make_request_fn(). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |