Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:last_ptr

2289 	tdb_off_t last_ptr, i;
2292 last_ptr = FREELIST_TOP;
2293 while (tdb_ofs_read(tdb, last_ptr, &i) != -1 && i != 0) {
2296 return tdb_ofs_write(tdb, last_ptr, &next);
2299 last_ptr = i;
2423 struct list_struct *rec, tdb_off_t last_ptr)
2446 if (tdb_ofs_write(tdb, last_ptr, &rec->next) == -1) {
2485 tdb_off_t rec_ptr, last_ptr, newrec_ptr;
2487 tdb_off_t rec_ptr, last_ptr;
2498 last_ptr = FREELIST_TOP;
2505 bestfit.last_ptr = 0;
2523 bestfit.last_ptr = last_ptr;
2534 last_ptr = rec_ptr;
2543 newrec_ptr = tdb_allocate_ofs(tdb, length, bestfit.rec_ptr, rec, bestfit.last_ptr);
2581 tdb_off_t rec_ptr, last_ptr;
2597 last_ptr = FREELIST_TOP;
2600 if (seen_insert(mem_tdb, last_ptr) == -1) {
2626 last_ptr = rec_ptr;
3267 tdb_off_t last_ptr, i;
3283 for (last_ptr = 0; i != rec_ptr; last_ptr = i, i = lastrec.next)
3288 if (last_ptr == 0)
3289 last_ptr = TDB_HASH_TOP(rec->full_hash);
3290 if (tdb_ofs_write(tdb, last_ptr, &rec->next) == -1)