Lines Matching refs:hermon_dbr_t
87 pagep->upg_nfree = pagesize / sizeof (hermon_dbr_t);
90 pagep->upg_free = kmem_zalloc(pagesize / sizeof (hermon_dbr_t) / 8,
133 ddi_acc_handle_t *acchdl, hermon_dbr_t **vdbr, uint64_t *pdbr,
200 *vdbr = (hermon_dbr_t *)((uint64_t *)(void *)pagep->upg_kvaddr +
210 hermon_user_dbr_free(hermon_state_t *state, uint_t index, hermon_dbr_t *record)
216 uint_t max_free = PAGESIZE / sizeof (hermon_dbr_t);
221 dbr_index /= sizeof (hermon_dbr_t); /* now it's the index */
329 info->dbr_page = (hermon_dbr_t *)(void *)dmaaddr;
353 hermon_dbr_t **vdbr, uint64_t *pdbr, uint64_t *mapoffset)
355 hermon_dbr_t *record = NULL;
388 *pdbr = info->dbr_paddr + idx * sizeof (hermon_dbr_t);
401 hermon_dbr_free(hermon_state_t *state, uint_t indx, hermon_dbr_t *record)
403 hermon_dbr_t *page;
410 page = (hermon_dbr_t *)(uintptr_t)((uintptr_t)record & PAGEMASK);
469 PAGESIZE / sizeof (hermon_dbr_t) / 8);