Name
bio_clone_bioset_partial —
clone a partial bio
Synopsis
struct bio * bio_clone_bioset_partial ( | struct bio * bio_src, |
| gfp_t gfp_mask, |
| struct bio_set * bs, |
| int offset, |
| int size) ; |
Arguments
struct bio * bio_src
bio to clone
gfp_t gfp_mask
allocation priority
struct bio_set * bs
bio_set to allocate from
int offset
cloned starting from the offset
int size
size for the cloned bio
Description
Clone bio. Caller will own the returned bio, but not the actual data it
points to. Reference count of returned bio will be one.