Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_cmd.c45 static int tavor_impl_mbox_alloc(tavor_state_t *state, tavor_mboxlist_t *mblist,
47 static void tavor_impl_mbox_free(tavor_mboxlist_t *mblist, tavor_mbox_t **mb);
49 tavor_mboxlist_t *mblist, uint_t num_mbox, tavor_rsrc_type_t type);
51 tavor_mboxlist_t *mblist);
467 tavor_impl_mbox_alloc(tavor_state_t *state, tavor_mboxlist_t *mblist, in tavor_impl_mbox_alloc() argument
482 mutex_enter(&mblist->mbl_lock); in tavor_impl_mbox_alloc()
483 mblist->mbl_pollers++; in tavor_impl_mbox_alloc()
484 while (mblist->mbl_entries_free == 0) { in tavor_impl_mbox_alloc()
485 mutex_exit(&mblist->mbl_lock); in tavor_impl_mbox_alloc()
493 mutex_enter(&mblist->mbl_lock); in tavor_impl_mbox_alloc()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cmd.c46 hermon_mboxlist_t *mblist, hermon_mbox_t **mb, uint_t mbox_wait);
47 static void hermon_impl_mbox_free(hermon_mboxlist_t *mblist,
50 hermon_mboxlist_t *mblist, uint_t num_mbox, hermon_rsrc_type_t type);
52 hermon_mboxlist_t *mblist);
568 hermon_impl_mbox_alloc(hermon_state_t *state, hermon_mboxlist_t *mblist, in hermon_impl_mbox_alloc() argument
583 mutex_enter(&mblist->mbl_lock); in hermon_impl_mbox_alloc()
584 mblist->mbl_pollers++; in hermon_impl_mbox_alloc()
585 while (mblist->mbl_entries_free == 0) { in hermon_impl_mbox_alloc()
586 mutex_exit(&mblist->mbl_lock); in hermon_impl_mbox_alloc()
594 mutex_enter(&mblist->mbl_lock); in hermon_impl_mbox_alloc()
[all …]