Lines Matching refs:pseg_start

574 	sector_t pseg_start;  in nilfs_do_roll_forward()  local
589 pseg_start = ri->ri_lsegs_start; in nilfs_do_roll_forward()
591 segnum = nilfs_get_segnum_of_block(nilfs, pseg_start); in nilfs_do_roll_forward()
594 while (segnum != ri->ri_segnum || pseg_start <= ri->ri_pseg_start) { in nilfs_do_roll_forward()
596 bh_sum = nilfs_read_log_header(nilfs, pseg_start, &sum); in nilfs_do_roll_forward()
634 err = nilfs_scan_dsync_log(nilfs, pseg_start, sum, in nilfs_do_roll_forward()
650 if (pseg_start == ri->ri_lsegs_end) in nilfs_do_roll_forward()
652 pseg_start += le32_to_cpu(sum->ss_nblocks); in nilfs_do_roll_forward()
653 if (pseg_start < seg_end) in nilfs_do_roll_forward()
658 if (pseg_start == ri->ri_lsegs_end) in nilfs_do_roll_forward()
668 pseg_start = seg_start; in nilfs_do_roll_forward()
686 err, (unsigned long long)pseg_start); in nilfs_do_roll_forward()
806 sector_t pseg_start, pseg_end, sr_pseg_start = 0; in nilfs_search_super_root() local
818 pseg_start = nilfs->ns_last_pseg; in nilfs_search_super_root()
821 segnum = nilfs_get_segnum_of_block(nilfs, pseg_start); in nilfs_search_super_root()
834 bh_sum = nilfs_read_log_header(nilfs, pseg_start, &sum); in nilfs_search_super_root()
846 pseg_end = pseg_start + nblocks - 1; in nilfs_search_super_root()
853 ri->ri_pseg_start = pseg_start; in nilfs_search_super_root()
872 if (pseg_start == seg_start) { in nilfs_search_super_root()
880 ri->ri_lsegs_start = pseg_start; in nilfs_search_super_root()
884 ri->ri_lsegs_end = pseg_start; in nilfs_search_super_root()
894 sr_pseg_start = pseg_start; in nilfs_search_super_root()
895 nilfs->ns_pseg_offset = pseg_start + nblocks - seg_start; in nilfs_search_super_root()
912 pseg_start += nblocks; in nilfs_search_super_root()
913 if (pseg_start < seg_end) in nilfs_search_super_root()
938 pseg_start = seg_start; in nilfs_search_super_root()