Home
last modified time | relevance | path

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

/external/f2fs-tools/fsck/
Dmount.c717 struct curseg_info *curseg = CURSEG_I(sbi, CURSEG_HOT_DATA); in f2fs_init_nid_bitmap() local
718 struct f2fs_summary_block *sum = curseg->sum_blk; in f2fs_init_nid_bitmap()
943 struct curseg_info *curseg = CURSEG_I(sbi, type); in reset_curseg() local
947 sum_footer = &(curseg->sum_blk->footer); in reset_curseg()
953 se = get_seg_entry(sbi, curseg->segno); in reset_curseg()
959 struct curseg_info *curseg; in read_compacted_summaries() local
971 curseg = CURSEG_I(sbi, CURSEG_HOT_DATA); in read_compacted_summaries()
972 memcpy(&curseg->sum_blk->journal.n_nats, kaddr, SUM_JOURNAL_SIZE); in read_compacted_summaries()
974 curseg = CURSEG_I(sbi, CURSEG_COLD_DATA); in read_compacted_summaries()
975 memcpy(&curseg->sum_blk->journal.n_sits, kaddr + SUM_JOURNAL_SIZE, in read_compacted_summaries()
[all …]
Df2fs.h377 struct curseg_info *curseg = CURSEG_I(sbi, i); in IS_VALID_BLK_ADDR() local
379 if (START_BLOCK(sbi, curseg->segno) + in IS_VALID_BLK_ADDR()
380 curseg->next_blkoff == addr) in IS_VALID_BLK_ADDR()
391 struct curseg_info *curseg = CURSEG_I(sbi, i); in IS_CUR_SEGNO() local
396 if (segno == curseg->segno) in IS_CUR_SEGNO()
Dfsck.c1723 struct curseg_info *curseg = CURSEG_I(sbi, i); in flush_curseg_sit_entries() local
1728 se = get_seg_entry(sbi, curseg->segno); in flush_curseg_sit_entries()
1729 sit_blk = get_current_sit_page(sbi, curseg->segno); in flush_curseg_sit_entries()
1730 sit = &sit_blk->entries[SIT_ENTRY_OFFSET(sit_i, curseg->segno)]; in flush_curseg_sit_entries()
1733 rewrite_current_sit_page(sbi, curseg->segno, sit_blk); in flush_curseg_sit_entries()
1784 struct curseg_info *curseg = CURSEG_I(sbi, i); in fix_checkpoint() local
1786 ret = dev_write_block(curseg->sum_blk, cp_blk_no++); in fix_checkpoint()
1803 struct curseg_info *curseg = CURSEG_I(sbi, i); in check_curseg_offset() local
1807 if ((curseg->next_blkoff >> 3) >= SIT_VBLOCK_MAP_SIZE) in check_curseg_offset()
1809 se = get_seg_entry(sbi, curseg->segno); in check_curseg_offset()
[all …]
Dresize.c520 struct curseg_info *curseg = CURSEG_I(sbi, i); in rebuild_checkpoint() local
522 ret = dev_write_block(curseg->sum_blk, new_cp_blk_no++); in rebuild_checkpoint()
/external/libxml2/
Dtestrecurse.c172 static int curseg = 0; variable
242 if (curseg >= MAX_NODES + 1) { in hugeRead()
249 curseg ++; in hugeRead()
250 if (curseg == MAX_NODES) { in hugeRead()
255 if (curseg % (MAX_NODES / 10) == 0) in hugeRead()