blocks_per_seg 857 fs/f2fs/checkpoint.c sbi->blocks_per_seg) { blocks_per_seg 1281 fs/f2fs/checkpoint.c sbi->blocks_per_seg - NM_I(sbi)->nat_bits_blocks) blocks_per_seg 1459 fs/f2fs/checkpoint.c blk = start_blk + sbi->blocks_per_seg - nm_i->nat_bits_blocks; blocks_per_seg 1652 fs/f2fs/checkpoint.c sbi->max_orphans = (sbi->blocks_per_seg - F2FS_CP_PACKS - blocks_per_seg 87 fs/f2fs/debug.c si->total_count = (int)sbi->user_block_count / sbi->blocks_per_seg; blocks_per_seg 1249 fs/f2fs/f2fs.h unsigned int blocks_per_seg; /* blocks per segment */ blocks_per_seg 1919 fs/f2fs/f2fs.h unsigned int pages_per_sec = sbi->segs_per_sec * sbi->blocks_per_seg; blocks_per_seg 1986 fs/f2fs/f2fs.h start_addr += sbi->blocks_per_seg; blocks_per_seg 1995 fs/f2fs/f2fs.h start_addr += sbi->blocks_per_seg; blocks_per_seg 2384 fs/f2fs/file.c unsigned int blk_per_seg = sbi->blocks_per_seg; blocks_per_seg 214 fs/f2fs/gc.c return sbi->blocks_per_seg; blocks_per_seg 216 fs/f2fs/gc.c return 2 * sbi->blocks_per_seg * p->ofs_unit; blocks_per_seg 524 fs/f2fs/gc.c for (off = 0; off < sbi->blocks_per_seg; off++, entry++) { blocks_per_seg 1007 fs/f2fs/gc.c for (off = 0; off < sbi->blocks_per_seg; off++, entry++) { blocks_per_seg 1439 fs/f2fs/gc.c (long long)segs * sbi->blocks_per_seg); blocks_per_seg 1453 fs/f2fs/gc.c (long long)segs * sbi->blocks_per_seg); blocks_per_seg 2670 fs/f2fs/node.c last_offset = sbi->blocks_per_seg; blocks_per_seg 2941 fs/f2fs/node.c nat_bits_addr = __start_cp_addr(sbi) + sbi->blocks_per_seg - blocks_per_seg 137 fs/f2fs/node.h return get_pages(sbi, F2FS_DIRTY_NODES) >= sbi->blocks_per_seg * 8; blocks_per_seg 208 fs/f2fs/node.h (block_off & (sbi->blocks_per_seg - 1))); blocks_per_seg 211 fs/f2fs/node.h block_addr += sbi->blocks_per_seg; blocks_per_seg 306 fs/f2fs/recovery.c unsigned int free_blocks = MAIN_SEGS(sbi) * sbi->blocks_per_seg - blocks_per_seg 845 fs/f2fs/segment.c ckpt_valid_blocks == sbi->blocks_per_seg)) { blocks_per_seg 848 fs/f2fs/segment.c } else if (valid_blocks < sbi->blocks_per_seg) { blocks_per_seg 891 fs/f2fs/segment.c holes[NODE] += sbi->blocks_per_seg - se->valid_blocks; blocks_per_seg 893 fs/f2fs/segment.c holes[DATA] += sbi->blocks_per_seg - se->valid_blocks; blocks_per_seg 1049 fs/f2fs/segment.c unsigned long offset, size, max_blocks = sbi->blocks_per_seg; blocks_per_seg 1845 fs/f2fs/segment.c int max_blocks = sbi->blocks_per_seg; blocks_per_seg 2003 fs/f2fs/segment.c sbi->blocks_per_seg, cur_pos); blocks_per_seg 2015 fs/f2fs/segment.c sbi->blocks_per_seg, cur_pos); blocks_per_seg 2021 fs/f2fs/segment.c if (cur_pos < sbi->blocks_per_seg) blocks_per_seg 2136 fs/f2fs/segment.c (new_vblocks > sbi->blocks_per_seg))); blocks_per_seg 2288 fs/f2fs/segment.c valid_sum_count += sbi->blocks_per_seg; blocks_per_seg 2540 fs/f2fs/segment.c pos = __find_rev_next_zero_bit(target_map, sbi->blocks_per_seg, start); blocks_per_seg 2888 fs/f2fs/segment.c if (curseg->next_blkoff < sbi->blocks_per_seg) blocks_per_seg 3467 fs/f2fs/segment.c blk_off = sbi->blocks_per_seg; blocks_per_seg 3533 fs/f2fs/segment.c for (i = 0; i < sbi->blocks_per_seg; i++, ns++) { blocks_per_seg 3635 fs/f2fs/segment.c blkoff = sbi->blocks_per_seg; blocks_per_seg 4161 fs/f2fs/segment.c sbi->blocks_per_seg - blocks_per_seg 4260 fs/f2fs/segment.c if (valid_blocks == sbi->blocks_per_seg || !valid_blocks) blocks_per_seg 4262 fs/f2fs/segment.c if (valid_blocks > sbi->blocks_per_seg) { blocks_per_seg 4329 fs/f2fs/segment.c for (blkofs += 1; blkofs < sbi->blocks_per_seg; blkofs++) { blocks_per_seg 4400 fs/f2fs/segment.c sm_info->min_seq_blocks = sbi->blocks_per_seg * sbi->segs_per_sec; blocks_per_seg 82 fs/f2fs/segment.h (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) & ((sbi)->blocks_per_seg - 1)) blocks_per_seg 89 fs/f2fs/segment.h ((sbi)->segs_per_sec * (sbi)->blocks_per_seg) blocks_per_seg 555 fs/f2fs/segment.h left_blocks = sbi->blocks_per_seg - blocks_per_seg 564 fs/f2fs/segment.h left_blocks = sbi->blocks_per_seg - blocks_per_seg 688 fs/f2fs/segment.h sbi->blocks_per_seg, blocks_per_seg 693 fs/f2fs/segment.h sbi->blocks_per_seg, blocks_per_seg 697 fs/f2fs/segment.h } while (cur_pos < sbi->blocks_per_seg); blocks_per_seg 707 fs/f2fs/segment.h if (unlikely(GET_SIT_VBLOCKS(raw_sit) > sbi->blocks_per_seg blocks_per_seg 822 fs/f2fs/segment.h return sbi->blocks_per_seg; blocks_per_seg 824 fs/f2fs/segment.h return 8 * sbi->blocks_per_seg; blocks_per_seg 2509 fs/f2fs/super.c block_t total_sections, blocks_per_seg; blocks_per_seg 2584 fs/f2fs/super.c blocks_per_seg = 1 << le32_to_cpu(raw_super->log_blocks_per_seg); blocks_per_seg 2629 fs/f2fs/super.c (blocks_per_seg - F2FS_CP_PACKS)) { blocks_per_seg 2632 fs/f2fs/super.c blocks_per_seg - F2FS_CP_PACKS); blocks_per_seg 2660 fs/f2fs/super.c unsigned int main_segs, blocks_per_seg; blocks_per_seg 2717 fs/f2fs/super.c blocks_per_seg = sbi->blocks_per_seg; blocks_per_seg 2721 fs/f2fs/super.c le16_to_cpu(ckpt->cur_node_blkoff[i]) >= blocks_per_seg) blocks_per_seg 2735 fs/f2fs/super.c le16_to_cpu(ckpt->cur_data_blkoff[i]) >= blocks_per_seg) blocks_per_seg 2772 fs/f2fs/super.c cp_pack_start_sum > blocks_per_seg - 1 - blocks_per_seg 2805 fs/f2fs/super.c sbi->blocks_per_seg = 1 << sbi->log_blocks_per_seg; blocks_per_seg 2811 fs/f2fs/super.c * sbi->blocks_per_seg * NAT_ENTRY_PER_BLOCK;