Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:F_RDLCK

413 	    (ltype == tdb->global_lock.ltype || ltype == F_RDLCK)) {
508 (ltype == tdb->global_lock.ltype || ltype == F_RDLCK)) {
728 return _tdb_lockall(tdb, F_RDLCK, F_SETLKW);
734 return _tdb_lockall(tdb, F_RDLCK, F_SETLK);
740 return _tdb_unlockall(tdb, F_RDLCK);
777 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK);
782 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK);
790 return off ? tdb->methods->tdb_brlock(tdb, off, F_RDLCK, F_SETLKW, 0, 1) : 0;
1635 if (tdb_brlock(tdb, FREELIST_TOP, F_RDLCK, F_SETLKW, 0, 0) == -1) {
2819 struct tdb_traverse_lock tl = { NULL, 0, 0, F_RDLCK };
2824 if (tdb_transaction_lock(tdb, F_RDLCK)) {
2873 tdb->travlocks.lock_rw = F_RDLCK;
3195 if (!(rec_ptr = tdb_find_lock_hash(tdb,key,hash,F_RDLCK,&rec)))
3201 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
3234 if (!(rec_ptr = tdb_find_lock_hash(tdb,key,hash,F_RDLCK,&rec))) {
3241 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
3256 if (tdb_find_lock_hash(tdb, key, hash, F_RDLCK, &rec) == 0)
3258 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
3962 if (tdb->methods->tdb_brlock(tdb, ACTIVE_LOCK, F_RDLCK, F_SETLKW, 0, 1) == -1)
4095 (tdb->methods->tdb_brlock(tdb, ACTIVE_LOCK, F_RDLCK, F_SETLKW, 0, 1) == -1)) {