checkoverlap
int checkoverlap(struct disk_partitions *parts);
if (checkoverlap(parts) != 0) {
if (checkoverlap(pm->parts)) {