Lines Matching refs:part
377 num_sects = hd->part[(first_minor >> hd->minor_shift) in ldm_validate_privheads()
638 BUG_ON (!hd->part); in ldm_create_partition()
643 if ((start < 1) || ((start + size) > hd->part[disk_minor].nr_sects)) { in ldm_create_partition()
673 struct vblk_part *part; in ldm_create_data_partitions() local
697 part = &vb->vblk.part; in ldm_create_data_partitions()
699 if (part->disk_id != disk->obj_id) in ldm_create_data_partitions()
703 part->start + ldb->ph.logical_disk_start, part->size)) in ldm_create_data_partitions()
1037 struct vblk_part *part; in ldm_parse_prt3() local
1062 part = &vb->vblk.part; in ldm_parse_prt3()
1063 part->start = BE64 (buffer + 0x24 + r_name); in ldm_parse_prt3()
1064 part->volume_offset = BE64 (buffer + 0x2C + r_name); in ldm_parse_prt3()
1065 part->size = ldm_get_vnum (buffer + 0x34 + r_name); in ldm_parse_prt3()
1066 part->parent_id = ldm_get_vnum (buffer + 0x34 + r_size); in ldm_parse_prt3()
1067 part->disk_id = ldm_get_vnum (buffer + 0x34 + r_parent); in ldm_parse_prt3()
1069 part->partnum = buffer[0x35 + r_diskid]; in ldm_parse_prt3()
1071 part->partnum = 0; in ldm_parse_prt3()
1251 if ((v->vblk.part.disk_id == vb->vblk.part.disk_id) && in ldm_ldmdb_add()
1252 (v->vblk.part.start > vb->vblk.part.start)) { in ldm_ldmdb_add()