Home | History | Annotate | Download | only in pppd

Lines Matching refs:last_ptr

606 	tdb_off last_ptr, i;
609 last_ptr = FREELIST_TOP;
610 while (ofs_read(tdb, last_ptr, &i) != -1 && i != 0) {
613 return ofs_write(tdb, last_ptr, &next);
616 last_ptr = i;
841 tdb_off rec_ptr, last_ptr, newrec_ptr;
853 last_ptr = FREELIST_TOP;
881 if (ofs_write(tdb, last_ptr, &rec->next) == -1)
909 last_ptr = rec_ptr;
1168 tdb_off last_ptr, i;
1184 for (last_ptr = 0; i != rec_ptr; last_ptr = i, i = lastrec.next)
1189 if (last_ptr == 0)
1190 last_ptr = TDB_HASH_TOP(rec->full_hash);
1191 if (ofs_write(tdb, last_ptr, &rec->next) == -1)