A little quire on shared memory.

My GPU has 48 KB shared memory per SMX. If two thread blocks are executed simultaneously in a SMX, will the 48 KB divided equally and have 24 KB per thread block? What if I increase the the number of thread blocks?