Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/igb/
H A Digb_tx.c1085 if (mutex_tryenter(&tx_ring->recycle_lock) == 0) in igb_tx_recycle_legacy()
1093 mutex_exit(&tx_ring->recycle_lock); in igb_tx_recycle_legacy()
1104 mutex_exit(&tx_ring->recycle_lock); in igb_tx_recycle_legacy()
1178 mutex_exit(&tx_ring->recycle_lock); in igb_tx_recycle_legacy()
1195 mutex_exit(&tx_ring->recycle_lock); in igb_tx_recycle_legacy()
1240 if (mutex_tryenter(&tx_ring->recycle_lock) == 0) in igb_tx_recycle_head_wb()
1248 mutex_exit(&tx_ring->recycle_lock); in igb_tx_recycle_head_wb()
1269 mutex_exit(&tx_ring->recycle_lock); in igb_tx_recycle_head_wb()
1319 mutex_exit(&tx_ring->recycle_lock); in igb_tx_recycle_head_wb()
1336 mutex_exit(&tx_ring->recycle_lock); in igb_tx_recycle_head_wb()
H A Digb_rx.c83 mutex_enter(&rx_data->recycle_lock); in igb_rx_recycle()
91 mutex_exit(&rx_data->recycle_lock); in igb_rx_recycle()
H A Digb_sw.h416 kmutex_t recycle_lock; member
486 kmutex_t recycle_lock; /* Recycle lock, for rcb_tail */ member
H A Digb_buf.c347 mutex_init(&rx_data->recycle_lock, NULL, in igb_alloc_rx_ring_data()
433 mutex_destroy(&rx_data->recycle_lock); in igb_free_rx_ring_data()
H A Digb_main.c1094 mutex_init(&tx_ring->recycle_lock, NULL, in igb_init_locks()
1130 mutex_destroy(&tx_ring->recycle_lock); in igb_destroy_locks()
1686 mutex_enter(&tx_ring->recycle_lock); in igb_tx_clean()
1726 mutex_exit(&tx_ring->recycle_lock); in igb_tx_clean()
/titanic_41/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c1211 mutex_enter(&tx_ring->recycle_lock); in ixgbe_tx_recycle_legacy()
1223 mutex_exit(&tx_ring->recycle_lock); in ixgbe_tx_recycle_legacy()
1233 mutex_exit(&tx_ring->recycle_lock); in ixgbe_tx_recycle_legacy()
1309 mutex_exit(&tx_ring->recycle_lock); in ixgbe_tx_recycle_legacy()
1332 mutex_exit(&tx_ring->recycle_lock); in ixgbe_tx_recycle_legacy()
1373 mutex_enter(&tx_ring->recycle_lock); in ixgbe_tx_recycle_head_wb()
1385 mutex_exit(&tx_ring->recycle_lock); in ixgbe_tx_recycle_head_wb()
1405 mutex_exit(&tx_ring->recycle_lock); in ixgbe_tx_recycle_head_wb()
1456 mutex_exit(&tx_ring->recycle_lock); in ixgbe_tx_recycle_head_wb()
1479 mutex_exit(&tx_ring->recycle_lock); in ixgbe_tx_recycle_head_wb()
H A Dixgbe_sw.h464 kmutex_t recycle_lock; member
533 kmutex_t recycle_lock; /* Recycle lock, for rcb_tail */ member
H A Dixgbe_rx.c90 mutex_enter(&rx_data->recycle_lock); in ixgbe_rx_recycle()
98 mutex_exit(&rx_data->recycle_lock); in ixgbe_rx_recycle()
H A Dixgbe_buf.c215 mutex_init(&rx_data->recycle_lock, NULL, in ixgbe_alloc_rx_ring_data()
301 mutex_destroy(&rx_data->recycle_lock); in ixgbe_free_rx_ring_data()
H A Dixgbe_main.c1134 mutex_init(&tx_ring->recycle_lock, NULL, in ixgbe_init_locks()
1167 mutex_destroy(&tx_ring->recycle_lock); in ixgbe_destroy_locks()
1524 mutex_enter(&tx_ring->recycle_lock); in ixgbe_tx_clean()
1566 mutex_exit(&tx_ring->recycle_lock); in ixgbe_tx_clean()
/titanic_41/usr/src/uts/common/io/nge/
H A Dnge_rx.c113 mutex_enter(brp->recycle_lock); in nge_recv_recycle()
123 mutex_exit(brp->recycle_lock); in nge_recv_recycle()
171 mutex_enter(brp->recycle_lock); in nge_recv_packet()
174 mutex_exit(brp->recycle_lock); in nge_recv_packet()
H A Dnge_main.c658 mutex_enter(brp->recycle_lock); in nge_fini_buff_ring()
660 mutex_exit(brp->recycle_lock); in nge_fini_buff_ring()
837 mutex_init(brp->recycle_lock, NULL, MUTEX_DRIVER, in nge_init_ring_param_lock()
2280 mutex_destroy(brp->recycle_lock); in nge_unattach()
H A Dnge.h499 kmutex_t recycle_lock[1]; member
/titanic_41/usr/src/uts/common/io/e1000g/
H A De1000g_rx.c96 mutex_enter(&rx_data->recycle_lock); in e1000g_rxfree_func()
99 mutex_exit(&rx_data->recycle_lock); in e1000g_rxfree_func()
402 mutex_enter(&rx_data->recycle_lock); in e1000g_get_buf()
406 mutex_exit(&rx_data->recycle_lock); in e1000g_get_buf()
H A De1000g_sw.h759 kmutex_t recycle_lock; member
H A De1000g_main.c1634 mutex_init(&rx_data->recycle_lock, NULL, in e1000g_alloc_rx_data()
1666 mutex_destroy(&rx_data->recycle_lock); in e1000g_free_rx_data()
/titanic_41/usr/src/uts/common/io/xge/drv/
H A Dxgell.h302 spinlock_t recycle_lock; /* buffer recycle lock */ member
H A Dxgell.c272 mutex_enter(&bf_pool->recycle_lock); in xgell_rx_buffer_recycle()
297 mutex_exit(&bf_pool->recycle_lock); in xgell_rx_buffer_recycle()
411 mutex_enter(&bf_pool->recycle_lock); in xgell_rx_destroy_buffer_pool()
422 mutex_exit(&bf_pool->recycle_lock); in xgell_rx_destroy_buffer_pool()
461 mutex_destroy(&bf_pool->recycle_lock); in xgell_rx_destroy_buffer_pool()
500 mutex_init(&bf_pool->recycle_lock, NULL, MUTEX_DRIVER, in xgell_rx_create_buffer_pool()
/titanic_41/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c593 mutex_enter(rcv_desc->recycle_lock); in unm_rx_buffer_recycle()
597 mutex_exit(rcv_desc->recycle_lock); in unm_rx_buffer_recycle()
622 mutex_destroy(rcv_desc->recycle_lock); in unm_destroy_rx_ring()
677 mutex_init(rcv_desc->recycle_lock, NULL, in unm_create_rx_ring()
H A Dunm_nic.h394 kmutex_t recycle_lock[1]; /* buffer recycle lock */ member
H A Dunm_nic_main.c1477 mutex_enter(rcv_desc->recycle_lock); in unm_reserve_rx_buffer()
1491 mutex_exit(rcv_desc->recycle_lock); in unm_reserve_rx_buffer()