Home
last modified time | relevance | path

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

/linux/fs/f2fs/
H A Dsegment.h67 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) & (BLKS_PER_SEG(sbi) - 1))
851 if (usable_blks_per_seg < BLKS_PER_SEG(sbi)) in check_block_count()
853 BLKS_PER_SEG(sbi), in check_block_count()
854 usable_blks_per_seg) != BLKS_PER_SEG(sbi)); in check_block_count()
986 return BLKS_PER_SEG(sbi); in nr_pages_to_skip()
H A Dsegment.c1225 size = BLKS_PER_SEG(sbi); in __check_sit_bitmap()
2144 if (se->valid_blocks == BLKS_PER_SEG(sbi) || in add_discard_addrs()
2165 start = __find_rev_next_bit(dmap, BLKS_PER_SEG(sbi), end + 1); in add_discard_addrs()
2166 if (start >= BLKS_PER_SEG(sbi)) in add_discard_addrs()
2170 BLKS_PER_SEG(sbi), start + 1); in add_discard_addrs()
2171 if (force && start && end != BLKS_PER_SEG(sbi) && in add_discard_addrs()
2304 BLKS_PER_SEG(sbi), cur_pos); in f2fs_clear_prefree_segments()
2316 BLKS_PER_SEG(sbi), cur_pos); in f2fs_clear_prefree_segments()
2322 if (cur_pos < BLKS_PER_SEG(sbi)) in f2fs_clear_prefree_segments()
2378 dcc->discard_granularity = BLKS_PER_SEG(sbi); in create_discard_cmd_control()
[all …]
H A Ddebug.c96 else if (seg_blks == BLKS_PER_SEG(sbi)) in update_multidevice_stats()
276 if (blks == BLKS_PER_SEG(sbi)) in update_general_status()
H A Dcheckpoint.c1202 if (cp_blocks > BLKS_PER_SEG(sbi) || cp_blocks <= F2FS_CP_PACKS) { in validate_checkpoint()
1862 blk = start_blk + BLKS_PER_SEG(sbi) - nm_i->nat_bits_blocks; in do_checkpoint()
2081 sbi->max_orphans = (BLKS_PER_SEG(sbi) - F2FS_CP_PACKS - in f2fs_init_ino_entry_info()
H A Drecovery.c372 else if (next_blkaddr % BLKS_PER_SEG(sbi)) in adjust_por_ra_blocks()
H A Dgc.c328 return BLKS_PER_SEG(sbi); in get_max_cost()
658 if (vblocks == BLKS_PER_SEG(sbi)) in atssr_lookup_victim()
H A Dfile.c3119 cnt < BLKS_PER_SEG(sbi)) { in f2fs_defragment_range()
3141 if (map.m_lblk < pg_end && cnt < BLKS_PER_SEG(sbi)) in f2fs_defragment_range()
4887 if (get_dirty_pages(inode) >= BLKS_PER_SEG(sbi)) { in f2fs_ioc_decompress_file()
4967 if (get_dirty_pages(inode) >= BLKS_PER_SEG(sbi)) { in f2fs_ioc_compress_file()
H A Df2fs.h2108 #define BLKS_PER_SEG(sbi) ((sbi)->blocks_per_seg) macro
2940 start_addr += BLKS_PER_SEG(sbi); in __start_cp_addr()
2949 start_addr += BLKS_PER_SEG(sbi); in __start_cp_next_addr()
H A Dnode.c3007 last_offset = BLKS_PER_SEG(sbi); in f2fs_restore_node_summary()
3302 nat_bits_addr = __start_cp_addr(sbi) + BLKS_PER_SEG(sbi) - in __get_nat_bitmaps()
H A Dsysfs.c1894 (BLKS_PER_SEG(sbi) << (F2FS_BLKSIZE_BITS - 10)) >> 10); in disk_map_seq_show()
H A Dsuper.c4271 blocks_per_seg = BLKS_PER_SEG(sbi); in f2fs_sanity_check_ckpt()
4915 BLKS_PER_SEG(sbi); in f2fs_scan_devices()