Searched refs:RVT_BITS_PER_PAGE (Results 1 – 2 of 2) sorted by relevance
472 #define RVT_BITS_PER_PAGE (PAGE_SIZE * BITS_PER_BYTE) macro473 #define RVT_BITS_PER_PAGE_MASK (RVT_BITS_PER_PAGE - 1)
307 qpt->nmaps = rdi->dparms.qpn_res_start / RVT_BITS_PER_PAGE; in init_qpn_table()327 if (offset == RVT_BITS_PER_PAGE) { in init_qpn_table()474 return (map - qpt->map) * RVT_BITS_PER_PAGE + off; in mk_qpn()520 map = &qpt->map[qpn / RVT_BITS_PER_PAGE]; in alloc_qpn()541 } while (offset < RVT_BITS_PER_PAGE && qpn < RVT_QPN_MAX); in alloc_qpn()952 map = qpt->map + (qpn & RVT_QPN_MASK) / RVT_BITS_PER_PAGE; in rvt_free_qpn()