Home
last modified time | relevance | path

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

/external/f2fs-tools/include/
Df2fs_fs.h219 #define VERSION_LEN 256 macro
238 __u8 init_version[VERSION_LEN + 1];
239 __u8 sb_version[VERSION_LEN + 1];
240 __u8 version[VERSION_LEN + 1];
354 __u8 version[VERSION_LEN]; /* the kernel version */
355 __u8 init_version[VERSION_LEN]; /* the initial kernel version */
/external/libnfc-nxp/src/
DphHciNfc_IDMgmt.c55 #define VERSION_LEN 0x03U macro
793 for(i=0 ;(reg_length == VERSION_LEN)&&(i < reg_length); i++) in phHciNfc_IDMgmt_InfoUpdate()
796 (uint32_t)(reg_value[VERSION_LEN - i - 1] << (BYTE_SIZE * i)); in phHciNfc_IDMgmt_InfoUpdate()
804 for(i=0 ;(reg_length == VERSION_LEN)&&(i < reg_length); i++) in phHciNfc_IDMgmt_InfoUpdate()
807 (uint32_t)(reg_value[VERSION_LEN - i - 1] << (BYTE_SIZE * i)); in phHciNfc_IDMgmt_InfoUpdate()
/external/f2fs-tools/lib/
Dlibf2fs.c425 for (i = 0; i < VERSION_LEN; i++) { in get_kernel_version()
429 memset(version + i, 0, VERSION_LEN + 1 - i); in get_kernel_version()
/external/f2fs-tools/fsck/
Dmount.c256 dev_read_version(config.version, 0, VERSION_LEN); in validate_super_block()
259 memset(config.version, 0, VERSION_LEN); in validate_super_block()
263 memcpy(config.sb_version, sbi->raw_super->version, VERSION_LEN); in validate_super_block()
265 memcpy(config.init_version, sbi->raw_super->init_version, VERSION_LEN); in validate_super_block()
271 if (memcmp(config.sb_version, config.version, VERSION_LEN)) { in validate_super_block()
275 config.version, VERSION_LEN); in validate_super_block()
/external/f2fs-tools/mkfs/
Df2fs_format.c357 dev_read_version(config.version, 0, VERSION_LEN); in f2fs_prepare_super_block()
361 memset(config.version, 0, VERSION_LEN); in f2fs_prepare_super_block()
364 memcpy(sb.version, config.version, VERSION_LEN); in f2fs_prepare_super_block()
365 memcpy(sb.init_version, config.version, VERSION_LEN); in f2fs_prepare_super_block()