Searched refs:sgp (Results 1 – 1 of 1) sorted by relevance
1175 struct gendisk *sgp = v; in show_partition() local1181 if (!get_capacity(sgp) || (!disk_max_parts(sgp) && in show_partition()1182 (sgp->flags & GENHD_FL_REMOVABLE))) in show_partition()1184 if (sgp->flags & GENHD_FL_SUPPRESS_PARTITION_INFO) in show_partition()1188 disk_part_iter_init(&piter, sgp, DISK_PITER_INCL_PART0); in show_partition()1193 disk_name(sgp, part->partno, buf)); in show_partition()