Lines Matching refs:rec_len
170 tdb_len_t rec_len; /* total byte length of record */
177 char record[rec_len];
1105 rec.rec_len = size - sizeof(rec);
1803 rec.rec_len = 0;
1813 if (recovery_head != 0 && *recovery_size <= rec.rec_len) {
1815 *recovery_max_size = rec.rec_len;
1901 rec->rec_len = recovery_max_size;
2313 totalsize = sizeof(*rec) + rec->rec_len;
2335 right = offset + sizeof(*rec) + rec->rec_len;
2350 rec->rec_len += sizeof(r) + r.rec_len;
2387 rec->rec_len += leftsize;
2431 if (rec->rec_len > length + MIN_REC_SIZE) {
2436 newrec.rec_len = rec->rec_len - (sizeof(*rec) + length);
2440 rec->rec_len = length;
2488 tdb_len_t rec_len;
2506 bestfit.rec_len = 0;
2518 if (rec->rec_len >= length) {
2520 rec->rec_len < bestfit.rec_len) {
2521 bestfit.rec_len = rec->rec_len;
2527 if (bestfit.rec_len < 2*length) {
2960 printf(" rec: hash=%d offset=0x%08x next=0x%08x rec_len=%d "
2962 hash, offset, rec.next, rec.rec_len, rec.key_len, rec.data_len,
2965 tailer_ofs = offset + sizeof(rec) + rec.rec_len - sizeof(tdb_off_t);
2972 if (tailer != rec.rec_len + sizeof(rec)) {
2974 (unsigned int)tailer, (unsigned int)(rec.rec_len + sizeof(rec)));
3043 printf("entry offset=[0x%08x], rec.rec_len = [0x%08x (%d)] (end = 0x%08x)\n",
3044 rec_ptr, rec.rec_len, rec.rec_len, rec_ptr + rec.rec_len);
3045 total_free += rec.rec_len;
3050 printf("total rec_len = [0x%08x (%d)]\n", (int)total_free,
3158 if (rec.rec_len < key.dsize + dbuf.dsize + sizeof(tdb_off_t)) {
3435 if (TDB_DEAD(r) && r->rec_len >= length) {