Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/mac/
H A Dmac_client.c3399 #define MAC_TX_TRY_HOLD(mcip, mytx, error) \ argument
3402 (mytx) = &(mcip)->mci_tx_pcpu[CPU->cpu_seqid & mac_tx_percpu_cnt]; \
3403 mutex_enter(&(mytx)->pcpu_tx_lock); \
3405 (mytx)->pcpu_tx_refcnt++; \
3409 mutex_exit(&(mytx)->pcpu_tx_lock); \
3417 #define MAC_TX_RELE(mcip, mytx) { \ argument
3418 mutex_enter(&(mytx)->pcpu_tx_lock); \
3419 if (--(mytx)->pcpu_tx_refcnt == 0 && \
3421 mutex_exit(&(mytx)->pcpu_tx_lock); \
3426 mutex_exit(&(mytx)->pcpu_tx_lock); \
[all …]