Home
last modified time | relevance | path

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

/external/f2fs-tools/lib/
Dlibf2fs.c822 for (i = 0; i < VERSION_LEN; i++) { in get_kernel_version()
826 memset(version + i, 0, VERSION_LEN + 1 - i); in get_kernel_version()
834 memset(version, 0, VERSION_LEN); in get_kernel_uname_version()
840 VERSION_LEN, "%s %s", buf.release, buf.version); in get_kernel_uname_version()
843 VERSION_LEN, "%s", buf.release); in get_kernel_uname_version()
846 memset(version, 0, VERSION_LEN); in get_kernel_uname_version()
/external/f2fs-tools/include/
Df2fs_fs.h353 #define VERSION_LEN 256 macro
464 __u8 init_version[VERSION_LEN + 1];
465 __u8 sb_version[VERSION_LEN + 1];
466 __u8 version[VERSION_LEN + 1];
767 __u8 version[VERSION_LEN]; /* the kernel version */
768 __u8 init_version[VERSION_LEN]; /* the initial kernel version */
/external/f2fs-tools/mkfs/
Df2fs_format.c572 dev_read_version(c.version, 0, VERSION_LEN); in f2fs_prepare_super_block()
579 memcpy(sb->version, c.version, VERSION_LEN); in f2fs_prepare_super_block()
580 memcpy(sb->init_version, c.version, VERSION_LEN); in f2fs_prepare_super_block()
/external/f2fs-tools/fsck/
Dmount.c964 dev_read_version(c.version, 0, VERSION_LEN); in validate_super_block()
971 memcpy(c.sb_version, sbi->raw_super->version, VERSION_LEN); in validate_super_block()
973 memcpy(c.init_version, sbi->raw_super->init_version, VERSION_LEN); in validate_super_block()
980 memcmp(c.sb_version, c.version, VERSION_LEN)) { in validate_super_block()
986 c.version, VERSION_LEN); in validate_super_block()