Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:last_ptr

2296 	tdb_off_t last_ptr, i;
2299 last_ptr = FREELIST_TOP;
2300 while (tdb_ofs_read(tdb, last_ptr, &i) != -1 && i != 0) {
2303 return tdb_ofs_write(tdb, last_ptr, &next);
2306 last_ptr = i;
2430 struct list_struct *rec, tdb_off_t last_ptr)
2453 if (tdb_ofs_write(tdb, last_ptr, &rec->next) == -1) {
2492 tdb_off_t rec_ptr, last_ptr, newrec_ptr;
2494 tdb_off_t rec_ptr, last_ptr;
2505 last_ptr = FREELIST_TOP;
2512 bestfit.last_ptr = 0;
2530 bestfit.last_ptr = last_ptr;
2541 last_ptr = rec_ptr;
2550 newrec_ptr = tdb_allocate_ofs(tdb, length, bestfit.rec_ptr, rec, bestfit.last_ptr);
2588 tdb_off_t rec_ptr, last_ptr;
2604 last_ptr = FREELIST_TOP;
2607 if (seen_insert(mem_tdb, last_ptr) == -1) {
2633 last_ptr = rec_ptr;
3274 tdb_off_t last_ptr, i;
3290 for (last_ptr = 0; i != rec_ptr; last_ptr = i, i = lastrec.next)
3295 if (last_ptr == 0)
3296 last_ptr = TDB_HASH_TOP(rec->full_hash);
3297 if (tdb_ofs_write(tdb, last_ptr, &rec->next) == -1)