Home | History | Annotate | Download | only in ext2fs

Lines Matching full:locks

233 	struct tdb_lock_type *lockrecs; /* only real locks, all with count>0 */
237 struct tdb_traverse_lock travlocks; /* current traversal locks */
244 unsigned int num_locks; /* number of chain locks held */
327 this functions locks/unlocks 1 byte at the specified offset.
362 * locks. */
411 /* a global lock allows us to avoid per chain locks */
440 * Just increment the in-memory struct, posix locks
457 /* Since fcntl locks don't nest, we do a lock for the first one,
506 /* a global lock allows us to avoid per chain locks */
625 /* There are no locks on read-only dbs */
640 /* can't combine global and chain locks */
668 /* There are no locks on read-only dbs */
794 Write locks override our own fcntl readlocks, so check it here.
816 /* fcntl locks don't stack: avoid unlocking someone else's */
1255 - don't allow any locks to be held when a transaction starts,
1257 in posix locks would mean the lock is lost)
1601 /* the caller must not have any locks when starting a
1603 of nested locks in posix */
1604 TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_transaction_start: cannot start a transaction with locks held\n"));
1636 TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_transaction_start: failed to get hash locks\n"));
1719 /* remove any locks created during the transaction */
2012 /* if there are any locks pending then the caller has not
2013 nested their locks properly, so fail the transaction */
2016 TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_transaction_commit: locks pending on commit\n"));
2023 TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_transaction_start: failed to upgrade hash locks\n"));
2123 transaction locks */
2765 /* fcntl locks don't stack: beware traverse inside traverse */
2768 /* tdb_next_lock places locks on the record returned, and its chain */
2875 /* Grab first record: locks chain and returned record. */
2932 /* Grab next record: locks chain and returned record,
3709 /* all contexts, to ensure no double-opens (fcntl locks don't nest!) */
4064 seek pointer from our parent and to re-establish locks */
4074 TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_reopen: reopen not allowed with locks held\n"));
4130 * keep POSIX locks as a non-scalable data