Lines Matching refs:tl
1274 struct tdb_traverse_lock tl = { NULL, 0, 0 }; local
1280 tl.next = tdb->travlocks.next;
1283 tdb->travlocks.next = &tl;
1286 while ((ret = tdb_next_lock(tdb, &tl, &rec)) > 0) {
1289 key.dptr = tdb_alloc_read(tdb, tl.off + sizeof(rec),
1293 if (tdb_unlock(tdb, tl.hash, F_WRLCK) != 0)
1295 if (unlock_record(tdb, tl.off) != 0)
1304 if (tdb_unlock(tdb, tl.hash, F_WRLCK) != 0) {
1311 if (unlock_record(tdb, tl.off) != 0) {
1315 tdb->travlocks.next = tl.next;
1322 tdb->travlocks.next = tl.next;