Home
last modified time | relevance | path

Searched refs:lockrecs (Results 1 – 1 of 1) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dtdb.c231 struct tdb_lock_type *lockrecs; /* only real locks, all with count>0 */ member
428 if (tdb->lockrecs[i].list == list) { in _tdb_lock()
429 if (tdb->lockrecs[i].count == 0) { in _tdb_lock()
441 tdb->lockrecs[i].count++; in _tdb_lock()
447 tdb->lockrecs, in _tdb_lock()
448 sizeof(*tdb->lockrecs) * (tdb->num_lockrecs+1)); in _tdb_lock()
453 tdb->lockrecs = new_lck; in _tdb_lock()
465 tdb->lockrecs[tdb->num_lockrecs].list = list; in _tdb_lock()
466 tdb->lockrecs[tdb->num_lockrecs].count = 1; in _tdb_lock()
467 tdb->lockrecs[tdb->num_lockrecs].ltype = ltype; in _tdb_lock()
[all …]