函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-throttle.c Create Date:2022-07-27 19:17:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hrotl_qnode_add_bio - add a bio to a throtl_qnode and activate it*@bio: bio being added*@qn: qnode to add bio to*@queued: the service_queue->queued[] list @qn belongs to* Add @bio to @qn and put @qn on @queued if it's not already on.

函数原型:static void throtl_qnode_add_bio(struct bio *bio, struct throtl_qnode *qn, struct list_head *queued)

返回类型:void

参数:

类型参数名称
struct bio *bio
struct throtl_qnode *qn
struct list_head *queued
413  bio_list_add( & queued bios , bio)
414  如果链表为空
415  添加链表项
416  lkg_get - get a blkg reference*@blkg: blkg to get* The caller should be holding an existing reference.
调用者
名称描述
throtl_add_bio_tghrotl_add_bio_tg - add a bio to the specified throtl_grp*@bio: bio to add*@qn: qnode to use*@tg: the target throtl_grp* Add @bio to @tg's service_queue using @qn. If @qn is not specified,
tg_dispatch_one_bio