References in this title and in Title 5 (commencing with Section 4500) to prisons refer to all facilities, camps, hospitals and institutions for the confinement, treatment, employment, training and discipline of persons in the legal custody of the Department of Corrections.