disk_part_iter_init
Prev | Chapter 14. Block Devices | Next

## Name

disk_part_iter_init — initialize partition iterator

## Synopsis

`void disk_part_iter_init (` | struct disk_part_iter * piter,
| struct gendisk * disk,
| unsigned int flags`)`;

## Arguments

`piter`

  iterator to initialize

`disk`

  disk to iterate over

`flags`

  DISK_PITER_* flags

## Description

Initialize `piter` so that it iterates over partitions of `disk`.

## CONTEXT

Don't care.

Prev | Up | Next
disk_get_part | Home | disk_part_iter_next