Searched refs:tx_cpu (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | txg.c | 123 tx->tx_cpu = kmem_zalloc(max_ncpus * sizeof (tx_cpu_t), KM_SLEEP); in txg_init() 128 mutex_init(&tx->tx_cpu[c].tc_lock, NULL, MUTEX_DEFAULT, NULL); in txg_init() 129 mutex_init(&tx->tx_cpu[c].tc_open_lock, NULL, MUTEX_DEFAULT, in txg_init() 132 cv_init(&tx->tx_cpu[c].tc_cv[i], NULL, CV_DEFAULT, in txg_init() 134 list_create(&tx->tx_cpu[c].tc_callbacks[i], in txg_init() 173 mutex_destroy(&tx->tx_cpu[c].tc_open_lock); in txg_fini() 174 mutex_destroy(&tx->tx_cpu[c].tc_lock); in txg_fini() 176 cv_destroy(&tx->tx_cpu[c].tc_cv[i]); in txg_fini() 177 list_destroy(&tx->tx_cpu[c].tc_callbacks[i]); in txg_fini() 184 kmem_free(tx->tx_cpu, max_ncpus * sizeof (tx_cpu_t)); in txg_fini() [all …]
|
/titanic_41/usr/src/uts/common/fs/zfs/sys/ |
H A D | txg_impl.h | 70 struct tx_cpu { struct 91 tx_cpu_t *tx_cpu; /* protects access to tx_open_txg */ member
|
H A D | txg.h | 48 typedef struct tx_cpu tx_cpu_t;
|