Searched refs:BLKS_PER_SEG (Results 1 – 11 of 11) sorted by relevance
94 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) & (BLKS_PER_SEG(sbi) - 1))821 if (usable_blks_per_seg < BLKS_PER_SEG(sbi)) in check_block_count()823 BLKS_PER_SEG(sbi), in check_block_count()824 usable_blks_per_seg) != BLKS_PER_SEG(sbi)); in check_block_count()943 return BLKS_PER_SEG(sbi); in nr_pages_to_skip()
218 (block_off & (BLKS_PER_SEG(sbi) - 1))); in current_nat_addr()221 block_addr += BLKS_PER_SEG(sbi); in current_nat_addr()
1168 size = BLKS_PER_SEG(sbi); in __check_sit_bitmap()2115 if (start >= BLKS_PER_SEG(sbi)) in add_discard_addrs()2119 BLKS_PER_SEG(sbi), start + 1); in add_discard_addrs()2253 BLKS_PER_SEG(sbi), cur_pos); in f2fs_clear_prefree_segments()2265 BLKS_PER_SEG(sbi), cur_pos); in f2fs_clear_prefree_segments()2271 if (cur_pos < BLKS_PER_SEG(sbi)) in f2fs_clear_prefree_segments()2647 return BLKS_PER_SEG(sbi); in f2fs_curseg_valid_blocks()4250 blk_off = BLKS_PER_SEG(sbi); in read_compacted_summaries()5498 return BLKS_PER_SEG(sbi); in f2fs_usable_zone_blks_in_seg()5516 return BLKS_PER_SEG(sbi); in f2fs_usable_zone_blks_in_seg()[all …]
902 if (cp_blocks > BLKS_PER_SEG(sbi) || cp_blocks <= F2FS_CP_PACKS) { in validate_checkpoint()1538 blk = start_blk + BLKS_PER_SEG(sbi) - nm_i->nat_bits_blocks; in do_checkpoint()1738 sbi->max_orphans = (BLKS_PER_SEG(sbi) - F2FS_CP_PACKS - in f2fs_init_ino_entry_info()
96 else if (seg_blks == BLKS_PER_SEG(sbi)) in update_multidevice_stats()275 if (blks == BLKS_PER_SEG(sbi)) in update_general_status()
350 else if (next_blkaddr % BLKS_PER_SEG(sbi)) in adjust_por_ra_blocks()
329 return BLKS_PER_SEG(sbi); in get_max_cost()658 if (vblocks == BLKS_PER_SEG(sbi)) in atssr_lookup_victim()
2922 cnt < BLKS_PER_SEG(sbi)) { in f2fs_defragment_range()2944 if (map.m_lblk < pg_end && cnt < BLKS_PER_SEG(sbi)) in f2fs_defragment_range()4431 if (get_dirty_pages(inode) >= BLKS_PER_SEG(sbi)) { in f2fs_ioc_decompress_file()4511 if (get_dirty_pages(inode) >= BLKS_PER_SEG(sbi)) { in f2fs_ioc_compress_file()
1863 #define BLKS_PER_SEG(sbi) ((sbi)->blocks_per_seg) macro2677 start_addr += BLKS_PER_SEG(sbi); in __start_cp_addr()2686 start_addr += BLKS_PER_SEG(sbi); in __start_cp_next_addr()
2894 last_offset = BLKS_PER_SEG(sbi); in f2fs_restore_node_summary()3173 nat_bits_addr = __start_cp_addr(sbi) + BLKS_PER_SEG(sbi) - in __get_nat_bitmaps()
3770 blocks_per_seg = BLKS_PER_SEG(sbi); in f2fs_sanity_check_ckpt()