Lines Matching refs:disk
60 * For example, if type_name was "clustered-disk", it would search
61 * 'dm-log-clustered-disk' then 'dm-log-clustered'.
195 * The on-disk version of the metadata.
280 static void header_to_disk(struct log_header_core *core, struct log_header_disk *disk)
282 disk->magic = cpu_to_le32(core->magic);
283 disk->version = cpu_to_le32(core->version);
284 disk->nr_regions = cpu_to_le64(core->nr_regions);
287 static void header_from_disk(struct log_header_core *core, struct log_header_disk *disk)
289 core->magic = le32_to_cpu(disk->magic);
290 core->version = le32_to_cpu(disk->version);
291 core->nr_regions = le64_to_cpu(disk->nr_regions);
339 DMWARN("incompatible disk log version");
463 DMWARN("couldn't allocate disk io client");
470 DMWARN("couldn't allocate disk log buffer");
537 * disk log constructor/destructor
548 DMWARN("wrong number of arguments to disk dirty region log");
591 /* read the disk header */
693 * re-reading the log off disk). So mark all of them
843 .name = "disk",
871 DMWARN("couldn't register disk type");