VIR_PAGE_INDEX_MAX
(fn * 2 * VIR_PAGE_INDEX_MAX + \
rn * VIR_PAGE_INDEX_MAX) + id)
#define VIR_PAGE_INDEX_VALID(n) (n < VIR_PAGE_INDEX_MAX)