Home
last modified time | relevance | path

Searched refs:GENHD_FL_HIDDEN (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/block/
H A Dgenhd.c83 (disk->flags & GENHD_FL_HIDDEN)) in set_capacity_and_notify()
454 if (!(disk->flags & GENHD_FL_HIDDEN)) in device_add_disk()
492 if (!(disk->flags & GENHD_FL_HIDDEN)) { in device_add_disk()
532 if (!(disk->flags & GENHD_FL_HIDDEN)) in device_add_disk()
639 if (WARN_ON_ONCE(!disk_live(disk) && !(disk->flags & GENHD_FL_HIDDEN))) in del_gendisk()
668 if (!(disk->flags & GENHD_FL_HIDDEN)) { in del_gendisk()
862 if (!get_capacity(sgp) || (sgp->flags & GENHD_FL_HIDDEN)) in show_partition()
935 (disk->flags & GENHD_FL_HIDDEN ? 1 : 0)); in disk_hidden_show()
H A Dearly-lookup.c288 if (get_capacity(disk) == 0 || (disk->flags & GENHD_FL_HIDDEN)) in printk_all_partitions()
/openbmc/linux/include/linux/
H A Dblkdev.h86 GENHD_FL_HIDDEN = 1 << 1, enumerator
241 return !(disk->flags & (GENHD_FL_NO_PART | GENHD_FL_HIDDEN)) && in disk_has_partscan()
/openbmc/linux/drivers/nvme/host/
H A Dcore.c1999 ns->head->disk->flags |= GENHD_FL_HIDDEN; in nvme_update_ns_info_generic()
2004 ns->disk->flags |= GENHD_FL_HIDDEN; in nvme_update_ns_info_generic()
2085 ns->disk->flags |= GENHD_FL_HIDDEN; in nvme_update_ns_info_block()
3651 disk->flags |= GENHD_FL_HIDDEN; in nvme_alloc_ns()