Water movement between the intracellular fluid compartment and the extracellular compartment is primarily a function of?

Water movement between the intracellular fluid compartment and the extracellular compartment is primarily a function of?