Lines Matching refs:pseg_start

575 	sector_t pseg_start;  in nilfs_do_roll_forward()  local
590 pseg_start = ri->ri_lsegs_start; in nilfs_do_roll_forward()
592 segnum = nilfs_get_segnum_of_block(nilfs, pseg_start); in nilfs_do_roll_forward()
595 while (segnum != ri->ri_segnum || pseg_start <= ri->ri_pseg_start) { in nilfs_do_roll_forward()
597 bh_sum = nilfs_read_log_header(nilfs, pseg_start, &sum); in nilfs_do_roll_forward()
635 err = nilfs_scan_dsync_log(nilfs, pseg_start, sum, in nilfs_do_roll_forward()
651 if (pseg_start == ri->ri_lsegs_end) in nilfs_do_roll_forward()
653 pseg_start += le32_to_cpu(sum->ss_nblocks); in nilfs_do_roll_forward()
654 if (pseg_start < seg_end) in nilfs_do_roll_forward()
659 if (pseg_start == ri->ri_lsegs_end) in nilfs_do_roll_forward()
669 pseg_start = seg_start; in nilfs_do_roll_forward()
686 err, (unsigned long long)pseg_start); in nilfs_do_roll_forward()
834 sector_t pseg_start, pseg_end, sr_pseg_start = 0; in nilfs_search_super_root() local
846 pseg_start = nilfs->ns_last_pseg; in nilfs_search_super_root()
849 segnum = nilfs_get_segnum_of_block(nilfs, pseg_start); in nilfs_search_super_root()
862 bh_sum = nilfs_read_log_header(nilfs, pseg_start, &sum); in nilfs_search_super_root()
874 pseg_end = pseg_start + nblocks - 1; in nilfs_search_super_root()
881 ri->ri_pseg_start = pseg_start; in nilfs_search_super_root()
900 if (pseg_start == seg_start) { in nilfs_search_super_root()
908 ri->ri_lsegs_start = pseg_start; in nilfs_search_super_root()
912 ri->ri_lsegs_end = pseg_start; in nilfs_search_super_root()
922 sr_pseg_start = pseg_start; in nilfs_search_super_root()
923 nilfs->ns_pseg_offset = pseg_start + nblocks - seg_start; in nilfs_search_super_root()
940 pseg_start += nblocks; in nilfs_search_super_root()
941 if (pseg_start < seg_end) in nilfs_search_super_root()
966 pseg_start = seg_start; in nilfs_search_super_root()