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()430 lc->disk_header = NULL; in create_log_context()465 lc->disk_header = vmalloc(buf_size); in create_log_context()466 if (!lc->disk_header) { in create_log_context()473 lc->io_req.mem.ptr.vma = lc->disk_header; in create_log_context()474 lc->clean_bits = (void *)lc->disk_header + in create_log_context()487 vfree(lc->disk_header); in create_log_context()502 vfree(lc->disk_header); in create_log_context()567 vfree(lc->disk_header); in disk_dtr()[all …]
65 struct disk_header { struct305 struct disk_header *dh; in read_header()381 struct disk_header *dh; in write_header()
78 struct disk_bitmap_header *disk_header = dm_block_data(b); in dm_bitmap_prepare_for_write() local80 disk_header->blocknr = cpu_to_le64(dm_block_location(b)); in dm_bitmap_prepare_for_write()81 disk_header->csum = cpu_to_le32(dm_bm_checksum(&disk_header->not_used, in dm_bitmap_prepare_for_write()90 struct disk_bitmap_header *disk_header = dm_block_data(b); in dm_bitmap_check() local93 if (dm_block_location(b) != le64_to_cpu(disk_header->blocknr)) { in dm_bitmap_check()95 le64_to_cpu(disk_header->blocknr), dm_block_location(b)); in dm_bitmap_check()99 csum_disk = cpu_to_le32(dm_bm_checksum(&disk_header->not_used, in dm_bitmap_check()102 if (csum_disk != disk_header->csum) { in dm_bitmap_check()104 le32_to_cpu(csum_disk), le32_to_cpu(disk_header->csum)); in dm_bitmap_check()