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.