Searched refs:seg_start (Results 1 – 5 of 5) sorted by relevance
/fs/nilfs2/ |
D | the_nilfs.h | 311 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()
|
D | recovery.c | 576 sector_t seg_start, seg_end; /* Starting/ending DBN of full segment */ in nilfs_do_roll_forward() local 593 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_do_roll_forward() 668 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_do_roll_forward() 669 pseg_start = seg_start; in nilfs_do_roll_forward() 804 sector_t seg_start, seg_end; /* range of full segment (block number) */ in nilfs_search_super_root() local 821 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_search_super_root() 824 b = seg_start; in nilfs_search_super_root() 869 if (pseg_start == seg_start) { in nilfs_search_super_root() 892 nilfs->ns_pseg_offset = pseg_start + nblocks - seg_start; in nilfs_search_super_root() 934 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_search_super_root() [all …]
|
D | sufile.c | 1066 sector_t seg_start, seg_end, start_block, end_block; in nilfs_sufile_trim_fs() local 1120 nilfs_get_segment_range(nilfs, segnum, &seg_start, in nilfs_sufile_trim_fs() 1125 start = seg_start; in nilfs_sufile_trim_fs() 1126 nblocks = seg_end - seg_start + 1; in nilfs_sufile_trim_fs() 1130 if (start + nblocks == seg_start) { in nilfs_sufile_trim_fs() 1132 nblocks += seg_end - seg_start + 1; in nilfs_sufile_trim_fs() 1161 start = seg_start; in nilfs_sufile_trim_fs() 1162 nblocks = seg_end - seg_start + 1; in nilfs_sufile_trim_fs()
|
D | the_nilfs.c | 771 sector_t seg_start, seg_end; in nilfs_discard_segments() local 780 nilfs_get_segment_range(nilfs, *sn, &seg_start, &seg_end); in nilfs_discard_segments() 783 start = seg_start; in nilfs_discard_segments() 784 nblocks = seg_end - seg_start + 1; in nilfs_discard_segments() 785 } else if (start + nblocks == seg_start) { in nilfs_discard_segments() 786 nblocks += seg_end - seg_start + 1; in nilfs_discard_segments()
|
/fs/f2fs/ |
D | segment.c | 5324 block_t seg_start, sec_start_blkaddr, sec_cap_blkaddr; in f2fs_usable_zone_blks_in_seg() local 5331 seg_start = START_BLOCK(sbi, segno); in f2fs_usable_zone_blks_in_seg() 5341 if (seg_start >= sec_cap_blkaddr) in f2fs_usable_zone_blks_in_seg() 5343 if (seg_start + BLKS_PER_SEG(sbi) > sec_cap_blkaddr) in f2fs_usable_zone_blks_in_seg() 5344 return sec_cap_blkaddr - seg_start; in f2fs_usable_zone_blks_in_seg()
|