Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/nilfs2/
Dthe_nilfs.h309 sector_t *seg_start, sector_t *seg_end) in nilfs_get_segment_range() argument
311 *seg_start = (sector_t)nilfs->ns_blocks_per_segment * segnum; in nilfs_get_segment_range()
312 *seg_end = *seg_start + nilfs->ns_blocks_per_segment - 1; in nilfs_get_segment_range()
314 *seg_start = nilfs->ns_first_data_block; in nilfs_get_segment_range()
334 nilfs_terminate_segment(struct the_nilfs *nilfs, sector_t seg_start, in nilfs_terminate_segment() argument
338 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()
803 sector_t seg_start, seg_end; /* range of full segment (block number) */ in nilfs_search_super_root() local
820 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_search_super_root()
823 b = seg_start; in nilfs_search_super_root()
868 if (pseg_start == seg_start) { in nilfs_search_super_root()
891 nilfs->ns_pseg_offset = pseg_start + nblocks - seg_start; in nilfs_search_super_root()
933 nilfs_get_segment_range(nilfs, segnum, &seg_start, &seg_end); in nilfs_search_super_root()
[all …]
Dthe_nilfs.c712 sector_t seg_start, seg_end; in nilfs_discard_segments() local
721 nilfs_get_segment_range(nilfs, *sn, &seg_start, &seg_end); in nilfs_discard_segments()
724 start = seg_start; in nilfs_discard_segments()
725 nblocks = seg_end - seg_start + 1; in nilfs_discard_segments()
726 } else if (start + nblocks == seg_start) { in nilfs_discard_segments()
727 nblocks += seg_end - seg_start + 1; in nilfs_discard_segments()
Dsufile.c1029 sector_t seg_start, seg_end, start_block, end_block; in nilfs_sufile_trim_fs() local
1083 nilfs_get_segment_range(nilfs, segnum, &seg_start, in nilfs_sufile_trim_fs()
1088 start = seg_start; in nilfs_sufile_trim_fs()
1089 nblocks = seg_end - seg_start + 1; in nilfs_sufile_trim_fs()
1093 if (start + nblocks == seg_start) { in nilfs_sufile_trim_fs()
1095 nblocks += seg_end - seg_start + 1; in nilfs_sufile_trim_fs()
1124 start = seg_start; in nilfs_sufile_trim_fs()
1125 nblocks = seg_end - seg_start + 1; in nilfs_sufile_trim_fs()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.h43 u32 seg_start; member
Dbnxt_ethtool.c3510 if ((info->seg_start + off + len) <= in bnxt_hwrm_dbg_dma_data()
3589 info.seg_start = offset; in bnxt_hwrm_dbg_coredump_retrieve()
/kernel/linux/linux-5.10/drivers/net/hippi/
Drrunner.h605 u32 seg_start; member
/kernel/linux/linux-5.10/fs/f2fs/
Dsegment.c5190 block_t seg_start, sec_start_blkaddr, sec_cap_blkaddr; in f2fs_usable_zone_blks_in_seg() local
5194 seg_start = START_BLOCK(sbi, segno); in f2fs_usable_zone_blks_in_seg()
5195 dev_idx = f2fs_target_device_index(sbi, seg_start); in f2fs_usable_zone_blks_in_seg()
5218 if (seg_start >= sec_cap_blkaddr) in f2fs_usable_zone_blks_in_seg()
5220 if (seg_start + sbi->blocks_per_seg > sec_cap_blkaddr) in f2fs_usable_zone_blks_in_seg()
5221 return sec_cap_blkaddr - seg_start; in f2fs_usable_zone_blks_in_seg()