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()
685 err, (unsigned long long)pseg_start); in nilfs_do_roll_forward()
802 sector_t pseg_start, pseg_end, sr_pseg_start = 0; in nilfs_search_super_root() local
814 pseg_start = nilfs->ns_last_pseg; in nilfs_search_super_root()
817 segnum = nilfs_get_segnum_of_block(nilfs, pseg_start); in nilfs_search_super_root()
830 bh_sum = nilfs_read_log_header(nilfs, pseg_start, &sum); in nilfs_search_super_root()
842 pseg_end = pseg_start + nblocks - 1; in nilfs_search_super_root()
849 ri->ri_pseg_start = pseg_start; in nilfs_search_super_root()
868 if (pseg_start == seg_start) { in nilfs_search_super_root()
876 ri->ri_lsegs_start = pseg_start; in nilfs_search_super_root()
880 ri->ri_lsegs_end = pseg_start; in nilfs_search_super_root()
890 sr_pseg_start = pseg_start; in nilfs_search_super_root()
891 nilfs->ns_pseg_offset = pseg_start + nblocks - seg_start; in nilfs_search_super_root()
908 pseg_start += nblocks; in nilfs_search_super_root()
909 if (pseg_start < seg_end) in nilfs_search_super_root()
934 pseg_start = seg_start; in nilfs_search_super_root()