Home | History | Annotate | Download | only in pppd

Lines Matching refs:F_RDLCK

1087 	if (!(rec_ptr = tdb_find_lock_hash(tdb,key,hash,F_RDLCK,&rec)))
1096 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
1110 if (tdb_find_lock_hash(tdb, key, hash, F_RDLCK, &rec) == 0)
1112 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
1125 return off ? tdb_brlock(tdb, off, F_RDLCK, F_SETLKW, 0) : 0;
1824 if (tdb_brlock(tdb, ACTIVE_LOCK, F_RDLCK, F_SETLKW, 0) == -1)
1941 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK);
1946 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK);
1984 if ((tdb->flags & TDB_CLEAR_IF_FIRST) && (tdb_brlock(tdb, ACTIVE_LOCK, F_RDLCK, F_SETLKW, 0) == -1)) {