---
name: "bio_clone_bioset"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/bio_clone_bioset"
---

# bio\_clone\_bioset(9)

clone a bio

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

## COPYRIGHT
