6798a54839256e436c42f4ce1a321d87ac1241f4
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 #define _FILE_OFFSET_BITS 64
20 #include "libfstools.h"
23 #define F2FS_MINSIZE (100ULL * 1024ULL * 1024ULL)
25 int read_uint_from_file(char *dirname
, char *filename
, unsigned int *i
);
26 char *read_string_from_file(const char *dirname
, const char *filename
, char *buf
, size_t bufsz
);
27 int block_file_identify(FILE *f
, uint64_t offset
);
28 int block_volume_format(struct volume
*v
, uint64_t offset
, const char *bdev
);