Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_fsmap.c484 uint64_t eofs; in __xfs_getfsmap_rtdev() local
487 eofs = XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in __xfs_getfsmap_rtdev()
488 if (keys[0].fmr_physical >= eofs) in __xfs_getfsmap_rtdev()
491 end_fsb = XFS_BB_TO_FSB(mp, min(eofs - 1, keys[1].fmr_physical)); in __xfs_getfsmap_rtdev()
590 uint64_t eofs; in __xfs_getfsmap_datadev() local
593 eofs = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in __xfs_getfsmap_datadev()
594 if (keys[0].fmr_physical >= eofs) in __xfs_getfsmap_datadev()
597 end_fsb = XFS_DADDR_TO_FSB(mp, min(eofs - 1, keys[1].fmr_physical)); in __xfs_getfsmap_datadev()
Dxfs_buf.c521 xfs_daddr_t eofs; in xfs_buf_map_verify() local
531 eofs = XFS_FSB_TO_BB(btp->bt_mount, btp->bt_mount->m_sb.sb_dblocks); in xfs_buf_map_verify()
532 if (map->bm_bn < 0 || map->bm_bn >= eofs) { in xfs_buf_map_verify()
535 __func__, map->bm_bn, eofs); in xfs_buf_map_verify()
/fs/ext4/
Dfsmap.c474 ext4_fsblk_t eofs; in ext4_getfsmap_datadev() local
482 eofs = ext4_blocks_count(sbi->s_es); in ext4_getfsmap_datadev()
483 if (keys[0].fmr_physical >= eofs) in ext4_getfsmap_datadev()
487 if (keys[1].fmr_physical >= eofs) in ext4_getfsmap_datadev()
488 keys[1].fmr_physical = eofs - 1; in ext4_getfsmap_datadev()
/fs/erofs/
Dzmap.c142 unsigned int vcnt, base, lo, lobits, encodebits, nblk, eofs; in unpack_compacted_index() local
160 eofs = erofs_blkoff(m->inode->i_sb, pos); in unpack_compacted_index()
161 base = round_down(eofs, vcnt << amortizedshift); in unpack_compacted_index()
164 i = (eofs - base) >> amortizedshift; in unpack_compacted_index()