Home
last modified time | relevance | path

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

/linux/fs/f2fs/
H A Dsegment.h66 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) & (BLKS_PER_SEG(sbi) - 1))
877 if (usable_blks_per_seg < BLKS_PER_SEG(sbi)) in check_block_count()
879 BLKS_PER_SEG(sbi), in check_block_count()
880 usable_blks_per_seg) != BLKS_PER_SEG(sbi)); in check_block_count()
999 return BLKS_PER_SEG(sbi); in nr_pages_to_skip()
H A Dsegment.c1179 size = BLKS_PER_SEG(sbi); in __check_sit_bitmap()
2088 if (se->valid_blocks == BLKS_PER_SEG(sbi) || in add_discard_addrs()
2109 start = __find_rev_next_bit(dmap, BLKS_PER_SEG(sbi), end + 1); in add_discard_addrs()
2110 if (start >= BLKS_PER_SEG(sbi)) in add_discard_addrs()
2114 BLKS_PER_SEG(sbi), start + 1); in add_discard_addrs()
2115 if (force && start && end != BLKS_PER_SEG(sbi) && in add_discard_addrs()
2248 BLKS_PER_SEG(sbi), cur_pos); in f2fs_clear_prefree_segments()
2260 BLKS_PER_SEG(sbi), cur_pos); in f2fs_clear_prefree_segments()
2266 if (cur_pos < BLKS_PER_SEG(sbi)) in f2fs_clear_prefree_segments()
2322 dcc->discard_granularity = BLKS_PER_SEG(sbi); in create_discard_cmd_control()
[all …]
H A Dnode.h211 (block_off & (BLKS_PER_SEG(sbi) - 1))); in current_nat_addr()
214 block_addr += BLKS_PER_SEG(sbi); in current_nat_addr()
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.c1100 if (cp_blocks > BLKS_PER_SEG(sbi) || cp_blocks <= F2FS_CP_PACKS) { in validate_checkpoint()
1760 blk = start_blk + BLKS_PER_SEG(sbi) - nm_i->nat_bits_blocks; in do_checkpoint()
1979 sbi->max_orphans = (BLKS_PER_SEG(sbi) - F2FS_CP_PACKS - in f2fs_init_ino_entry_info()
H A Drecovery.c350 else if (next_blkaddr % BLKS_PER_SEG(sbi)) in adjust_por_ra_blocks()
H A Dfile.c3009 cnt < BLKS_PER_SEG(sbi)) { in f2fs_defragment_range()
3031 if (map.m_lblk < pg_end && cnt < BLKS_PER_SEG(sbi)) in f2fs_defragment_range()
4528 if (get_dirty_pages(inode) >= BLKS_PER_SEG(sbi)) { in f2fs_ioc_decompress_file()
4608 if (get_dirty_pages(inode) >= BLKS_PER_SEG(sbi)) { in f2fs_ioc_compress_file()
H A Dgc.c333 return BLKS_PER_SEG(sbi); in get_max_cost()
663 if (vblocks == BLKS_PER_SEG(sbi)) in atssr_lookup_victim()
H A Df2fs.h2053 #define BLKS_PER_SEG(sbi) ((sbi)->blocks_per_seg) macro
2870 start_addr += BLKS_PER_SEG(sbi); in __start_cp_addr()
2879 start_addr += BLKS_PER_SEG(sbi); in __start_cp_next_addr()
H A Dnode.c2971 last_offset = BLKS_PER_SEG(sbi); in f2fs_restore_node_summary()
3265 nat_bits_addr = __start_cp_addr(sbi) + BLKS_PER_SEG(sbi) - in __get_nat_bitmaps()
H A Dsysfs.c1873 (BLKS_PER_SEG(sbi) << (F2FS_BLKSIZE_BITS - 10)) >> 10); in disk_map_seq_show()
H A Dsuper.c4197 blocks_per_seg = BLKS_PER_SEG(sbi); in f2fs_sanity_check_ckpt()
4790 BLKS_PER_SEG(sbi); in f2fs_scan_devices()