Searched refs:phys_eof (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | spa_history.c | 155 uint64_t firstwrite, phys_eof; in spa_history_write() local 169 phys_eof = spa_history_log_to_phys(shpp->sh_eof, shpp); in spa_history_write() 170 firstwrite = MIN(len, shpp->sh_phys_max_off - phys_eof); in spa_history_write() 172 dmu_write(mos, spa->spa_history, phys_eof, firstwrite, buf, tx); in spa_history_write() 426 uint64_t read_len, phys_read_off, phys_eof; in spa_history_get() local 459 phys_eof = spa_history_log_to_phys(shpp->sh_eof, shpp); in spa_history_get() 479 if (phys_read_off <= phys_eof) { in spa_history_get() 480 read_len = MIN(*len, phys_eof - phys_read_off); in spa_history_get() 486 phys_eof - shpp->sh_pool_create_len); in spa_history_get()
|