Home
last modified time | relevance | path

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

/system/extras/f2fs_utils/
Df2fs_sparseblock.c141 SLOGD("sit_sums loc: %p", info->sit_sums); in dbg_print_info_struct()
142 SLOGD("sit_sums num: %d", le16_to_cpu(info->sit_sums->n_sits)); in dbg_print_info_struct()
144 for(i = 0; i < (le16_to_cpu(info->sit_sums->n_sits)); i++) { in dbg_print_info_struct()
145 …ntry %d in journal entries is for segment %d",i, le32_to_cpu(segno_in_journal(info->sit_sums, i))); in dbg_print_info_struct()
357 info->sit_sums = calloc(1, sizeof(struct f2fs_summary_block)); in get_sit_summary()
358 if (!info->sit_sums) in get_sit_summary()
365 memcpy(&info->sit_sums->n_sits, &buffer[SUM_JOURNAL_SIZE], SUM_JOURNAL_SIZE); in get_sit_summary()
376 memcpy(info->sit_sums, buffer, sizeof(struct f2fs_summary_block)); in get_sit_summary()
466 free(info->sit_sums); in free_f2fs_info()
467 info->sit_sums = NULL; in free_f2fs_info()
[all …]
Df2fs_sparseblock.h47 struct f2fs_summary_block *sit_sums; member