Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/sys/
H A Dmac_client_impl.h209 mac_tx_percpu_t mci_tx_pcpu[1]; /* SL */ member
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_client.c180 mutex_init(&mcip->mci_tx_pcpu[i].pcpu_tx_lock, NULL, in i_mac_client_impl_ctor()
204 ASSERT(mcip->mci_tx_pcpu[i].pcpu_tx_refcnt == 0); in i_mac_client_impl_dtor()
205 mutex_destroy(&mcip->mci_tx_pcpu[i].pcpu_tx_lock); in i_mac_client_impl_dtor()
3487 (mytx) = &(mcip)->mci_tx_pcpu[CPU->cpu_seqid & mac_tx_percpu_cnt]; \
3507 mutex_enter(&(mcip)->mci_tx_pcpu[0].pcpu_tx_lock); \
3509 mutex_exit(&(mcip)->mci_tx_pcpu[0].pcpu_tx_lock); \
H A Dmac.c2142 mutex_enter(&mcip->mci_tx_pcpu[i].pcpu_tx_lock); in mac_tx_lock_all()
2151 mutex_exit(&mcip->mci_tx_pcpu[i].pcpu_tx_lock); in mac_tx_unlock_all()
2160 mutex_exit(&mcip->mci_tx_pcpu[i].pcpu_tx_lock); in mac_tx_unlock_allbutzero()
2170 refcnt += mcip->mci_tx_pcpu[i].pcpu_tx_refcnt; in mac_tx_sum_refcnt()
2187 cv_wait(&mcip->mci_tx_cv, &mcip->mci_tx_pcpu[0].pcpu_tx_lock); in mac_tx_client_block()
2188 mutex_exit(&mcip->mci_tx_pcpu[0].pcpu_tx_lock); in mac_tx_client_block()