Lines Matching full:tdb_unlock
259 static int tdb_unlock(struct tdb_context *tdb, int list, int ltype);
433 * Can't happen, see tdb_unlock(). It should
497 int tdb_unlock(struct tdb_context *tdb, int list, int ltype)
521 TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_unlock: list %d invalid (%d)\n", list, tdb->header.hash_size));
533 TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_unlock: count is 0\n"));
577 TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_unlock: An error occurred unlocking!\n"));
767 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK);
772 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK);
782 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK);
1114 tdb_unlock(tdb, -1, F_WRLCK);
1117 tdb_unlock(tdb, -1, F_WRLCK);
2411 tdb_unlock(tdb, -1, F_WRLCK);
2415 tdb_unlock(tdb, -1, F_WRLCK);
2546 tdb_unlock(tdb, -1, F_WRLCK);
2555 tdb_unlock(tdb, -1, F_WRLCK);
2638 tdb_unlock(tdb, -1, F_WRLCK);
2734 tdb_unlock(tdb, tlock->hash, tlock->lock_rw);
2742 if (tdb_unlock(tdb, tlock->hash, tlock->lock_rw) != 0)
2776 if (tdb_unlock(tdb, tl->hash, tl->lock_rw) != 0)
2787 if (tdb_unlock(tdb, tl->hash, tl->lock_rw) != 0) {
2883 if (tdb_unlock(tdb, tdb->travlocks.hash, tdb->travlocks.lock_rw) != 0)
2909 if (tdb_unlock(tdb, tdb->travlocks.hash, tdb->travlocks.lock_rw) != 0) {
2939 if (tdb_unlock(tdb, tdb->travlocks.hash, tdb->travlocks.lock_rw) != 0)
2940 TDB_LOG((tdb, TDB_DEBUG_FATAL, "tdb_nextkey: WARNING tdb_unlock failed!\n"));
2943 if (tdb_unlock(tdb, BUCKET(oldhash), tdb->travlocks.lock_rw) != 0)
2944 TDB_LOG((tdb, TDB_DEBUG_FATAL, "tdb_nextkey: WARNING tdb_unlock failed!\n"));
2991 return tdb_unlock(tdb, i, F_WRLCK);
3000 return tdb_unlock(tdb, i, F_WRLCK);
3027 tdb_unlock(tdb, -1, F_WRLCK);
3035 tdb_unlock(tdb, -1, F_WRLCK);
3041 tdb_unlock(tdb, -1, F_WRLCK);
3055 return tdb_unlock(tdb, -1, F_WRLCK);
3143 tdb_unlock(tdb, BUCKET(hash), locktype);
3201 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
3241 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
3258 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
3359 tdb_unlock(tdb, -1, F_WRLCK);
3389 tdb_unlock(tdb, BUCKET(hash), F_WRLCK);
3411 if (tdb_unlock(tdb, BUCKET(rec.full_hash), F_WRLCK) != 0)
3412 TDB_LOG((tdb, TDB_DEBUG_WARNING, "tdb_delete: WARNING tdb_unlock failed!\n"));
3551 tdb_unlock(tdb, -1, F_WRLCK);
3558 tdb_unlock(tdb, -1, F_WRLCK);
3589 tdb_unlock
3630 tdb_unlock(tdb, BUCKET(hash), F_WRLCK);