Searched refs:towrite (Results 1 – 8 of 8) sorted by relevance
/titanic_50/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | io.c | 339 ssize_t nwritten, towrite, rc; in ber_flush() local 348 towrite = ber->ber_ptr - ber->ber_rwptr; in ber_flush() 353 sprintf( msg, "ber_flush: %ld bytes to sd %ld%s\n", towrite, in ber_flush() 358 lber_bprint( ber->ber_rwptr, towrite ); in ber_flush() 363 rc = write( sb->sb_copyfd, ber->ber_buf, towrite ); in ber_flush() 375 (size_t)towrite ); in ber_flush() 382 if (rc < towrite) { in ber_flush() 391 sb->sb_sd, ber->ber_rwptr, (size_t)towrite, in ber_flush() 398 (size_t) towrite )) <= 0 ) { in ber_flush() 403 towrite -= rc; in ber_flush() [all …]
|
/titanic_50/usr/src/cmd/fwflash/plugins/transport/common/ |
H A D | sd.c | 444 size_t towrite = MIN(maxxfer, verifier->imgsize - nwrite); in fw_writefw() local 446 if (towrite == 0) in fw_writefw() 452 if (sdfw_write(flashdev, handle, target, towrite, nwrite, in fw_writefw() 460 nwrite += towrite; in fw_writefw()
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | dmu_tx.c | 1116 uint64_t towrite, tofree, tooverwrite, tounref, tohold, fudge; in dmu_tx_try_assign() local 1155 towrite = tofree = tooverwrite = tounref = tohold = fudge = 0; in dmu_tx_try_assign() 1172 towrite += txh->txh_space_towrite; in dmu_tx_try_assign() 1187 towrite += tooverwrite; in dmu_tx_try_assign() 1192 asize = spa_get_asize(tx->tx_pool->dp_spa, towrite + tooverwrite); in dmu_tx_try_assign() 1198 memory = towrite + tooverwrite + tohold; in dmu_tx_try_assign()
|
H A D | zap_micro.c | 1348 uint64_t *towrite, uint64_t *tooverwrite) in zap_count_write() argument 1365 *towrite += (3 + (add ? 4 : 0)) * SPA_OLD_MAXBLOCKSIZE; in zap_count_write() 1382 err = fzap_count_write(zn, add, towrite, in zap_count_write() 1389 *towrite += (3 + (add ? 4 : 0)) * SPA_OLD_MAXBLOCKSIZE; in zap_count_write() 1410 *towrite += MZAP_MAX_BLKSZ; in zap_count_write() 1413 *towrite += 4 * MZAP_MAX_BLKSZ; in zap_count_write()
|
H A D | zap.c | 1314 fzap_count_write(zap_name_t *zn, int add, uint64_t *towrite, in fzap_count_write() argument 1327 *towrite += zap->zap_dbuf->db_size; in fzap_count_write() 1340 *towrite += zap->zap_dbuf->db_size; in fzap_count_write() 1342 *towrite += (zap->zap_dbuf->db_size * 3); in fzap_count_write() 1361 *towrite += (add ? 2 : 1) * l->l_dbuf->db_size; in fzap_count_write()
|
H A D | dsl_dir.c | 1454 uint64_t towrite, newval; in dsl_dir_set_quota_check() local 1479 towrite = dsl_dir_space_towrite(ds->ds_dir); in dsl_dir_set_quota_check() 1480 if ((dmu_tx_is_syncing(tx) || towrite == 0) && in dsl_dir_set_quota_check() 1482 newval < dsl_dir_phys(ds->ds_dir)->dd_used_bytes + towrite)) { in dsl_dir_set_quota_check()
|
/titanic_50/usr/src/uts/common/fs/zfs/sys/ |
H A D | zap_impl.h | 217 int fzap_count_write(zap_name_t *zn, int add, uint64_t *towrite,
|
H A D | zap.h | 220 int add, uint64_t *towrite, uint64_t *tooverwrite);
|