shared memory question

If shared memory is 16 kb then each and every block of SM has 16 kb or all the blocks in SM has access to this common 16 kb . pls clarify…
thanks

Each SM has 16kB of shared memory. All of the blocks running on an SM share this 16kB.