Searched refs:disk_header (Results 1 – 3 of 3) sorted by relevance
251 struct log_header_disk *disk_header; member324 header_from_disk(&log->header, log->disk_header); in read_header()434 lc->disk_header = NULL; in create_log_context()469 lc->disk_header = vmalloc(buf_size); in create_log_context()470 if (!lc->disk_header) { in create_log_context()477 lc->io_req.mem.ptr.vma = lc->disk_header; in create_log_context()478 lc->clean_bits = (void *)lc->disk_header + in create_log_context()491 vfree(lc->disk_header); in create_log_context()506 vfree(lc->disk_header); in create_log_context()571 vfree(lc->disk_header); in disk_dtr()[all …]
65 struct disk_header { struct313 struct disk_header *dh; in read_header()390 struct disk_header *dh; in write_header()
76 struct disk_bitmap_header *disk_header = dm_block_data(b); in dm_bitmap_prepare_for_write() local78 disk_header->blocknr = cpu_to_le64(dm_block_location(b)); in dm_bitmap_prepare_for_write()79 disk_header->csum = cpu_to_le32(dm_bm_checksum(&disk_header->not_used, in dm_bitmap_prepare_for_write()88 struct disk_bitmap_header *disk_header = dm_block_data(b); in dm_bitmap_check() local91 if (dm_block_location(b) != le64_to_cpu(disk_header->blocknr)) { in dm_bitmap_check()93 le64_to_cpu(disk_header->blocknr), dm_block_location(b)); in dm_bitmap_check()97 csum_disk = cpu_to_le32(dm_bm_checksum(&disk_header->not_used, in dm_bitmap_check()100 if (csum_disk != disk_header->csum) { in dm_bitmap_check()102 le32_to_cpu(csum_disk), le32_to_cpu(disk_header->csum)); in dm_bitmap_check()