disk_part_iter_init (9) - Linux Manuals
disk_part_iter_init: initialize partition iterator
NAME
disk_part_iter_init - initialize partition iterator
SYNOPSIS
-
void disk_part_iter_init(struct disk_part_iter
* piter, struct gendisk* disk, unsigned intflags);
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
COPYRIGHT