Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_umap.c1478 tavor_umap_db_entry_t *umapdb; in tavor_umap_db_alloc() local
1483 umapdb = kmem_zalloc(sizeof (tavor_umap_db_entry_t), KM_NOSLEEP); in tavor_umap_db_alloc()
1484 if (umapdb == NULL) { in tavor_umap_db_alloc()
1489 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*umapdb)) in tavor_umap_db_alloc()
1492 umapdb->tdbe_common.tdb_instance = instance; in tavor_umap_db_alloc()
1493 umapdb->tdbe_common.tdb_type = type; in tavor_umap_db_alloc()
1494 umapdb->tdbe_common.tdb_key = key; in tavor_umap_db_alloc()
1495 umapdb->tdbe_common.tdb_value = value; in tavor_umap_db_alloc()
1498 return (umapdb); in tavor_umap_db_alloc()
1507 tavor_umap_db_free(tavor_umap_db_entry_t *umapdb) in tavor_umap_db_free() argument
[all …]
H A Dtavor_srq.c66 tavor_umap_db_entry_t *umapdb; in tavor_srq_alloc() local
158 umapdb = tavor_umap_db_alloc(state->ts_instance, in tavor_srq_alloc()
161 if (umapdb == NULL) { in tavor_srq_alloc()
427 tavor_umap_db_add(umapdb); in tavor_srq_alloc()
457 tavor_umap_db_free(umapdb); in tavor_srq_alloc()
482 tavor_umap_db_entry_t *umapdb; in tavor_srq_free() local
531 &umapdb); in tavor_srq_free()
538 tavor_umap_db_free(umapdb); in tavor_srq_free()
H A Dtavor_mr.c183 tavor_umap_db_entry_t *umapdb; in tavor_mr_register_shared() local
318 umapdb = tavor_umap_db_alloc(state->ts_instance, in tavor_mr_register_shared()
321 if (umapdb == NULL) { in tavor_mr_register_shared()
436 tavor_umap_db_add(umapdb); in tavor_mr_register_shared()
450 tavor_umap_db_free(umapdb); in tavor_mr_register_shared()
480 tavor_umap_db_entry_t *umapdb; in tavor_mr_deregister() local
589 &umapdb); in tavor_mr_deregister()
591 tavor_umap_db_free(umapdb); in tavor_mr_deregister()
1145 tavor_umap_db_entry_t *umapdb; in tavor_mr_common_reg() local
1320 umapdb = tavor_umap_db_alloc(state->ts_instance, in tavor_mr_common_reg()
[all …]
H A Dtavor_cq.c68 tavor_umap_db_entry_t *umapdb; in tavor_cq_alloc() local
153 umapdb = tavor_umap_db_alloc(state->ts_instance, cq->cq_cqnum, in tavor_cq_alloc()
155 if (umapdb == NULL) { in tavor_cq_alloc()
347 tavor_umap_db_add(umapdb); in tavor_cq_alloc()
374 tavor_umap_db_free(umapdb); in tavor_cq_alloc()
399 tavor_umap_db_entry_t *umapdb; in tavor_cq_free() local
447 &umapdb); in tavor_cq_free()
454 tavor_umap_db_free(umapdb); in tavor_cq_free()
H A Dtavor_qp.c66 tavor_umap_db_entry_t *umapdb; in tavor_qp_alloc() local
275 umapdb = tavor_umap_db_alloc(state->ts_instance, qp->qp_qpnum, in tavor_qp_alloc()
277 if (umapdb == NULL) { in tavor_qp_alloc()
593 tavor_umap_db_add(umapdb); in tavor_qp_alloc()
612 tavor_umap_db_free(umapdb); in tavor_qp_alloc()
1056 tavor_umap_db_entry_t *umapdb; in tavor_qp_free() local
1136 &umapdb); in tavor_qp_free()
1143 tavor_umap_db_free(umapdb); in tavor_qp_free()
H A Dtavor.c320 tavor_umap_db_entry_t *umapdb, *umapdb2; in tavor_open() local
414 umapdb = tavor_umap_db_alloc(instance, key, in tavor_open()
416 if (umapdb == NULL) { in tavor_open()
445 tavor_umap_db_free(umapdb); in tavor_open()
457 tavor_umap_db_add_nolock(umapdb); in tavor_open()
488 tavor_umap_db_entry_t *umapdb; in tavor_close() local
529 &value, TAVOR_UMAP_DB_REMOVE, &umapdb); in tavor_close()
539 priv = (tavor_umap_db_priv_t *)umapdb->tdbe_common.tdb_priv; in tavor_close()
543 umapdb->tdbe_common.tdb_priv = (void *)NULL; in tavor_close()
546 tavor_umap_db_free(umapdb); in tavor_close()
[all …]
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_umap.c1839 hermon_umap_db_entry_t *umapdb; in hermon_umap_db_alloc() local
1842 umapdb = kmem_zalloc(sizeof (hermon_umap_db_entry_t), KM_NOSLEEP); in hermon_umap_db_alloc()
1843 if (umapdb == NULL) { in hermon_umap_db_alloc()
1846 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*umapdb)) in hermon_umap_db_alloc()
1849 umapdb->hdbe_common.hdb_instance = instance; in hermon_umap_db_alloc()
1850 umapdb->hdbe_common.hdb_type = type; in hermon_umap_db_alloc()
1851 umapdb->hdbe_common.hdb_key = key; in hermon_umap_db_alloc()
1852 umapdb->hdbe_common.hdb_value = value; in hermon_umap_db_alloc()
1854 return (umapdb); in hermon_umap_db_alloc()
1863 hermon_umap_db_free(hermon_umap_db_entry_t *umapdb) in hermon_umap_db_free() argument
[all …]
H A Dhermon_srq.c65 hermon_umap_db_entry_t *umapdb; in hermon_srq_alloc() local
149 umapdb = hermon_umap_db_alloc(state->hs_instance, in hermon_srq_alloc()
152 if (umapdb == NULL) { in hermon_srq_alloc()
391 hermon_umap_db_add(umapdb); in hermon_srq_alloc()
427 hermon_umap_db_free(umapdb); in hermon_srq_alloc()
450 hermon_umap_db_entry_t *umapdb; in hermon_srq_free() local
493 HERMON_UMAP_DB_REMOVE, &umapdb); in hermon_srq_free()
499 hermon_umap_db_free(umapdb); in hermon_srq_free()
H A Dhermon_cq.c73 hermon_umap_db_entry_t *umapdb; in hermon_cq_alloc() local
155 umapdb = hermon_umap_db_alloc(state->hs_instance, cq->cq_cqnum, in hermon_cq_alloc()
157 if (umapdb == NULL) { in hermon_cq_alloc()
366 hermon_umap_db_add(umapdb); in hermon_cq_alloc()
394 hermon_umap_db_free(umapdb); in hermon_cq_alloc()
416 hermon_umap_db_entry_t *umapdb; in hermon_cq_free() local
461 &umapdb); in hermon_cq_free()
467 hermon_umap_db_free(umapdb); in hermon_cq_free()
H A Dhermon_mr.c177 hermon_umap_db_entry_t *umapdb; in hermon_mr_register_shared() local
298 umapdb = hermon_umap_db_alloc(state->hs_instance, in hermon_mr_register_shared()
301 if (umapdb == NULL) { in hermon_mr_register_shared()
409 hermon_umap_db_add(umapdb); in hermon_mr_register_shared()
422 hermon_umap_db_free(umapdb); in hermon_mr_register_shared()
749 hermon_umap_db_entry_t *umapdb; in hermon_mr_deregister() local
867 &umapdb); in hermon_mr_deregister()
869 hermon_umap_db_free(umapdb); in hermon_mr_deregister()
1473 hermon_umap_db_entry_t *umapdb; in hermon_mr_common_reg() local
1634 umapdb = hermon_umap_db_alloc(state->hs_instance, in hermon_mr_common_reg()
[all …]
H A Dhermon_qp.c66 hermon_umap_db_entry_t *umapdb; in hermon_qp_alloc() local
304 umapdb = hermon_umap_db_alloc(state->hs_instance, qp->qp_qpnum, in hermon_qp_alloc()
306 if (umapdb == NULL) { in hermon_qp_alloc()
704 hermon_umap_db_add(umapdb); in hermon_qp_alloc()
725 hermon_umap_db_free(umapdb); in hermon_qp_alloc()
1864 hermon_umap_db_entry_t *umapdb; in hermon_qp_free() local
1944 &umapdb); in hermon_qp_free()
1950 hermon_umap_db_free(umapdb); in hermon_qp_free()
H A Dhermon.c307 hermon_umap_db_entry_t *umapdb, *umapdb2; in hermon_open() local
392 umapdb = hermon_umap_db_alloc(instance, key, in hermon_open()
394 if (umapdb == NULL) { in hermon_open()
420 hermon_umap_db_free(umapdb); in hermon_open()
429 hermon_umap_db_add_nolock(umapdb); in hermon_open()
459 hermon_umap_db_entry_t *umapdb; in hermon_close() local
496 &value, HERMON_UMAP_DB_REMOVE, &umapdb); in hermon_close()
506 priv = (hermon_umap_db_priv_t *)umapdb->hdbe_common.hdb_priv; in hermon_close()
510 umapdb->hdbe_common.hdb_priv = (void *)NULL; in hermon_close()
513 hermon_umap_db_free(umapdb); in hermon_close()
[all …]
H A Dhermon_misc.c82 hermon_umap_db_entry_t *umapdb; in hermon_dbr_new_user_page() local
122 umapdb = hermon_umap_db_alloc(state->hs_instance, in hermon_dbr_new_user_page()
125 hermon_umap_db_add(umapdb); in hermon_dbr_new_user_page()
437 hermon_umap_db_entry_t *umapdb; in hermon_dbr_kern_free() local
465 &value, HERMON_UMAP_DB_REMOVE, &umapdb); in hermon_dbr_kern_free()
467 hermon_umap_db_free(umapdb); in hermon_dbr_kern_free()
/titanic_41/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor.h779 void tavor_umap_db_free(tavor_umap_db_entry_t *umapdb);
780 void tavor_umap_db_add(tavor_umap_db_entry_t *umapdb);
781 void tavor_umap_db_add_nolock(tavor_umap_db_entry_t *umapdb);
783 uint64_t *value, uint_t flags, tavor_umap_db_entry_t **umapdb);
785 uint64_t *value, uint_t flags, tavor_umap_db_entry_t **umapdb);
/titanic_41/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon.h987 void hermon_umap_db_free(hermon_umap_db_entry_t *umapdb);
988 void hermon_umap_db_add(hermon_umap_db_entry_t *umapdb);
989 void hermon_umap_db_add_nolock(hermon_umap_db_entry_t *umapdb);
991 uint64_t *value, uint_t flags, hermon_umap_db_entry_t **umapdb);
993 uint64_t *value, uint_t flags, hermon_umap_db_entry_t **umapdb);