Home
last modified time | relevance | path

Searched refs:seg_start (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/fs/nilfs2/
Dthe_nilfs.h311 sector_t *seg_start, sector_t *seg_end) in nilfs_get_segment_range() argument
313 *seg_start = (sector_t)nilfs->ns_blocks_per_segment * segnum; in nilfs_get_segment_range()
314 *seg_end = *seg_start + nilfs->ns_blocks_per_segment - 1; in nilfs_get_segment_range()
316 *seg_start = nilfs->ns_first_data_block; in nilfs_get_segment_range()
336 nilfs_terminate_segment(struct the_nilfs *nilfs, sector_t seg_start, in nilfs_terminate_segment() argument
340 nilfs->ns_pseg_offset = seg_end - seg_start + 1; in nilfs_terminate_segment()
Drecovery.c575 sector_t seg_start, seg_end; /* Starting/ending DBN of full segment */ in nilfs_do_roll_forward() local
592 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_do_roll_forward()
667 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_do_roll_forward()
668 pseg_start = seg_start; in nilfs_do_roll_forward()
807 sector_t seg_start, seg_end; /* range of full segment (block number) */ in nilfs_search_super_root() local
824 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_search_super_root()
827 b = seg_start; in nilfs_search_super_root()
872 if (pseg_start == seg_start) { in nilfs_search_super_root()
895 nilfs->ns_pseg_offset = pseg_start + nblocks - seg_start; in nilfs_search_super_root()
937 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_search_super_root()
[all …]
Dthe_nilfs.c733 sector_t seg_start, seg_end; in nilfs_discard_segments() local
742 nilfs_get_segment_range(nilfs, *sn, &seg_start, &seg_end); in nilfs_discard_segments()
745 start = seg_start; in nilfs_discard_segments()
746 nblocks = seg_end - seg_start + 1; in nilfs_discard_segments()
747 } else if (start + nblocks == seg_start) { in nilfs_discard_segments()
748 nblocks += seg_end - seg_start + 1; in nilfs_discard_segments()
Dsufile.c1041 sector_t seg_start, seg_end, start_block, end_block; in nilfs_sufile_trim_fs() local
1095 nilfs_get_segment_range(nilfs, segnum, &seg_start, in nilfs_sufile_trim_fs()
1100 start = seg_start; in nilfs_sufile_trim_fs()
1101 nblocks = seg_end - seg_start + 1; in nilfs_sufile_trim_fs()
1105 if (start + nblocks == seg_start) { in nilfs_sufile_trim_fs()
1107 nblocks += seg_end - seg_start + 1; in nilfs_sufile_trim_fs()
1136 start = seg_start; in nilfs_sufile_trim_fs()
1137 nblocks = seg_end - seg_start + 1; in nilfs_sufile_trim_fs()