qpt 787 drivers/infiniband/hw/hfi1/trace_tx.h __field(u32, qpt) qpt 799 drivers/infiniband/hw/hfi1/trace_tx.h __entry->qpt = qp->ibqp.qp_type; qpt 810 drivers/infiniband/hw/hfi1/trace_tx.h __entry->qpt, qpt 843 drivers/infiniband/hw/mlx4/mlx4_ib.h enum ib_qp_type qpt, struct ib_wc *wc, qpt 3386 drivers/infiniband/hw/mlx4/qp.c enum mlx4_ib_qp_type qpt) qpt 3399 drivers/infiniband/hw/mlx4/qp.c if (qpt == MLX4_IB_QPT_PROXY_GSI) qpt 1869 drivers/infiniband/hw/mlx5/qp.c enum ib_qp_type qpt = init_attr->qp_type; qpt 1873 drivers/infiniband/hw/mlx5/qp.c if (qpt == IB_QPT_UC || qpt == IB_QPT_UD) qpt 44 drivers/infiniband/hw/qib/qib_qp.c static inline unsigned mk_qpn(struct rvt_qpn_table *qpt, qpt 47 drivers/infiniband/hw/qib/qib_qp.c return (map - qpt->map) * RVT_BITS_PER_PAGE + off; qpt 50 drivers/infiniband/hw/qib/qib_qp.c static inline unsigned find_next_offset(struct rvt_qpn_table *qpt, qpt 107 drivers/infiniband/hw/qib/qib_qp.c static void get_map_page(struct rvt_qpn_table *qpt, struct rvt_qpn_map *map) qpt 115 drivers/infiniband/hw/qib/qib_qp.c spin_lock(&qpt->lock); qpt 120 drivers/infiniband/hw/qib/qib_qp.c spin_unlock(&qpt->lock); qpt 127 drivers/infiniband/hw/qib/qib_qp.c int qib_alloc_qpn(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt, qpt 143 drivers/infiniband/hw/qib/qib_qp.c spin_lock(&qpt->lock); qpt 144 drivers/infiniband/hw/qib/qib_qp.c if (qpt->flags & n) qpt 147 drivers/infiniband/hw/qib/qib_qp.c qpt->flags |= n; qpt 148 drivers/infiniband/hw/qib/qib_qp.c spin_unlock(&qpt->lock); qpt 152 drivers/infiniband/hw/qib/qib_qp.c qpn = qpt->last + 2; qpt 158 drivers/infiniband/hw/qib/qib_qp.c map = &qpt->map[qpn / RVT_BITS_PER_PAGE]; qpt 159 drivers/infiniband/hw/qib/qib_qp.c max_scan = qpt->nmaps - !offset; qpt 162 drivers/infiniband/hw/qib/qib_qp.c get_map_page(qpt, map); qpt 168 drivers/infiniband/hw/qib/qib_qp.c qpt->last = qpn; qpt 172 drivers/infiniband/hw/qib/qib_qp.c offset = find_next_offset(qpt, map, offset, qpt 174 drivers/infiniband/hw/qib/qib_qp.c qpn = mk_qpn(qpt, map, offset); qpt 190 drivers/infiniband/hw/qib/qib_qp.c if (qpt->nmaps == RVT_QPNMAP_ENTRIES) qpt 192 drivers/infiniband/hw/qib/qib_qp.c map = &qpt->map[qpt->nmaps++]; qpt 194 drivers/infiniband/hw/qib/qib_qp.c } else if (map < &qpt->map[qpt->nmaps]) { qpt 198 drivers/infiniband/hw/qib/qib_qp.c map = &qpt->map[0]; qpt 201 drivers/infiniband/hw/qib/qib_qp.c qpn = mk_qpn(qpt, map, offset); qpt 277 drivers/infiniband/hw/qib/qib_verbs.h int qib_alloc_qpn(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt, qpt 307 drivers/infiniband/sw/rdmavt/qp.c static void get_map_page(struct rvt_qpn_table *qpt, qpt 316 drivers/infiniband/sw/rdmavt/qp.c spin_lock(&qpt->lock); qpt 321 drivers/infiniband/sw/rdmavt/qp.c spin_unlock(&qpt->lock); qpt 328 drivers/infiniband/sw/rdmavt/qp.c static int init_qpn_table(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt) qpt 337 drivers/infiniband/sw/rdmavt/qp.c spin_lock_init(&qpt->lock); qpt 339 drivers/infiniband/sw/rdmavt/qp.c qpt->last = rdi->dparms.qpn_start; qpt 340 drivers/infiniband/sw/rdmavt/qp.c qpt->incr = rdi->dparms.qpn_inc << rdi->dparms.qos_shift; qpt 350 drivers/infiniband/sw/rdmavt/qp.c qpt->nmaps = rdi->dparms.qpn_res_start / RVT_BITS_PER_PAGE; qpt 356 drivers/infiniband/sw/rdmavt/qp.c map = &qpt->map[qpt->nmaps]; qpt 362 drivers/infiniband/sw/rdmavt/qp.c get_map_page(qpt, map); qpt 372 drivers/infiniband/sw/rdmavt/qp.c qpt->nmaps++; qpt 384 drivers/infiniband/sw/rdmavt/qp.c static void free_qpn_table(struct rvt_qpn_table *qpt) qpt 388 drivers/infiniband/sw/rdmavt/qp.c for (i = 0; i < ARRAY_SIZE(qpt->map); i++) qpt 389 drivers/infiniband/sw/rdmavt/qp.c free_page((unsigned long)qpt->map[i].page); qpt 516 drivers/infiniband/sw/rdmavt/qp.c static inline unsigned mk_qpn(struct rvt_qpn_table *qpt, qpt 519 drivers/infiniband/sw/rdmavt/qp.c return (map - qpt->map) * RVT_BITS_PER_PAGE + off; qpt 531 drivers/infiniband/sw/rdmavt/qp.c static int alloc_qpn(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt, qpt 539 drivers/infiniband/sw/rdmavt/qp.c return rdi->driver_f.alloc_qpn(rdi, qpt, type, port_num); qpt 546 drivers/infiniband/sw/rdmavt/qp.c spin_lock(&qpt->lock); qpt 547 drivers/infiniband/sw/rdmavt/qp.c if (qpt->flags & n) qpt 550 drivers/infiniband/sw/rdmavt/qp.c qpt->flags |= n; qpt 551 drivers/infiniband/sw/rdmavt/qp.c spin_unlock(&qpt->lock); qpt 555 drivers/infiniband/sw/rdmavt/qp.c qpn = qpt->last + qpt->incr; qpt 557 drivers/infiniband/sw/rdmavt/qp.c qpn = qpt->incr | ((qpt->last & 1) ^ 1); qpt 560 drivers/infiniband/sw/rdmavt/qp.c map = &qpt->map[qpn / RVT_BITS_PER_PAGE]; qpt 561 drivers/infiniband/sw/rdmavt/qp.c max_scan = qpt->nmaps - !offset; qpt 564 drivers/infiniband/sw/rdmavt/qp.c get_map_page(qpt, map); qpt 570 drivers/infiniband/sw/rdmavt/qp.c qpt->last = qpn; qpt 574 drivers/infiniband/sw/rdmavt/qp.c offset += qpt->incr; qpt 579 drivers/infiniband/sw/rdmavt/qp.c qpn = mk_qpn(qpt, map, offset); qpt 587 drivers/infiniband/sw/rdmavt/qp.c if (qpt->nmaps == RVT_QPNMAP_ENTRIES) qpt 589 drivers/infiniband/sw/rdmavt/qp.c map = &qpt->map[qpt->nmaps++]; qpt 591 drivers/infiniband/sw/rdmavt/qp.c offset = qpt->incr | (offset & 1); qpt 592 drivers/infiniband/sw/rdmavt/qp.c } else if (map < &qpt->map[qpt->nmaps]) { qpt 595 drivers/infiniband/sw/rdmavt/qp.c offset = qpt->incr | (offset & 1); qpt 597 drivers/infiniband/sw/rdmavt/qp.c map = &qpt->map[0]; qpt 599 drivers/infiniband/sw/rdmavt/qp.c offset = qpt->incr | ((offset & 1) ^ 1); qpt 604 drivers/infiniband/sw/rdmavt/qp.c qpn = mk_qpn(qpt, map, offset); qpt 986 drivers/infiniband/sw/rdmavt/qp.c static void rvt_free_qpn(struct rvt_qpn_table *qpt, u32 qpn) qpt 990 drivers/infiniband/sw/rdmavt/qp.c map = qpt->map + (qpn & RVT_QPN_MASK) / RVT_BITS_PER_PAGE; qpt 98 drivers/infiniband/sw/rdmavt/trace_tx.h __field(u32, qpt) qpt 118 drivers/infiniband/sw/rdmavt/trace_tx.h __entry->qpt = qp->ibqp.qp_type; qpt 140 drivers/infiniband/sw/rdmavt/trace_tx.h __entry->qpt, qpt 165 drivers/infiniband/sw/rdmavt/trace_tx.h __field(u32, qpt) qpt 177 drivers/infiniband/sw/rdmavt/trace_tx.h __entry->qpt = qp->ibqp.qp_type; qpt 188 drivers/infiniband/sw/rdmavt/trace_tx.h __entry->qpt, qpt 1636 drivers/net/ethernet/brocade/bna/bna_tx_rx.c &q1->qpt); qpt 1644 drivers/net/ethernet/brocade/bna/bna_tx_rx.c &q0->qpt); qpt 1665 drivers/net/ethernet/brocade/bna/bna_tx_rx.c &rxp->cq.qpt); qpt 1866 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxq->qpt.hw_qpt_ptr.lsb = qpt_mem->dma.lsb; qpt 1867 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxq->qpt.hw_qpt_ptr.msb = qpt_mem->dma.msb; qpt 1868 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxq->qpt.kv_qpt_ptr = qpt_mem->kva; qpt 1869 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxq->qpt.page_count = page_count; qpt 1870 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxq->qpt.page_size = page_size; qpt 1878 drivers/net/ethernet/brocade/bna/bna_tx_rx.c for (i = 0; i < rxq->qpt.page_count; i++) { qpt 1883 drivers/net/ethernet/brocade/bna/bna_tx_rx.c ((struct bna_dma_addr *)rxq->qpt.kv_qpt_ptr)[i].lsb = qpt 1885 drivers/net/ethernet/brocade/bna/bna_tx_rx.c ((struct bna_dma_addr *)rxq->qpt.kv_qpt_ptr)[i].msb = qpt 1904 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxp->cq.qpt.hw_qpt_ptr.lsb = qpt_mem->dma.lsb; qpt 1905 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxp->cq.qpt.hw_qpt_ptr.msb = qpt_mem->dma.msb; qpt 1906 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxp->cq.qpt.kv_qpt_ptr = qpt_mem->kva; qpt 1907 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxp->cq.qpt.page_count = page_count; qpt 1908 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxp->cq.qpt.page_size = page_size; qpt 1916 drivers/net/ethernet/brocade/bna/bna_tx_rx.c for (i = 0; i < rxp->cq.qpt.page_count; i++) { qpt 1921 drivers/net/ethernet/brocade/bna/bna_tx_rx.c ((struct bna_dma_addr *)rxp->cq.qpt.kv_qpt_ptr)[i].lsb = qpt 1923 drivers/net/ethernet/brocade/bna/bna_tx_rx.c ((struct bna_dma_addr *)rxp->cq.qpt.kv_qpt_ptr)[i].msb = qpt 3101 drivers/net/ethernet/brocade/bna/bna_tx_rx.c bfi_enet_datapath_q_init(&cfg_req->q_cfg[i].q.q, &txq->qpt); qpt 3171 drivers/net/ethernet/brocade/bna/bna_tx_rx.c txq->qpt.hw_qpt_ptr.lsb = qpt_mem->dma.lsb; qpt 3172 drivers/net/ethernet/brocade/bna/bna_tx_rx.c txq->qpt.hw_qpt_ptr.msb = qpt_mem->dma.msb; qpt 3173 drivers/net/ethernet/brocade/bna/bna_tx_rx.c txq->qpt.kv_qpt_ptr = qpt_mem->kva; qpt 3174 drivers/net/ethernet/brocade/bna/bna_tx_rx.c txq->qpt.page_count = page_count; qpt 3175 drivers/net/ethernet/brocade/bna/bna_tx_rx.c txq->qpt.page_size = page_size; qpt 3188 drivers/net/ethernet/brocade/bna/bna_tx_rx.c ((struct bna_dma_addr *)txq->qpt.kv_qpt_ptr)[i].lsb = qpt 3190 drivers/net/ethernet/brocade/bna/bna_tx_rx.c ((struct bna_dma_addr *)txq->qpt.kv_qpt_ptr)[i].msb = qpt 444 drivers/net/ethernet/brocade/bna/bna_types.h struct bna_qpt qpt; qpt 570 drivers/net/ethernet/brocade/bna/bna_types.h struct bna_qpt qpt; qpt 635 drivers/net/ethernet/brocade/bna/bna_types.h struct bna_qpt qpt; qpt 382 include/rdma/rdma_vt.h int (*alloc_qpn)(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt,