Lines Matching refs:disk
61 * For example, if type_name was "clustered-disk", it would search
62 * 'dm-log-clustered-disk' then 'dm-log-clustered'.
198 * The on-disk version of the metadata.
285 static void header_to_disk(struct log_header_core *core, struct log_header_disk *disk)
287 disk->magic = cpu_to_le32(core->magic);
288 disk->version = cpu_to_le32(core->version);
289 disk->nr_regions = cpu_to_le64(core->nr_regions);
292 static void header_from_disk(struct log_header_core *core, struct log_header_disk *disk)
294 core->magic = le32_to_cpu(disk->magic);
295 core->version = le32_to_cpu(disk->version);
296 core->nr_regions = le64_to_cpu(disk->nr_regions);
342 DMWARN("incompatible disk log version");
466 DMWARN("couldn't allocate disk io client");
473 DMWARN("couldn't allocate disk log buffer");
541 * disk log constructor/destructor
553 DMWARN("wrong number of arguments to disk dirty region log");
596 /* read the disk header */
702 * re-reading the log off disk). So mark all of them
866 .name = "disk",
894 DMWARN("couldn't register disk type");