HomeSort by: relevance | last modified time | path
    Searched refs:tx_cpu (Results 1 - 5 of 5) sorted by relevancy

  /src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
txg_impl.h 42 * The tx_cpu structure is a per-cpu structure that is used to track
48 * tx_cpu structures have reached a tc_count of zero.
56 * The tx_cpu contains two locks, the tc_lock and tc_open_lock.
57 * The tc_lock is used to protect all members of the tx_cpu structure with
70 struct tx_cpu { struct
83 * an array of tx_cpu structures (described above). Although the tx_sync_lock
85 * protect the tx_open_txg. Instead a special lock in the tx_cpu structure
91 tx_cpu_t *tx_cpu; /* protects access to tx_open_txg */ member in struct:tx_state
txg.h 48 typedef struct tx_cpu tx_cpu_t;
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
txg.c 128 tx->tx_cpu = kmem_zalloc(max_ncpus * sizeof (tx_cpu_t), KM_SLEEP);
133 mutex_init(&tx->tx_cpu[c].tc_lock, NULL, MUTEX_DEFAULT, NULL);
134 mutex_init(&tx->tx_cpu[c].tc_open_lock, NULL, MUTEX_DEFAULT,
137 cv_init(&tx->tx_cpu[c].tc_cv[i], NULL, CV_DEFAULT,
139 list_create(&tx->tx_cpu[c].tc_callbacks[i],
178 mutex_destroy(&tx->tx_cpu[c].tc_open_lock);
179 mutex_destroy(&tx->tx_cpu[c].tc_lock);
181 cv_destroy(&tx->tx_cpu[c].tc_cv[i]);
182 list_destroy(&tx->tx_cpu[c].tc_callbacks[i]);
189 kmem_free(tx->tx_cpu, max_ncpus * sizeof (tx_cpu_t))
    [all...]
  /src/sys/dev/marvell/
if_mvxpe.c 1130 tx->tx_dma = tx->tx_cpu = 0;
1170 tx->tx_dma = tx->tx_cpu = 0;
1921 if (tx->tx_dma != tx->tx_cpu) {
2119 MVXPE_TX_MAP(sc, q, tx->tx_cpu), m, BUS_DMA_NOWAIT) != 0) {
2123 txsegs = MVXPE_TX_MAP(sc, q, tx->tx_cpu)->dm_segs;
2124 txnsegs = MVXPE_TX_MAP(sc, q, tx->tx_cpu)->dm_nsegs;
2127 bus_dmamap_unload(sc->sc_dmat, MVXPE_TX_MAP(sc, q, tx->tx_cpu));
2131 DPRINTSC(sc, 2, "send packet %p descriptor %d\n", m, tx->tx_cpu);
2132 KASSERT(MVXPE_TX_MBUF(sc, q, tx->tx_cpu) == NULL);
2135 MVXPE_TX_MBUF(sc, q, tx->tx_cpu) = m
    [all...]
if_mvxpevar.h 160 int tx_cpu; member in struct:mvxpe_tx_ring

Completed in 41 milliseconds