What does ‘joint’ mean?

( n ) A marijuana cigarette. He is good at rolling joints.
( n ) An opium den. Where is the closest joint to here.
( n ) Jail or prison. He claims that he did time in the joint.
( n ) A prison, jail. When he got out of the joint, he went legit.
( n ) A questionable establishment. He took her to a joint he wouldn’t want his mother to even know about.