Home
last modified time | relevance | path

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

/linux-6.15/fs/f2fs/
H A Dsegment.h94 (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()
H A Dnode.h218 (block_off & (BLKS_PER_SEG(sbi) - 1))); in current_nat_addr()
221 block_addr += BLKS_PER_SEG(sbi); in current_nat_addr()
H A Dsegment.c1168 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 …]
H A Dcheckpoint.c902 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()
H A Ddebug.c96 else if (seg_blks == BLKS_PER_SEG(sbi)) in update_multidevice_stats()
275 if (blks == BLKS_PER_SEG(sbi)) in update_general_status()
H A Drecovery.c350 else if (next_blkaddr % BLKS_PER_SEG(sbi)) in adjust_por_ra_blocks()
H A Dgc.c329 return BLKS_PER_SEG(sbi); in get_max_cost()
658 if (vblocks == BLKS_PER_SEG(sbi)) in atssr_lookup_victim()
H A Dfile.c2922 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()
H A Df2fs.h1863 #define BLKS_PER_SEG(sbi) ((sbi)->blocks_per_seg) macro
2677 start_addr += BLKS_PER_SEG(sbi); in __start_cp_addr()
2686 start_addr += BLKS_PER_SEG(sbi); in __start_cp_next_addr()
H A Dnode.c2894 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()
H A Dsuper.c3770 blocks_per_seg = BLKS_PER_SEG(sbi); in f2fs_sanity_check_ckpt()