Searched refs:VERSION_LEN (Results 1 – 4 of 4) sorted by relevance
/external/f2fs-tools/lib/ |
D | libf2fs.c | 822 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/ |
D | f2fs_fs.h | 353 #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/ |
D | f2fs_format.c | 572 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/ |
D | mount.c | 964 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()
|