Searched refs:BITS_PER_PAGE (Results 1 – 2 of 2) sorted by relevance
42 #define BITS_PER_PAGE (PAGE_SIZE*BITS_PER_BYTE) macro43 #define BITS_PER_PAGE_MASK (BITS_PER_PAGE-1)44 #define mk_qpn(qpt, map, off) (((map) - (qpt)->map) * BITS_PER_PAGE + \47 BITS_PER_PAGE, off)136 map = &qpt->map[qpn / BITS_PER_PAGE]; in alloc_qpn()162 } while (offset < BITS_PER_PAGE && qpn < QPN_MAX); in alloc_qpn()194 map = qpt->map + qpn / BITS_PER_PAGE; in free_qpn()1038 atomic_set(&idev->qp_table.map[i].n_free, BITS_PER_PAGE); in ipath_init_qp_table()
482 #ifndef BITS_PER_PAGE483 #define BITS_PER_PAGE (1UL << (PAGE_SHIFT + 3)) macro484 #define BITS_PER_PAGE_MASK (BITS_PER_PAGE - 1)486 # if BITS_PER_PAGE != (1UL << (PAGE_SHIFT + 3))