Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/fs/zfs/
H A Dspa_history.c342 uint64_t read_len, phys_read_off, phys_eof; in spa_history_get() local
379 phys_read_off = *offp; in spa_history_get()
381 phys_read_off); in spa_history_get()
388 phys_read_off = spa_history_log_to_phys(*offp, shpp); in spa_history_get()
395 if (phys_read_off <= phys_eof) { in spa_history_get()
396 read_len = MIN(*len, phys_eof - phys_read_off); in spa_history_get()
399 shpp->sh_phys_max_off - phys_read_off); in spa_history_get()
400 if (phys_read_off + *len > shpp->sh_phys_max_off) { in spa_history_get()
419 err = dmu_read(mos, spa->spa_history, phys_read_off, read_len, buf, in spa_history_get()