• Home
  • Raw
  • Download

Lines Matching refs:rec_len

171 	tdb_len_t rec_len; /* total byte length of record */  member
1110 rec.rec_len = size - sizeof(rec); in tdb_expand()
1808 rec.rec_len = 0; in tdb_recovery_allocate()
1818 if (recovery_head != 0 && *recovery_size <= rec.rec_len) { in tdb_recovery_allocate()
1820 *recovery_max_size = rec.rec_len; in tdb_recovery_allocate()
1906 rec->rec_len = recovery_max_size; in transaction_setup_recovery()
2318 totalsize = sizeof(*rec) + rec->rec_len; in update_tailer()
2340 right = offset + sizeof(*rec) + rec->rec_len; in tdb_free()
2355 rec->rec_len += sizeof(r) + r.rec_len; in tdb_free()
2392 rec->rec_len += leftsize; in tdb_free()
2436 if (rec->rec_len > length + MIN_REC_SIZE) { in tdb_allocate_ofs()
2441 newrec.rec_len = rec->rec_len - (sizeof(*rec) + length); in tdb_allocate_ofs()
2445 rec->rec_len = length; in tdb_allocate_ofs()
2493 tdb_len_t rec_len; in tdb_allocate() member
2511 bestfit.rec_len = 0; in tdb_allocate()
2523 if (rec->rec_len >= length) { in tdb_allocate()
2525 rec->rec_len < bestfit.rec_len) { in tdb_allocate()
2526 bestfit.rec_len = rec->rec_len; in tdb_allocate()
2532 if (bestfit.rec_len < 2*length) { in tdb_allocate()
2967 hash, offset, rec.next, rec.rec_len, rec.key_len, rec.data_len, in tdb_dump_record()
2970 tailer_ofs = offset + sizeof(rec) + rec.rec_len - sizeof(tdb_off_t); in tdb_dump_record()
2977 if (tailer != rec.rec_len + sizeof(rec)) { in tdb_dump_record()
2979 (unsigned int)tailer, (unsigned int)(rec.rec_len + sizeof(rec))); in tdb_dump_record()
3049 rec_ptr, rec.rec_len, rec.rec_len, rec_ptr + rec.rec_len); in tdb_printfreelist()
3050 total_free += rec.rec_len; in tdb_printfreelist()
3163 if (rec.rec_len < key.dsize + dbuf.dsize + sizeof(tdb_off_t)) { in tdb_update_hash()
3440 if (TDB_DEAD(r) && r->rec_len >= length) { in tdb_find_dead()