Lines Matching refs:db_rec
604 if (dev->db_tab->page[i].db_rec && in mthca_alloc_db()
612 if (!dev->db_tab->page[i].db_rec) { in mthca_alloc_db()
630 page->db_rec = dma_alloc_coherent(&dev->pdev->dev, in mthca_alloc_db()
633 if (!page->db_rec) { in mthca_alloc_db()
642 page->db_rec, page->mapping); in mthca_alloc_db()
657 page->db_rec[j] = cpu_to_be64((qn << 8) | (type << 5)); in mthca_alloc_db()
659 *db = (__be32 *) &page->db_rec[j]; in mthca_alloc_db()
679 page->db_rec[j] = 0; in mthca_free_db()
689 page->db_rec, page->mapping); in mthca_free_db()
690 page->db_rec = NULL; in mthca_free_db()
729 dev->db_tab->page[i].db_rec = NULL; in mthca_init_db_tab()
748 if (!dev->db_tab->page[i].db_rec) in mthca_cleanup_db_tab()
757 dev->db_tab->page[i].db_rec, in mthca_cleanup_db_tab()