partition_resources
rc = partition_resources(sc);
static int partition_resources(struct adapter *sc);