GENHD_FL_HIDDEN
if (get_capacity(disk) == 0 || (disk->flags & GENHD_FL_HIDDEN))
(disk->flags & GENHD_FL_HIDDEN ? 1 : 0));
if (!(disk->flags & GENHD_FL_HIDDEN)) {
if (!(disk->flags & GENHD_FL_HIDDEN))
if (!(disk->flags & GENHD_FL_HIDDEN)) {
if (!(disk->flags & GENHD_FL_HIDDEN))
if (WARN_ON_ONCE(!disk_live(disk) && !(disk->flags & GENHD_FL_HIDDEN)))
if (!(disk->flags & GENHD_FL_HIDDEN)) {
(disk->flags & GENHD_FL_HIDDEN))
if (!get_capacity(sgp) || (sgp->flags & GENHD_FL_HIDDEN))
ns->disk->flags |= GENHD_FL_HIDDEN;
ns->head->disk->flags |= GENHD_FL_HIDDEN;
disk->flags |= GENHD_FL_HIDDEN;
return !(disk->flags & (GENHD_FL_NO_PART | GENHD_FL_HIDDEN)) &&