Lines Matching refs:part0
312 * because its refcount is grabbed except for part0, which lifetime
316 * Found partition on success, part0 is returned if no partition matches
348 part = &disk->part0;
740 disk->part0.holder_dir = kobject_create_and_add("holders", &ddev->kobj);
794 /* minors == 0 indicates to use ext devt from part0 and should
804 retval = blk_alloc_devt(&disk->part0, &devt);
953 kobject_put(disk->part0.holder_dir);
956 part_stat_set_all(&disk->part0, 0);
957 disk->part0.stamp = 0;
1103 bool is_part0 = part == &disk->part0;
1574 hd_free_part(&disk->part0);
1740 disk->part0.dkstats = alloc_percpu(struct disk_stats);
1741 if (!disk->part0.dkstats)
1747 free_percpu(disk->part0.dkstats);
1752 rcu_assign_pointer(ptbl->part[0], &disk->part0);
1756 * seqcounter to read/update the part0->nr_sects. Still init
1763 hd_sects_seq_init(&disk->part0);
1764 if (hd_ref_init(&disk->part0))
1775 hd_free_part(&disk->part0);
1871 if (disk->part0.policy != flag) {
1873 disk->part0.policy = flag;