HomeSort by relevance Sort by last modified time
    Searched refs:tdb_lock (Results 1 - 2 of 2) sorted by null

  /external/ppp/pppd/
tdb.c 256 static int tdb_lock(TDB_CONTEXT *tdb, int list, int ltype) function
259 TDB_LOG((tdb, 0,"tdb_lock: invalid list %d for ltype=%d\n",
271 TDB_LOG((tdb, 0, "tdb_lock spinlock failed on list %d ltype=%d\n",
276 TDB_LOG((tdb, 0,"tdb_lock failed on list %d ltype=%d (%s)\n",
534 if (tdb_lock(tdb, i, F_WRLCK) != 0)
567 if ((ret = tdb_lock(tdb, -1, F_WRLCK)) != 0)
629 if (tdb_lock(tdb, -1, F_WRLCK) != 0)
774 if (tdb_lock(tdb, -1, F_WRLCK) == -1) {
846 if (tdb_lock(tdb, -1, F_WRLCK) == -1)
1005 if (tdb_lock(tdb, BUCKET(hash), locktype) == -1
    [all...]
  /external/e2fsprogs/lib/ext2fs/
tdb.c 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) function
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) {
    [all...]

Completed in 13 milliseconds