Lines Matching defs:last_ptr
613 tdb_off last_ptr, i;
616 last_ptr = FREELIST_TOP;
617 while (ofs_read(tdb, last_ptr, &i) != -1 && i != 0) {
620 return ofs_write(tdb, last_ptr, &next);
623 last_ptr = i;
848 tdb_off rec_ptr, last_ptr, newrec_ptr;
858 last_ptr = FREELIST_TOP;
886 if (ofs_write(tdb, last_ptr, &rec->next) == -1)
914 last_ptr = rec_ptr;
1183 tdb_off last_ptr, i;
1199 for (last_ptr = 0; i != rec_ptr; last_ptr = i, i = lastrec.next)
1204 if (last_ptr == 0)
1205 last_ptr = TDB_HASH_TOP(rec->full_hash);
1206 if (ofs_write(tdb, last_ptr, &rec->next) == -1)