Searched refs:db_mtx (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddbuf.c142 mutex_init(&db->db_mtx, NULL, MUTEX_DEFAULT, NULL);
155 mutex_destroy(&db->db_mtx);
204 mutex_enter(&db->db_mtx);
209 mutex_exit(&db->db_mtx);
226 mutex_enter(&db->db_mtx);
255 mutex_enter(&dbf->db_mtx);
260 mutex_exit(&dbf->db_mtx);
264 mutex_enter(&db->db_mtx);
286 * We musn't hold db_mtx to maintain lock ordering:
287 * DBUF_HASH_MUTEX > db_mtx
[all...]
H A Ddnode_sync.c88 mutex_exit(&child->db_mtx);
103 mutex_exit(&child->db_mtx);
212 mutex_enter(&child->db_mtx);
224 mutex_exit(&child->db_mtx);
414 mutex_enter(&db->db_mtx);
429 mutex_exit(&db->db_mtx);
444 mutex_enter(&dn->dn_bonus->db_mtx);
466 mutex_enter(&db->db_mtx);
H A Ddmu.c505 mutex_enter(&db->db_mtx);
508 cv_wait(&db->db_changed, &db->db_mtx);
511 mutex_exit(&db->db_mtx);
1480 mutex_enter(&db->db_mtx);
1515 mutex_exit(&db->db_mtx);
1639 * Grabbing db_mtx now provides a barrier between dbuf_sync_leaf()
1642 * sync thread will block in dbuf_sync_leaf() until we drop db_mtx.
1644 mutex_enter(&db->db_mtx);
1650 mutex_exit(&db->db_mtx);
1659 mutex_exit(&db->db_mtx);
[all...]
H A Ddmu_objset.c1433 mutex_enter(&db->db_mtx);
1447 mutex_enter(&db->db_mtx);
1493 mutex_exit(&db->db_mtx);
H A Ddnode.c509 mutex_enter(&dn->dn_bonus->db_mtx);
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddbuf.h156 * db.db_data, which is protected by db_mtx.
175 * May change from NULL to non-NULL under the protection of db_mtx
202 /* db_mtx protects the members below */
203 kmutex_t db_mtx; member in struct:dmu_buf_impl
213 * Protected by db_mtx.

Completed in 61 milliseconds