Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fs.d/
H A Ddf.c1261 fsblkcnt64_t available_blocks = fsp->f_bavail; in g_output() local
1340 if ((long long)available_blocks < (long long)0) in g_output()
1341 available_blocks = (fsblkcnt64_t)0; in g_output()
1353 available_blocks, fsp->f_frsize, 512), in g_output()
1380 fsblkcnt64_t available_blocks = fsp->f_bavail; in k_output() local
1396 fsblkcnt64_t reserved_blocks = free_blocks - available_blocks; in k_output()
1422 if ((long long)available_blocks < (long long)0) in k_output()
1423 available_blocks = (fsblkcnt64_t)0; in k_output()
1440 nicenum_scale(available_blocks, fsp->f_frsize, in k_output()
1459 BLOCK_WIDTH, available_blocks, in k_output()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_log_spacemap.c633 int64_t available_blocks = in spa_estimate_metaslabs_to_flush() local
659 if (available_blocks >= 0) { in spa_estimate_metaslabs_to_flush()
660 uint64_t skip_txgs = (available_blocks / incoming) + 1; in spa_estimate_metaslabs_to_flush()
661 available_blocks -= (skip_txgs * incoming); in spa_estimate_metaslabs_to_flush()
663 ASSERT3S(available_blocks, >=, -incoming); in spa_estimate_metaslabs_to_flush()
672 ASSERT3S(available_blocks, <, 0); in spa_estimate_metaslabs_to_flush()
673 available_blocks += e->lse_blkcount; in spa_estimate_metaslabs_to_flush()