| Function report | 
| Source Code: block\blk-throttle.c | Create Date:2022-07-28 17:42:01 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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
Proto:static struct bio *throtl_pop_queued(struct list_head *queued, struct throtl_grp **tg_to_put)
Type:struct bio
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct list_head * | queued | |
| struct throtl_grp ** | tg_to_put | 
| 457 | If list_empty - tests whether a list is empty*@head: the list to test. Then Return NULL | 
| 460 | bio = bio_list_pop( & queued bios ) | 
| 461 | WARN_ON_ONCE(!bio) | 
| 463 | If bio_list_empty( & queued bios ) Then | 
| 465 | If tg_to_put Then tg_to_put = g this qnode belongs to | 
| 469 | Else | 
| 473 | Return bio | 
| Name | Describe | 
|---|---|
| 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(). | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |