bio_clone_bioset
Prev | Other Functions | Next

## Name

bio_clone_bioset — clone a bio

## Synopsis

`struct bio * bio_clone_bioset (` | struct bio * bio_src,
| gfp_t gfp_mask,
| struct bio_set * bs`)`;

## Arguments

`bio_src`

  bio to clone

`gfp_mask`

  allocation priority

`bs`

  bio_set to allocate from

## 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.

Prev | Up | Next
bio_clone_fast | Home | bio_add_pc_page