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

/linux-master/fs/f2fs/
H A Dsegment.h96 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) & (BLKS_PER_SEG(sbi) - 1))
782 if (usable_blks_per_seg < BLKS_PER_SEG(sbi))
784 BLKS_PER_SEG(sbi),
785 usable_blks_per_seg) != BLKS_PER_SEG(sbi));
904 return BLKS_PER_SEG(sbi);
H A Dnode.h211 (block_off & (BLKS_PER_SEG(sbi) - 1)));
214 block_addr += BLKS_PER_SEG(sbi);
H A Dsegment.c1153 size = BLKS_PER_SEG(sbi);
2069 if (se->valid_blocks == BLKS_PER_SEG(sbi) ||
2088 start = __find_rev_next_bit(dmap, BLKS_PER_SEG(sbi), end + 1);
2089 if (start >= BLKS_PER_SEG(sbi))
2093 BLKS_PER_SEG(sbi), start + 1);
2094 if (force && start && end != BLKS_PER_SEG(sbi) &&
2227 BLKS_PER_SEG(sbi), cur_pos);
2239 BLKS_PER_SEG(sbi), cur_pos);
2245 if (cur_pos < BLKS_PER_SEG(sbi))
2300 dcc->discard_granularity = BLKS_PER_SEG(sb
[all...]
H A Dcheckpoint.c907 if (cp_blocks > BLKS_PER_SEG(sbi) || cp_blocks <= F2FS_CP_PACKS) {
1342 NM_I(sbi)->nat_bits_blocks > BLKS_PER_SEG(sbi)) {
1545 blk = start_blk + BLKS_PER_SEG(sbi) - nm_i->nat_bits_blocks;
1749 sbi->max_orphans = (BLKS_PER_SEG(sbi) - F2FS_CP_PACKS -
H A Drecovery.c357 else if (next_blkaddr % BLKS_PER_SEG(sbi))
H A Ddebug.c210 if (blks == BLKS_PER_SEG(sbi))
H A Dgc.c298 return BLKS_PER_SEG(sbi);
631 if (vblocks == BLKS_PER_SEG(sbi))
H A Dfile.c2714 cnt < BLKS_PER_SEG(sbi)) {
2734 if (map.m_lblk < pg_end && cnt < BLKS_PER_SEG(sbi))
4155 if (get_dirty_pages(inode) >= BLKS_PER_SEG(sbi)) {
4232 if (get_dirty_pages(inode) >= BLKS_PER_SEG(sbi)) {
H A Df2fs.h1824 #define BLKS_PER_SEG(sbi) ((sbi)->blocks_per_seg) macro
2602 start_addr += BLKS_PER_SEG(sbi);
2611 start_addr += BLKS_PER_SEG(sbi);
H A Dnode.c2852 last_offset = BLKS_PER_SEG(sbi);
3169 nat_bits_addr = __start_cp_addr(sbi) + BLKS_PER_SEG(sbi) -
H A Dsuper.c3647 blocks_per_seg = BLKS_PER_SEG(sbi);

Completed in 441 milliseconds