bio_sector_offset
Prev | Other Functions | Next

## Name

bio_sector_offset — Find hardware sector offset in bio

## Synopsis

`sector_t bio_sector_offset (` | struct bio * bio,
| unsigned short index,
| unsigned int offset`)`;

## Arguments

`bio`

  bio to inspect

`index`

  bio_vec index

`offset`

  offset in bv_page

## Description

Return the number of hardware sectors between beginning of bio and an end point indicated by a bio_vec index and an offset within that vector's page.

Prev | Up | Next
bio_trim | Home | bioset_create