Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-28 16:56:39
Last Modify:2020-03-17 23:13:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__bio_associate_blkg - associate a bio with the a blkg*@bio: target bio*@blkg: the blkg to associate* This tries to associate @bio with the specified @blkg. Association failure* is handled by walking up the blkg tree. Therefore, the blkg associated can

Proto:static void __bio_associate_blkg(struct bio *bio, struct blkcg_gq *blkg)

Type:void

Parameter:

TypeParameterName
struct bio *bio
struct blkcg_gq *blkg
2084  _disassociate_blkg - puts back the blkg reference if associated*@bio: target bio* Helper to disassociate the blkg from @bio if a blkg is associated.
2086  * Represents the association of the css and request_queue for the bio. * If a bio goes direct to device, it will not have a blkg as it will * not have a request_queue associated with it. The reference is put * on release of the bio. = lkg_tryget_closest - try and get a blkg ref on the closet blkg*@blkg: blkg to get* This needs to be called rcu protected. As the failure mode here is to walk* up the blkg tree, this ensure that the blkg->parent pointers are always* valid
Caller
NameDescribe
bio_associate_blkg_from_css_associate_blkg_from_css - associate a bio with a specified css*@bio: target bio*@css: target css* Associate @bio with the blkg found by combining the css's blkg and the* request_queue of the @bio. This falls back to the queue's root_blkg if
bio_clone_blkg_association_clone_blkg_association - clone blkg association from src to dst bio*@dst: destination bio*@src: source bio