Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dtdb.c229 struct tdb_lock_type global_lock; member
410 if (tdb->global_lock.count && in _tdb_lock()
411 (ltype == tdb->global_lock.ltype || ltype == F_RDLCK)) { in _tdb_lock()
415 if (tdb->global_lock.count) { in _tdb_lock()
505 if (tdb->global_lock.count && in tdb_unlock()
506 (ltype == tdb->global_lock.ltype || ltype == F_RDLCK)) { in tdb_unlock()
510 if (tdb->global_lock.count) { in tdb_unlock()
584 if (tdb->have_transaction_lock || tdb->global_lock.count) { in tdb_transaction_lock()
627 if (tdb->global_lock.count && tdb->global_lock.ltype == ltype) { in _tdb_lockall()
628 tdb->global_lock.count++; in _tdb_lockall()
[all …]