Searched refs:mem_tdb (Results 1 – 1 of 1) sorted by relevance
2567 static int seen_insert(struct tdb_context *mem_tdb, tdb_off_t rec_ptr) in seen_insert() argument2574 return tdb_store(mem_tdb, key, data, TDB_INSERT); in seen_insert()2579 struct tdb_context *mem_tdb = NULL; in tdb_validate_freelist() local2586 mem_tdb = tdb_open("flval", tdb->header.hash_size, in tdb_validate_freelist()2588 if (!mem_tdb) { in tdb_validate_freelist()2593 tdb_close(mem_tdb); in tdb_validate_freelist()2600 if (seen_insert(mem_tdb, last_ptr) == -1) { in tdb_validate_freelist()2616 if (seen_insert(mem_tdb, rec_ptr)) { in tdb_validate_freelist()2635 tdb_close(mem_tdb); in tdb_validate_freelist()