Searched refs:mytx (Results 1 – 1 of 1) sorted by relevance
3399 #define MAC_TX_TRY_HOLD(mcip, mytx, error) \ argument3402 (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) { \ argument3418 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 …]