Lines Matching refs:disk
307 num_sects = get_capacity(state->disk); in ldm_validate_privheads()
546 if (uuid_equal(&v->vblk.disk.disk_id, &ldb->ph.disk_id)) in ldm_get_disk_objid()
575 struct vblk *disk; in ldm_create_data_partitions() local
581 disk = ldm_get_disk_objid (ldb); in ldm_create_data_partitions()
582 if (!disk) { in ldm_create_data_partitions()
594 if (part->disk_id != disk->obj_id) in ldm_create_data_partitions()
852 struct vblk_disk *disk; in ldm_parse_dsk3() local
868 disk = &vb->vblk.disk; in ldm_parse_dsk3()
869 ldm_get_vstr (buffer + 0x18 + r_diskid, disk->alt_name, in ldm_parse_dsk3()
870 sizeof (disk->alt_name)); in ldm_parse_dsk3()
871 if (uuid_parse(buffer + 0x19 + r_name, &disk->disk_id)) in ldm_parse_dsk3()
891 struct vblk_disk *disk; in ldm_parse_dsk4() local
905 disk = &vb->vblk.disk; in ldm_parse_dsk4()
906 import_uuid(&disk->disk_id, buffer + 0x18 + r_name); in ldm_parse_dsk4()