Home
last modified time | relevance | path

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

/external/f2fs-tools/mkfs/
Df2fs_format.c1135 uint8_t *zero_buff; in f2fs_write_super_block() local
1137 zero_buff = calloc(F2FS_BLKSIZE, 1); in f2fs_write_super_block()
1138 if (zero_buff == NULL) { in f2fs_write_super_block()
1143 memcpy(zero_buff + F2FS_SUPER_OFFSET, sb, sizeof(*sb)); in f2fs_write_super_block()
1146 if (dev_write_block(zero_buff, index)) { in f2fs_write_super_block()
1149 free(zero_buff); in f2fs_write_super_block()
1154 free(zero_buff); in f2fs_write_super_block()