Lines Matching refs:rec_len
170 tdb_len_t rec_len; /* total byte length of record */ member
1105 rec.rec_len = size - sizeof(rec); in tdb_expand()
1803 rec.rec_len = 0; in tdb_recovery_allocate()
1813 if (recovery_head != 0 && *recovery_size <= rec.rec_len) { in tdb_recovery_allocate()
1815 *recovery_max_size = rec.rec_len; in tdb_recovery_allocate()
1901 rec->rec_len = recovery_max_size; in transaction_setup_recovery()
2313 totalsize = sizeof(*rec) + rec->rec_len; in update_tailer()
2335 right = offset + sizeof(*rec) + rec->rec_len; in tdb_free()
2350 rec->rec_len += sizeof(r) + r.rec_len; in tdb_free()
2387 rec->rec_len += leftsize; in tdb_free()
2431 if (rec->rec_len > length + MIN_REC_SIZE) { in tdb_allocate_ofs()
2436 newrec.rec_len = rec->rec_len - (sizeof(*rec) + length); in tdb_allocate_ofs()
2440 rec->rec_len = length; in tdb_allocate_ofs()
2488 tdb_len_t rec_len; in tdb_allocate() member
2506 bestfit.rec_len = 0; in tdb_allocate()
2518 if (rec->rec_len >= length) { in tdb_allocate()
2520 rec->rec_len < bestfit.rec_len) { in tdb_allocate()
2521 bestfit.rec_len = rec->rec_len; in tdb_allocate()
2527 if (bestfit.rec_len < 2*length) { in tdb_allocate()
2962 hash, offset, rec.next, rec.rec_len, rec.key_len, rec.data_len, in tdb_dump_record()
2965 tailer_ofs = offset + sizeof(rec) + rec.rec_len - sizeof(tdb_off_t); in tdb_dump_record()
2972 if (tailer != rec.rec_len + sizeof(rec)) { in tdb_dump_record()
2974 (unsigned int)tailer, (unsigned int)(rec.rec_len + sizeof(rec))); in tdb_dump_record()
3044 rec_ptr, rec.rec_len, rec.rec_len, rec_ptr + rec.rec_len); in tdb_printfreelist()
3045 total_free += rec.rec_len; in tdb_printfreelist()
3158 if (rec.rec_len < key.dsize + dbuf.dsize + sizeof(tdb_off_t)) { in tdb_update_hash()
3435 if (TDB_DEAD(r) && r->rec_len >= length) { in tdb_find_dead()