Home
last modified time | relevance | path

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

/src/sbin/hastd/
H A Dactivemap.c585 off_t syncoff, left; in activemap_sync_offset() local
631 syncoff = amp->am_syncoff; in activemap_sync_offset()
632 left = ext2off(amp, off2ext(amp, syncoff)) + in activemap_sync_offset()
633 amp->am_extentsize - syncoff; in activemap_sync_offset()
634 if (syncoff + left > amp->am_mediasize) in activemap_sync_offset()
635 left = amp->am_mediasize - syncoff; in activemap_sync_offset()
640 PJDLOG_ASSERT(syncoff >= 0 && syncoff < amp->am_mediasize); in activemap_sync_offset()
641 PJDLOG_ASSERT(syncoff + left >= 0 && in activemap_sync_offset()
642 syncoff + left <= amp->am_mediasize); in activemap_sync_offset()
645 return (syncoff); in activemap_sync_offset()