Lines Matching refs:magic
68 #define TDB_DEAD(r) ((r)->magic == TDB_DEAD_MAGIC)
69 #define TDB_BAD_MAGIC(r) ((r)->magic != TDB_MAGIC && !TDB_DEAD(r))
174 uint32_t magic; /* try to catch errors */ member
462 TDB_LOG((tdb, 0,"rec_read bad magic 0x%x at offset=%d\n", rec->magic, offset));
479 if (rec->magic == TDB_MAGIC) {
483 rec->magic, off));
484 rec->magic = TDB_FREE_MAGIC;
489 if (rec->magic != TDB_FREE_MAGIC) {
493 rec->magic, off));
559 if (r.magic == TDB_FREE_MAGIC) {
589 if (l.magic == TDB_FREE_MAGIC) {
607 rec->magic = TDB_FREE_MAGIC;
785 rec->magic = TDB_MAGIC;
1124 rec->magic = TDB_DEAD_MAGIC;
1494 rec.magic = TDB_MAGIC;