Searched refs:towrite (Results 1 – 4 of 4) sorted by relevance
902 uint64_t towrite = 0; in dmu_tx_try_assign() local940 towrite += zfs_refcount_count(&txh->txh_space_towrite); in dmu_tx_try_assign()945 uint64_t asize = spa_get_worst_case_asize(tx->tx_pool->dp_spa, towrite); in dmu_tx_try_assign()947 uint64_t memory = towrite + tohold; in dmu_tx_try_assign()
1608 uint64_t towrite, newval; in dsl_dir_set_quota_check() local1633 towrite = dsl_dir_space_towrite(ds->ds_dir); in dsl_dir_set_quota_check()1634 if ((dmu_tx_is_syncing(tx) || towrite == 0) && in dsl_dir_set_quota_check()1636 newval < dsl_dir_phys(ds->ds_dir)->dd_used_bytes + towrite)) { in dsl_dir_set_quota_check()
234 int add, zfs_refcount_t *towrite, zfs_refcount_t *tooverwrite);
5225 size_t pos = 0, towrite; in migrateCommand() local5228 while ((towrite = sdslen(buf)-pos) > 0) { in migrateCommand()5229 towrite = (towrite > (64*1024) ? (64*1024) : towrite); in migrateCommand()5230 nwritten = syncWrite(cs->fd,buf+pos,towrite,timeout); in migrateCommand()5231 if (nwritten != (signed)towrite) { in migrateCommand()