Passage arrangement for cooling, lubricating and reducing the size of rotary machines