Lines Matching full:part0
61 bdev_set_nr_sectors(disk->part0, sectors); in set_capacity()
360 ret = bd_prepare_to_claim(disk->part0, disk_scan_partitions, in disk_scan_partitions()
381 bd_abort_claiming(disk->part0, disk_scan_partitions); in disk_scan_partitions()
414 disk->part0->bd_has_submit_bio = disk->fops->submit_bio != NULL; in device_add_disk()
476 disk->part0->bd_holder_dir = in device_add_disk()
478 if (!disk->part0->bd_holder_dir) { in device_add_disk()
507 bdev_add(disk->part0, ddev->devt); in device_add_disk()
523 disk->part0->bd_dev = MKDEV(disk->major, disk->first_minor); in device_add_disk()
541 kobject_put(disk->part0->bd_holder_dir); in device_add_disk()
680 kobject_put(disk->part0->bd_holder_dir); in del_gendisk()
684 part_stat_set_all(disk->part0, 0); in del_gendisk()
685 disk->part0->bd_stamp = 0; in del_gendisk()
732 struct block_device *bdev = disk->part0; in invalidate_disk()
1017 return sprintf(buf, "%d\n", bdev_alignment_offset(disk->part0)); in disk_alignment_offset_show()
1026 return sprintf(buf, "%d\n", bdev_alignment_offset(disk->part0)); in disk_discard_alignment_show()
1189 iput(disk->part0->bd_inode); /* frees the disk */ in disk_release()
1349 disk->part0 = bdev_alloc(disk, 0); in __alloc_disk_node()
1350 if (!disk->part0) in __alloc_disk_node()
1356 if (xa_insert(&disk->part_tbl, 0, disk->part0, GFP_KERNEL)) in __alloc_disk_node()
1378 disk->part0->bd_disk = NULL; in __alloc_disk_node()
1379 iput(disk->part0->bd_inode); in __alloc_disk_node()