Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_clone_blkg_association - clone blkg association from src to dst bio*@dst: destination bio*@src: source bio

Proto:void bio_clone_blkg_association(struct bio *dst, struct bio *src)

Type:void

Parameter:

TypeParameterName
struct bio *dst
struct bio *src
2176  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
2178  If * 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. Then __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
2181  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
Caller
NameDescribe
__bio_clone_fast__bio_clone_fast - clone a bio that shares the original bio's biovec*@bio: destination bio*@bio_src: bio to clone* Clone a &bio. Caller will own the returned bio, but not* the actual data it points to. Reference count of returned* bio will be one.
bounce_clone_bio