Home
last modified time | relevance | path

Searched refs:dbr_index (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_misc.c139 int dbr_index; in hermon_user_dbr_alloc() local
195 dbr_index = ((i1 * sizeof (uint64_t)) + i2) * sizeof (uint64_t) + i3; in hermon_user_dbr_alloc()
197 ((uint64_t *)(void *)pagep->upg_kvaddr)[dbr_index] = 0; /* clear dbr */ in hermon_user_dbr_alloc()
201 dbr_index); in hermon_user_dbr_alloc()
202 *pdbr = pagep->upg_dmacookie.dmac_laddress + dbr_index * in hermon_user_dbr_alloc()
215 uint_t dbr_index; in hermon_user_dbr_free() local
219 dbr_index = (uintptr_t)record & PAGEOFFSET; /* offset (not yet index) */ in hermon_user_dbr_free()
220 kvaddr = (caddr_t)record - dbr_index; in hermon_user_dbr_free()
221 dbr_index /= sizeof (hermon_dbr_t); /* now it's the index */ in hermon_user_dbr_free()
239 index, kvaddr, dbr_index); in hermon_user_dbr_free()
[all …]