Searched refs:phys_eof (Results 1 – 1 of 1) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | spa_history.c | 154 uint64_t firstwrite, phys_eof; in spa_history_write() local 168 phys_eof = spa_history_log_to_phys(shpp->sh_eof, shpp); in spa_history_write() 169 firstwrite = MIN(len, shpp->sh_phys_max_off - phys_eof); in spa_history_write() 171 dmu_write(mos, spa->spa_history, phys_eof, firstwrite, buf, tx); in spa_history_write() 415 uint64_t read_len, phys_read_off, phys_eof; in spa_history_get() local 448 phys_eof = spa_history_log_to_phys(shpp->sh_eof, shpp); in spa_history_get() 468 if (phys_read_off <= phys_eof) { in spa_history_get() 469 read_len = MIN(*len, phys_eof - phys_read_off); in spa_history_get() 475 phys_eof - shpp->sh_pool_create_len); in spa_history_get()
|