Home
last modified time | relevance | path

Searched refs:VERSION_LEN (Results 1 – 4 of 4) sorted by relevance

/external/f2fs-tools/include/
Df2fs_fs.h292 #define VERSION_LEN 256 macro
342 __u8 init_version[VERSION_LEN + 1];
343 __u8 sb_version[VERSION_LEN + 1];
344 __u8 version[VERSION_LEN + 1];
601 __u8 version[VERSION_LEN]; /* the kernel version */
602 __u8 init_version[VERSION_LEN]; /* the initial kernel version */
/external/f2fs-tools/lib/
Dlibf2fs.c739 for (i = 0; i < VERSION_LEN; i++) { in get_kernel_version()
743 memset(version + i, 0, VERSION_LEN + 1 - i); in get_kernel_version()
751 memset(version, 0, VERSION_LEN); in get_kernel_uname_version()
756 VERSION_LEN, "%s %s", buf.release, buf.version); in get_kernel_uname_version()
758 memset(version, 0, VERSION_LEN); in get_kernel_uname_version()
/external/f2fs-tools/mkfs/
Df2fs_format.c441 dev_read_version(c.version, 0, VERSION_LEN); in f2fs_prepare_super_block()
448 memcpy(sb->version, c.version, VERSION_LEN); in f2fs_prepare_super_block()
449 memcpy(sb->init_version, c.version, VERSION_LEN); in f2fs_prepare_super_block()
/external/f2fs-tools/fsck/
Dmount.c625 dev_read_version(c.version, 0, VERSION_LEN); in validate_super_block()
632 memcpy(c.sb_version, sbi->raw_super->version, VERSION_LEN); in validate_super_block()
634 memcpy(c.init_version, sbi->raw_super->init_version, VERSION_LEN); in validate_super_block()
640 if (memcmp(c.sb_version, c.version, VERSION_LEN)) { in validate_super_block()
644 c.version, VERSION_LEN); in validate_super_block()