Make page_info_t and the page lookup functions more readable

These are all cosmetic changes, no change to the underlying logic/flow.