Lines Matching refs:segno
178 unsigned int segno; /* current segment number */ member
419 #define GET_ZONENO_FROM_SEGNO(sbi, segno) \ argument
420 ((segno / sbi->segs_per_sec) / sbi->secs_per_zone)
437 #define GET_SUM_BLKADDR(sbi, segno) \ argument
438 ((sbi->sm_info->ssa_blkaddr) + segno)
449 #define GET_SEC_FROM_SEG(sbi, segno) \ argument
450 ((segno) / (sbi)->segs_per_sec)
456 #define GET_R2L_SEGNO(sbi, segno) (segno + FREE_I_START_SEGNO(sbi)) argument
462 #define START_BLOCK(sbi, segno) (SM_I(sbi)->main_blkaddr + \ argument
463 ((segno) << sbi->log_blocks_per_seg))
466 (START_BLOCK(sbi, (curseg)->segno) + (curseg)->next_blkoff)
501 #define segno_in_journal(jnl, i) (jnl->sit_j.entries[i].segno)
503 #define SIT_ENTRY_OFFSET(sit_i, segno) \ argument
504 ((segno) % sit_i->sents_per_block)
505 #define SIT_BLOCK_OFFSET(sit_i, segno) \ argument
506 ((segno) / SIT_ENTRY_PER_BLOCK)
530 static inline int IS_CUR_SEGNO(struct f2fs_sb_info *sbi, u32 segno) in IS_CUR_SEGNO() argument
537 if (segno == curseg->segno) in IS_CUR_SEGNO()