Lines Matching full:part0
309 * because its refcount is grabbed except for part0, which lifetime
313 * Found partition on success, part0 is returned if no partition matches
345 part = &disk->part0; in disk_map_sector_rcu()
729 disk->part0.holder_dir = kobject_create_and_add("holders", &ddev->kobj); in register_disk()
785 /* minors == 0 indicates to use ext devt from part0 and should in __device_add_disk()
795 retval = blk_alloc_devt(&disk->part0, &devt); in __device_add_disk()
944 kobject_put(disk->part0.holder_dir); in del_gendisk()
947 part_stat_set_all(&disk->part0, 0); in del_gendisk()
948 disk->part0.stamp = 0; in del_gendisk()
1094 bool is_part0 = part == &disk->part0; in printk_all_partitions()
1564 hd_free_part(&disk->part0); in disk_release()
1730 disk->part0.dkstats = alloc_percpu(struct disk_stats); in __alloc_disk_node()
1731 if (!disk->part0.dkstats) in __alloc_disk_node()
1737 free_percpu(disk->part0.dkstats); in __alloc_disk_node()
1742 rcu_assign_pointer(ptbl->part[0], &disk->part0); in __alloc_disk_node()
1746 * seqcounter to read/update the part0->nr_sects. Still init in __alloc_disk_node()
1753 hd_sects_seq_init(&disk->part0); in __alloc_disk_node()
1754 if (hd_ref_init(&disk->part0)) in __alloc_disk_node()
1765 hd_free_part(&disk->part0); in __alloc_disk_node()
1861 if (disk->part0.policy != flag) { in set_disk_ro()
1863 disk->part0.policy = flag; in set_disk_ro()