Home | History | Annotate | Download | only in pppd

Lines Matching full:locked

268 	if (tdb->locked[list+1].count == 0) {
280 tdb->locked[list+1].ltype = ltype;
282 tdb->locked[list+1].count++;
302 if (tdb->locked[list+1].count==0) {
307 if (tdb->locked[list+1].count == 1) {
317 tdb->locked[list+1].count--;
1353 /* Is locked key the old key? If so, traverse will be reliable. */
1509 on failure return -1. Record must be locked before calling.
1683 int rev = 0, locked = 0;
1742 (locked = (tdb_brlock(tdb, ACTIVE_LOCK, F_WRLCK, F_SETLK, 0) == 0))) {
1793 tdb->locked = calloc(tdb->header.hash_size+1, sizeof(tdb->locked[0]));
1794 if (!tdb->locked) {
1802 if (locked) {
1855 SAFE_FREE(tdb->locked);
1881 SAFE_FREE(tdb->locked);
1928 contention - it cannot guarantee how many records will be locked */