allocate_partition
int allocate_partition(struct disklabel *, struct space_allocation *);
if (allocate_partition(lp, &sa[i])) {