---
name: "bio_add_page"
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_add_page"
---

# bio\_add\_page(9)

attempt to add page to bio

## NAME

bio\_add\_page - attempt to add page to bio

## SYNOPSIS

**int bio\_add\_page(struct bio \*** *bio***, struct page \*** *page***, unsigned int** *len***, unsigned int** *offset***);**

## ARGUMENTS

*bio*

destination bio

*page*

page to add

*len*

vec entry length

*offset*

vec entry offset

## DESCRIPTION

Attempt to add a page to the bio\_vec maplist. This will only fail if either bio-\>bi\_vcnt == bio-\>bi\_max\_vecs or it's a cloned bio.

## COPYRIGHT
