Searched refs:seg_start (Results 1 – 4 of 4) sorted by relevance
/fs/nilfs2/ |
D | the_nilfs.h | 317 sector_t *seg_start, sector_t *seg_end) in nilfs_get_segment_range() argument 319 *seg_start = (sector_t)nilfs->ns_blocks_per_segment * segnum; in nilfs_get_segment_range() 320 *seg_end = *seg_start + nilfs->ns_blocks_per_segment - 1; in nilfs_get_segment_range() 322 *seg_start = nilfs->ns_first_data_block; in nilfs_get_segment_range() 342 nilfs_terminate_segment(struct the_nilfs *nilfs, sector_t seg_start, in nilfs_terminate_segment() argument 346 nilfs->ns_pseg_offset = seg_end - seg_start + 1; in nilfs_terminate_segment()
|
D | recovery.c | 584 sector_t seg_start, seg_end; /* Starting/ending DBN of full segment */ in nilfs_do_roll_forward() local 601 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_do_roll_forward() 676 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_do_roll_forward() 677 pseg_start = seg_start; in nilfs_do_roll_forward() 816 sector_t seg_start, seg_end; /* range of full segment (block number) */ in nilfs_search_super_root() local 833 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_search_super_root() 836 b = seg_start; in nilfs_search_super_root() 881 if (pseg_start == seg_start) { in nilfs_search_super_root() 904 nilfs->ns_pseg_offset = pseg_start + nblocks - seg_start; in nilfs_search_super_root() 946 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_search_super_root() [all …]
|
D | sufile.c | 1033 sector_t seg_start, seg_end, start_block, end_block; in nilfs_sufile_trim_fs() local 1087 nilfs_get_segment_range(nilfs, segnum, &seg_start, in nilfs_sufile_trim_fs() 1092 start = seg_start; in nilfs_sufile_trim_fs() 1093 nblocks = seg_end - seg_start + 1; in nilfs_sufile_trim_fs() 1097 if (start + nblocks == seg_start) { in nilfs_sufile_trim_fs() 1099 nblocks += seg_end - seg_start + 1; in nilfs_sufile_trim_fs() 1128 start = seg_start; in nilfs_sufile_trim_fs() 1129 nblocks = seg_end - seg_start + 1; in nilfs_sufile_trim_fs()
|
D | the_nilfs.c | 669 sector_t seg_start, seg_end; in nilfs_discard_segments() local 678 nilfs_get_segment_range(nilfs, *sn, &seg_start, &seg_end); in nilfs_discard_segments() 681 start = seg_start; in nilfs_discard_segments() 682 nblocks = seg_end - seg_start + 1; in nilfs_discard_segments() 683 } else if (start + nblocks == seg_start) { in nilfs_discard_segments() 684 nblocks += seg_end - seg_start + 1; in nilfs_discard_segments()
|