Searched refs:tx_cpu (Results 1 – 3 of 3) sorted by relevance
| /freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | txg.c | 129 tx->tx_cpu = kmem_zalloc(max_ncpus * sizeof (tx_cpu_t), KM_SLEEP); in txg_init() 134 mutex_init(&tx->tx_cpu[c].tc_lock, NULL, MUTEX_DEFAULT, NULL); in txg_init() 135 mutex_init(&tx->tx_cpu[c].tc_open_lock, NULL, MUTEX_DEFAULT, in txg_init() 138 cv_init(&tx->tx_cpu[c].tc_cv[i], NULL, CV_DEFAULT, in txg_init() 140 list_create(&tx->tx_cpu[c].tc_callbacks[i], in txg_init() 179 mutex_destroy(&tx->tx_cpu[c].tc_open_lock); in txg_fini() 180 mutex_destroy(&tx->tx_cpu[c].tc_lock); in txg_fini() 182 cv_destroy(&tx->tx_cpu[c].tc_cv[i]); in txg_fini() 183 list_destroy(&tx->tx_cpu[c].tc_callbacks[i]); in txg_fini() 190 kmem_free(tx->tx_cpu, max_ncpus * sizeof (tx_cpu_t)); in txg_fini() [all …]
|
| /freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
| D | txg_impl.h | 70 struct tx_cpu { struct 91 tx_cpu_t *tx_cpu; /* protects access to tx_open_txg */ member
|
| D | txg.h | 48 typedef struct tx_cpu tx_cpu_t;
|