Searched refs:disk_header (Results 1 – 3 of 3) sorted by relevance
251 struct log_header_disk *disk_header; member322 header_from_disk(&log->header, log->disk_header); in read_header()432 lc->disk_header = NULL; in create_log_context()467 lc->disk_header = vmalloc(buf_size); in create_log_context()468 if (!lc->disk_header) { in create_log_context()475 lc->io_req.mem.ptr.vma = lc->disk_header; in create_log_context()476 lc->clean_bits = (void *)lc->disk_header + in create_log_context()489 vfree(lc->disk_header); in create_log_context()504 vfree(lc->disk_header); in create_log_context()569 vfree(lc->disk_header); in disk_dtr()[all …]
65 struct disk_header { struct311 struct disk_header *dh; in read_header()388 struct disk_header *dh; in write_header()
76 struct disk_bitmap_header *disk_header = dm_block_data(b); in bitmap_prepare_for_write() local78 disk_header->blocknr = cpu_to_le64(dm_block_location(b)); in bitmap_prepare_for_write()79 disk_header->csum = cpu_to_le32(dm_bm_checksum(&disk_header->not_used, in bitmap_prepare_for_write()88 struct disk_bitmap_header *disk_header = dm_block_data(b); in bitmap_check() local91 if (dm_block_location(b) != le64_to_cpu(disk_header->blocknr)) { in bitmap_check()93 le64_to_cpu(disk_header->blocknr), dm_block_location(b)); in bitmap_check()97 csum_disk = cpu_to_le32(dm_bm_checksum(&disk_header->not_used, in bitmap_check()100 if (csum_disk != disk_header->csum) { in bitmap_check()102 le32_to_cpu(csum_disk), le32_to_cpu(disk_header->csum)); in bitmap_check()