Searched refs:db_index (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/arch/powerpc/platforms/ps3/ |
D | os-area.c | 405 struct db_index { struct 413 struct db_index *idx; argument 414 struct db_index *last_idx; 585 + INDEX_64_COUNT * sizeof(struct db_index) in os_area_db_init() 589 + INDEX_64_COUNT * sizeof(struct db_index) in os_area_db_init() 591 + INDEX_32_COUNT * sizeof(struct db_index) in os_area_db_init() 597 BUILD_BUG_ON(sizeof(struct db_index) != 1); in os_area_db_init() 606 + INDEX_64_COUNT * sizeof(struct db_index) in os_area_db_init() 608 + INDEX_32_COUNT * sizeof(struct db_index) in os_area_db_init() 610 + INDEX_16_COUNT * sizeof(struct db_index) in os_area_db_init()
|
/linux-2.6.39/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 61 __be32 db_index; member 130 context->db_index = cpu_to_be32(srq->db_index); in mthca_arbel_init_srq_context() 240 srq->db_index = mthca_alloc_db(dev, MTHCA_DB_TYPE_SRQ, in mthca_alloc_srq() 242 if (srq->db_index < 0) { in mthca_alloc_srq() 317 mthca_free_db(dev, MTHCA_DB_TYPE_SRQ, srq->db_index); in mthca_alloc_srq() 368 mthca_free_db(dev, MTHCA_DB_TYPE_SRQ, srq->db_index); in mthca_free_srq()
|
D | mthca_provider.h | 233 int db_index; /* Arbel only */ member 257 int db_index; /* Arbel only */ member
|
D | mthca_user.h | 94 __u32 db_index; member
|
D | mthca_provider.c | 490 context->db_tab, ucmd.db_index, in mthca_create_srq() 497 srq->db_index = ucmd.db_index; in mthca_create_srq() 505 context->db_tab, ucmd.db_index); in mthca_create_srq() 532 context->db_tab, to_msrq(srq)->db_index); in mthca_destroy_srq() 592 qp->sq.db_index = ucmd.sq_db_index; in mthca_create_qp() 593 qp->rq.db_index = ucmd.rq_db_index; in mthca_create_qp() 664 to_mqp(qp)->sq.db_index); in mthca_destroy_qp() 668 to_mqp(qp)->rq.db_index); in mthca_destroy_qp()
|
D | mthca_memfree.h | 177 void mthca_free_db(struct mthca_dev *dev, int type, int db_index);
|
D | mthca_qp.c | 729 qp_context->snd_db_index = cpu_to_be32(qp->sq.db_index); in __mthca_modify_qp() 767 qp_context->rcv_db_index = cpu_to_be32(qp->rq.db_index); in __mthca_modify_qp() 1124 qp->rq.db_index = mthca_alloc_db(dev, MTHCA_DB_TYPE_RQ, in mthca_alloc_memfree() 1126 if (qp->rq.db_index < 0) in mthca_alloc_memfree() 1129 qp->sq.db_index = mthca_alloc_db(dev, MTHCA_DB_TYPE_SQ, in mthca_alloc_memfree() 1131 if (qp->sq.db_index < 0) { in mthca_alloc_memfree() 1132 mthca_free_db(dev, MTHCA_DB_TYPE_RQ, qp->rq.db_index); in mthca_alloc_memfree() 1144 mthca_free_db(dev, MTHCA_DB_TYPE_SQ, qp->sq.db_index); in mthca_free_memfree() 1145 mthca_free_db(dev, MTHCA_DB_TYPE_RQ, qp->rq.db_index); in mthca_free_memfree()
|
D | mthca_memfree.c | 677 void mthca_free_db(struct mthca_dev *dev, int type, int db_index) in mthca_free_db() argument 683 i = db_index / MTHCA_DB_REC_PER_PAGE; in mthca_free_db() 684 j = db_index % MTHCA_DB_REC_PER_PAGE; in mthca_free_db()
|