hermon_dbr_t
hermon_arm_cq_dbr_init(hermon_dbr_t *cq_arm_dbr)
hermon_arm_cq_dbr_update(hermon_dbr_t *cq_arm_dbr)
static void hermon_arm_cq_dbr_init(hermon_dbr_t *cq_arm_dbr);
ddi_acc_handle_t *acchdl, hermon_dbr_t **vdbr, uint64_t *pdbr,
*vdbr = (hermon_dbr_t *)((uint64_t *)(void *)pagep->upg_kvaddr +
hermon_user_dbr_free(hermon_state_t *state, uint_t index, hermon_dbr_t *record)
uint_t max_free = PAGESIZE / sizeof (hermon_dbr_t);
dbr_index /= sizeof (hermon_dbr_t); /* now it's the index */
info->dbr_page = (hermon_dbr_t *)(void *)dmaaddr;
hermon_dbr_t **vdbr, uint64_t *pdbr, uint64_t *mapoffset)
hermon_dbr_t *record = NULL;
*pdbr = info->dbr_paddr + idx * sizeof (hermon_dbr_t);
hermon_dbr_free(hermon_state_t *state, uint_t indx, hermon_dbr_t *record)
hermon_dbr_t *page;
page = (hermon_dbr_t *)(uintptr_t)((uintptr_t)record & PAGEMASK);
PAGESIZE / sizeof (hermon_dbr_t) / 8);
pagep->upg_nfree = pagesize / sizeof (hermon_dbr_t);
pagep->upg_free = kmem_zalloc(pagesize / sizeof (hermon_dbr_t) / 8,
hermon_dbr_t *cq_arm_ci_vdbr;
hermon_dbr_t *dbr_page; /* virtual addr of page */
#define HERMON_NUM_DBR_PER_PAGE (PAGESIZE / sizeof (hermon_dbr_t))
ddi_acc_handle_t *acchdl, hermon_dbr_t **vdbr, uint64_t *pdbr,
void hermon_dbr_free(hermon_state_t *state, uint_t indx, hermon_dbr_t *record);
hermon_dbr_t *qp_rq_vdbr;
hermon_dbr_t *srq_wq_vdbr;