Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/fs/zfs/
H A Dspa_history.c152 uint64_t firstwrite, phys_eof; in spa_history_write() local
166 phys_eof = spa_history_log_to_phys(shpp->sh_eof, shpp); in spa_history_write()
167 firstwrite = MIN(len, shpp->sh_phys_max_off - phys_eof); in spa_history_write()
169 dmu_write(mos, spa->spa_history, phys_eof, firstwrite, buf, tx); in spa_history_write()
341 uint64_t read_len, phys_read_off, phys_eof; in spa_history_get() local
374 phys_eof = spa_history_log_to_phys(shpp->sh_eof, shpp); in spa_history_get()
394 if (phys_read_off <= phys_eof) { in spa_history_get()
395 read_len = MIN(*len, phys_eof - phys_read_off); in spa_history_get()
401 phys_eof - shpp->sh_pool_create_len); in spa_history_get()