Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:tdb_lock

258 static int tdb_lock(struct tdb_context *tdb, int list, int ltype);
422 TDB_LOG((tdb, TDB_DEBUG_ERROR,"tdb_lock: invalid list %d for ltype=%d\n",
436 TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_lock: "
476 int tdb_lock(struct tdb_context *tdb, int list, int ltype)
481 TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_lock failed on list %d "
747 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK);
761 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK);
777 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK);
1057 if (tdb_lock(tdb, -1, F_WRLCK) == -1) {
2327 if (tdb_lock(tdb, -1, F_WRLCK) != 0)
2493 if (tdb_lock(tdb, -1, F_WRLCK) == -1)
2594 if (tdb_lock(tdb, -1, F_WRLCK) == -1) {
2687 if (tdb_lock(tdb, tlock->hash, tlock->lock_rw) == -1)
2898 if (tdb_lock(tdb,tdb->travlocks.hash,tdb->travlocks.lock_rw))
2987 if (tdb_lock(tdb, i, F_WRLCK) != 0)
3020 if ((ret = tdb_lock(tdb, -1, F_WRLCK)) != 0)
3140 if (tdb_lock(tdb, BUCKET(hash), locktype) == -1)
3334 if (tdb_lock(tdb, -1, F_WRLCK) == -1) {
3377 if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1)
3471 if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1)
3545 if (tdb_lock(tdb, -1, F_WRLCK) == -1) {
3603 if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1)