The regs don't make it clear, I'm afraid, they just refer to walls and ceilings without defining any angle that makes a wall a ceiling, or vice versa.  Here are the two pages from the OSG that cover locations: