Searched refs:towrite (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/cmd/lms/ |
H A D | main.cpp | 207 size_t towrite = 0; in lock_pid_file() local 236 towrite = strnlen(pid_buf, 31); in lock_pid_file() 237 written = write(lfp, pid_buf, towrite); in lock_pid_file() 271 towrite = strnlen(pid_buf, 31); in lock_pid_file() 272 written = write(lfp, pid_buf, towrite); in lock_pid_file() 276 } else if (towrite != (size_t)written) { in lock_pid_file()
|
/titanic_41/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_41/usr/src/uts/common/fs/zfs/ |
H A D | zap_micro.c | 1347 uint64_t *towrite, uint64_t *tooverwrite) in zap_count_write() argument 1364 *towrite += (3 + (add ? 4 : 0)) * SPA_OLD_MAXBLOCKSIZE; in zap_count_write() 1381 err = fzap_count_write(zn, add, towrite, in zap_count_write() 1388 *towrite += (3 + (add ? 4 : 0)) * SPA_OLD_MAXBLOCKSIZE; in zap_count_write() 1409 *towrite += MZAP_MAX_BLKSZ; in zap_count_write() 1412 *towrite += 4 * MZAP_MAX_BLKSZ; in zap_count_write()
|
H A D | dmu_tx.c | 1115 uint64_t towrite, tofree, tooverwrite, tounref, tohold, fudge; in dmu_tx_try_assign() local 1154 towrite = tofree = tooverwrite = tounref = tohold = fudge = 0; in dmu_tx_try_assign() 1171 towrite += txh->txh_space_towrite; in dmu_tx_try_assign() 1186 towrite += tooverwrite; in dmu_tx_try_assign() 1191 asize = spa_get_asize(tx->tx_pool->dp_spa, towrite + tooverwrite); in dmu_tx_try_assign() 1197 memory = towrite + tooverwrite + tohold; in dmu_tx_try_assign()
|
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 | 1458 uint64_t towrite, newval; in dsl_dir_set_quota_check() local 1483 towrite = dsl_dir_space_towrite(ds->ds_dir); in dsl_dir_set_quota_check() 1484 if ((dmu_tx_is_syncing(tx) || towrite == 0) && in dsl_dir_set_quota_check() 1486 newval < dsl_dir_phys(ds->ds_dir)->dd_used_bytes + towrite)) { in dsl_dir_set_quota_check()
|
/titanic_41/usr/src/uts/common/fs/zfs/sys/ |
H A D | zap_impl.h | 216 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);
|