Linux Kernel
3.7.1
|
#include <asm/types.h>
Go to the source code of this file.
Functions | |
int | init_cow_file (int fd, char *cow_file, char *backing_file, int sectorsize, int alignment, int *bitmap_offset_out, unsigned long *bitmap_len_out, int *data_offset_out) |
int | file_reader (__u64 offset, char *buf, int len, void *arg) |
int | read_cow_header (int(*reader)(__u64, char *, int, void *), void *arg, __u32 *version_out, char **backing_file_out, time_t *mtime_out, unsigned long long *size_out, int *sectorsize_out, __u32 *align_out, int *bitmap_offset_out) |
int | write_cow_header (char *cow_file, int fd, char *backing_file, int sectorsize, int alignment, unsigned long long *size) |
void | cow_sizes (int version, __u64 size, int sectorsize, int align, int bitmap_offset, unsigned long *bitmap_len_out, int *data_offset_out) |
void cow_sizes | ( | int | version, |
__u64 | size, | ||
int | sectorsize, | ||
int | align, | ||
int | bitmap_offset, | ||
unsigned long * | bitmap_len_out, | ||
int * | data_offset_out | ||
) |
Definition at line 124 of file cow_user.c.
Definition at line 268 of file cow_user.c.
int init_cow_file | ( | int | fd, |
char * | cow_file, | ||
char * | backing_file, | ||
int | sectorsize, | ||
int | alignment, | ||
int * | bitmap_offset_out, | ||
unsigned long * | bitmap_len_out, | ||
int * | data_offset_out | ||
) |
Definition at line 402 of file cow_user.c.
int read_cow_header | ( | int(*)(__u64, char *, int, void *) | reader, |
void * | arg, | ||
__u32 * | version_out, | ||
char ** | backing_file_out, | ||
time_t * | mtime_out, | ||
unsigned long long * | size_out, | ||
int * | sectorsize_out, | ||
__u32 * | align_out, | ||
int * | bitmap_offset_out | ||
) |
Definition at line 277 of file cow_user.c.