Home
last modified time | relevance | path

Searched refs:RVT_BITS_PER_PAGE (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_qp.c47 return (map - qpt->map) * RVT_BITS_PER_PAGE + off; in mk_qpn()
59 off = find_next_zero_bit(map->page, RVT_BITS_PER_PAGE, off); in find_next_offset()
158 map = &qpt->map[qpn / RVT_BITS_PER_PAGE]; in qib_alloc_qpn()
183 } while (offset < RVT_BITS_PER_PAGE && qpn < RVT_QPN_MAX); in qib_alloc_qpn()
/linux-6.6.21/include/rdma/
Drdmavt_qp.h471 #define RVT_BITS_PER_PAGE (PAGE_SIZE * BITS_PER_BYTE) macro
472 #define RVT_BITS_PER_PAGE_MASK (RVT_BITS_PER_PAGE - 1)
/linux-6.6.21/drivers/infiniband/sw/rdmavt/
Dqp.c309 qpt->nmaps = rdi->dparms.qpn_res_start / RVT_BITS_PER_PAGE; in init_qpn_table()
329 if (offset == RVT_BITS_PER_PAGE) { in init_qpn_table()
476 return (map - qpt->map) * RVT_BITS_PER_PAGE + off; in mk_qpn()
521 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()
955 map = qpt->map + (qpn & RVT_QPN_MASK) / RVT_BITS_PER_PAGE; in rvt_free_qpn()