/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_umap.c | 1306 tavor_umap_db_entry_t *umapdb; in tavor_umap_db_alloc() local 1309 umapdb = kmem_zalloc(sizeof (tavor_umap_db_entry_t), KM_NOSLEEP); in tavor_umap_db_alloc() 1310 if (umapdb == NULL) { in tavor_umap_db_alloc() 1313 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*umapdb)) in tavor_umap_db_alloc() 1316 umapdb->tdbe_common.tdb_instance = instance; in tavor_umap_db_alloc() 1317 umapdb->tdbe_common.tdb_type = type; in tavor_umap_db_alloc() 1318 umapdb->tdbe_common.tdb_key = key; in tavor_umap_db_alloc() 1319 umapdb->tdbe_common.tdb_value = value; in tavor_umap_db_alloc() 1321 return (umapdb); in tavor_umap_db_alloc() 1330 tavor_umap_db_free(tavor_umap_db_entry_t *umapdb) in tavor_umap_db_free() argument [all …]
|
H A D | tavor_srq.c | 66 tavor_umap_db_entry_t *umapdb; in tavor_srq_alloc() local 149 umapdb = tavor_umap_db_alloc(state->ts_instance, in tavor_srq_alloc() 152 if (umapdb == NULL) { in tavor_srq_alloc() 400 tavor_umap_db_add(umapdb); in tavor_srq_alloc() 429 tavor_umap_db_free(umapdb); in tavor_srq_alloc() 451 tavor_umap_db_entry_t *umapdb; in tavor_srq_free() local 495 &umapdb); in tavor_srq_free() 501 tavor_umap_db_free(umapdb); in tavor_srq_free()
|
H A D | tavor_mr.c | 165 tavor_umap_db_entry_t *umapdb; in tavor_mr_register_shared() local 287 umapdb = tavor_umap_db_alloc(state->ts_instance, in tavor_mr_register_shared() 290 if (umapdb == NULL) { in tavor_mr_register_shared() 398 tavor_umap_db_add(umapdb); in tavor_mr_register_shared() 411 tavor_umap_db_free(umapdb); in tavor_mr_register_shared() 438 tavor_umap_db_entry_t *umapdb; in tavor_mr_deregister() local 534 &umapdb); in tavor_mr_deregister() 536 tavor_umap_db_free(umapdb); in tavor_mr_deregister() 1018 tavor_umap_db_entry_t *umapdb; in tavor_mr_common_reg() local 1178 umapdb = tavor_umap_db_alloc(state->ts_instance, in tavor_mr_common_reg() [all …]
|
H A D | tavor_cq.c | 68 tavor_umap_db_entry_t *umapdb; in tavor_cq_alloc() local 144 umapdb = tavor_umap_db_alloc(state->ts_instance, cq->cq_cqnum, in tavor_cq_alloc() 146 if (umapdb == NULL) { in tavor_cq_alloc() 326 tavor_umap_db_add(umapdb); in tavor_cq_alloc() 352 tavor_umap_db_free(umapdb); in tavor_cq_alloc() 374 tavor_umap_db_entry_t *umapdb; in tavor_cq_free() local 417 &umapdb); in tavor_cq_free() 423 tavor_umap_db_free(umapdb); in tavor_cq_free()
|
H A D | tavor.c | 276 tavor_umap_db_entry_t *umapdb, *umapdb2; in tavor_open() local 361 umapdb = tavor_umap_db_alloc(instance, key, in tavor_open() 363 if (umapdb == NULL) { in tavor_open() 389 tavor_umap_db_free(umapdb); in tavor_open() 398 tavor_umap_db_add_nolock(umapdb); in tavor_open() 428 tavor_umap_db_entry_t *umapdb; in tavor_close() local 465 &value, TAVOR_UMAP_DB_REMOVE, &umapdb); in tavor_close() 475 priv = (tavor_umap_db_priv_t *)umapdb->tdbe_common.tdb_priv; in tavor_close() 479 umapdb->tdbe_common.tdb_priv = (void *)NULL; in tavor_close() 482 tavor_umap_db_free(umapdb); in tavor_close() [all …]
|
H A D | tavor_qp.c | 66 tavor_umap_db_entry_t *umapdb; in tavor_qp_alloc() local 247 umapdb = tavor_umap_db_alloc(state->ts_instance, qp->qp_qpnum, in tavor_qp_alloc() 249 if (umapdb == NULL) { in tavor_qp_alloc() 553 tavor_umap_db_add(umapdb); in tavor_qp_alloc() 571 tavor_umap_db_free(umapdb); in tavor_qp_alloc() 981 tavor_umap_db_entry_t *umapdb; in tavor_qp_free() local 1054 &umapdb); in tavor_qp_free() 1060 tavor_umap_db_free(umapdb); in tavor_qp_free()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_umap.c | 1839 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 D | hermon_srq.c | 65 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 D | hermon_cq.c | 73 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 D | hermon_mr.c | 177 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 D | hermon_qp.c | 66 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 D | hermon.c | 307 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 D | hermon_misc.c | 82 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()
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor.h | 757 void tavor_umap_db_free(tavor_umap_db_entry_t *umapdb); 758 void tavor_umap_db_add(tavor_umap_db_entry_t *umapdb); 759 void tavor_umap_db_add_nolock(tavor_umap_db_entry_t *umapdb); 761 uint64_t *value, uint_t flags, tavor_umap_db_entry_t **umapdb); 763 uint64_t *value, uint_t flags, tavor_umap_db_entry_t **umapdb);
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon.h | 986 void hermon_umap_db_free(hermon_umap_db_entry_t *umapdb); 987 void hermon_umap_db_add(hermon_umap_db_entry_t *umapdb); 988 void hermon_umap_db_add_nolock(hermon_umap_db_entry_t *umapdb); 990 uint64_t *value, uint_t flags, hermon_umap_db_entry_t **umapdb); 992 uint64_t *value, uint_t flags, hermon_umap_db_entry_t **umapdb);
|