• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/tdb/

Lines Matching refs:tdb_unlock

283 static int tdb_unlock(TDB_CONTEXT *tdb, int list, int ltype)
292 TDB_LOG((tdb, 0, "tdb_unlock: list %d invalid (%d)\n", list, tdb->header.hash_size));
297 TDB_LOG((tdb, 0, "tdb_unlock: count is 0\n"));
314 TDB_LOG((tdb, 0,"tdb_unlock: An error occurred unlocking!\n"));
545 return tdb_unlock(tdb, i, F_WRLCK);
554 return tdb_unlock(tdb, i, F_WRLCK);
581 tdb_unlock(tdb, -1, F_WRLCK);
588 tdb_unlock(tdb, -1, F_WRLCK);
594 tdb_unlock(tdb, -1, F_WRLCK);
607 return tdb_unlock(tdb, -1, F_WRLCK);
714 tdb_unlock(tdb, -1, F_WRLCK);
718 tdb_unlock(tdb, -1, F_WRLCK);
832 tdb_unlock(tdb, -1, F_WRLCK);
835 tdb_unlock(tdb, -1, F_WRLCK);
910 tdb_unlock(tdb, -1, F_WRLCK);
922 tdb_unlock(tdb, -1, F_WRLCK);
1031 tdb_unlock(tdb, BUCKET(hash), locktype);
1117 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
1133 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
1265 tdb_unlock(tdb, tlock->hash, F_WRLCK);
1273 if (tdb_unlock(tdb, tlock->hash, F_WRLCK) != 0)
1306 if (tdb_unlock(tdb, tl.hash, F_WRLCK) != 0)
1317 if (tdb_unlock(tdb, tl.hash, F_WRLCK) != 0) {
1358 if (tdb_unlock(tdb, BUCKET(tdb->travlocks.hash), F_WRLCK) != 0)
1382 if (tdb_unlock(tdb, tdb->travlocks.hash, F_WRLCK) != 0)
1410 if (tdb_unlock(tdb, tdb->travlocks.hash, F_WRLCK) != 0)
1411 TDB_LOG((tdb, 0, "tdb_nextkey: WARNING tdb_unlock failed!\n"));
1414 if (tdb_unlock(tdb, BUCKET(oldhash), F_WRLCK) != 0)
1415 TDB_LOG((tdb, 0, "tdb_nextkey: WARNING tdb_unlock failed!\n"));
1429 if (tdb_unlock(tdb, BUCKET(rec.full_hash), F_WRLCK) != 0)
1430 TDB_LOG((tdb, 0, "tdb_delete: WARNING tdb_unlock failed!\n"));
1512 tdb_unlock(tdb, BUCKET(hash), F_WRLCK);
1638 tdb_unlock(tdb, BUCKET(hash), F_WRLCK);
1908 tdb_unlock(tdb, j, F_WRLCK);
1918 tdb_unlock(tdb, i, F_WRLCK);
1948 tdb_unlock(tdb, j, F_WRLCK);
1962 tdb_unlock(tdb, tdb->lockedkeys[i+1], F_WRLCK);
1975 return tdb_unlock(tdb, BUCKET(tdb_hash(&key)), F_WRLCK);
1988 return tdb_unlock(tdb, BUCKET(tdb_hash(&key)), F_RDLCK);