Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dtdb.c232 struct tdb_lock_type *lockrecs; /* only real locks, all with count>0 */ member
430 if (tdb->lockrecs[i].list == list) { in _tdb_lock()
431 if (tdb->lockrecs[i].count == 0) { in _tdb_lock()
443 tdb->lockrecs[i].count++; in _tdb_lock()
449 tdb->lockrecs, in _tdb_lock()
450 sizeof(*tdb->lockrecs) * (tdb->num_lockrecs+1)); in _tdb_lock()
455 tdb->lockrecs = new_lck; in _tdb_lock()
467 tdb->lockrecs[tdb->num_lockrecs].list = list; in _tdb_lock()
468 tdb->lockrecs[tdb->num_lockrecs].count = 1; in _tdb_lock()
469 tdb->lockrecs[tdb->num_lockrecs].ltype = ltype; in _tdb_lock()
[all …]