Lines Matching refs:keyb
135 struct undo_key_block *keyb; member
198 data->keyb->magic = ext2fs_cpu_to_le32(KEYBLOCK_MAGIC); in write_undo_indexes()
199 data->keyb->crc = 0; in write_undo_indexes()
200 data->keyb->crc = ext2fs_cpu_to_le32( in write_undo_indexes()
202 (unsigned char *)data->keyb, in write_undo_indexes()
207 1, data->keyb); in write_undo_indexes()
212 memset(data->keyb, 0, data->tdb_data_size); in write_undo_indexes()
291 retval = ext2fs_get_mem(data->tdb_data_size, &data->keyb); in undo_setup_tdb()
305 data->keyb); in undo_setup_tdb()
307 memset(data->keyb, 0, data->tdb_data_size); in undo_setup_tdb()
309 data->keyb); in undo_setup_tdb()
316 memset(data->keyb, 0, data->tdb_data_size); in undo_setup_tdb()
430 key = data->keyb->keys + data->keys_in_block - 1; in undo_write_tdb()
448 key = data->keyb->keys + data->keys_in_block; in undo_write_tdb()
622 lblk, 1, data->keyb); in try_reopen_undo_file()
627 if (ext2fs_le32_to_cpu(data->keyb->magic) != KEYBLOCK_MAGIC) { in try_reopen_undo_file()
631 crc = data->keyb->crc; in try_reopen_undo_file()
632 data->keyb->crc = 0; in try_reopen_undo_file()
633 key_crc = ext2fs_crc32c_le(~0, (unsigned char *)data->keyb, in try_reopen_undo_file()
645 for (j = 0, dkey = data->keyb->keys; in try_reopen_undo_file()
673 ext2fs_free_mem(&data->keyb); in try_reopen_undo_file()
818 ext2fs_free_mem(&data->keyb); in undo_close()