1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef __COW_H__ 3 #define __COW_H__ 4 5 #include <asm/types.h> 6 7 extern int init_cow_file(int fd, char *cow_fil 8 int sectorsize, int a 9 unsigned long *bitmap 10 11 extern int file_reader(__u64 offset, char *buf 12 extern int read_cow_header(int (*reader)(__u64 13 void *arg, __u32 *v 14 char **backing_file 15 unsigned long long 16 __u32 *align_out, i 17 18 extern int write_cow_header(char *cow_file, in 19 int sectorsize, in 20 unsigned long long 21 22 extern void cow_sizes(int version, __u64 size, 23 int bitmap_offset, unsig 24 int *data_offset_out); 25 26 #endif 27
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.