/freebsd-9.3-release/crypto/openssl/demos/tunala/ |
H A D | buffer.c | 129 int towrite = buffer_used(buf); local 130 if (towrite == 0) 133 towrite = write(fd, buf->data, towrite); 134 if (towrite > 0) { 135 buffer_takedata(buf, NULL, towrite); 136 buf->total_out += towrite; 138 return towrite;
|
/freebsd-9.3-release/sys/fs/ntfs/ |
H A D | ntfs_vnops.c | 310 u_int32_t towrite; local 317 towrite = MIN(bp->b_bcount, 319 dprintf(("ntfs_strategy: towrite: %d, fsize: %d\n", 320 towrite,(u_int32_t)fp->f_size)); 323 fp->f_attrname, ntfs_cntob(bp->b_blkno),towrite, 351 u_int64_t towrite; local 363 towrite = MIN(uio->uio_resid, fp->f_size - uio->uio_offset); 365 dprintf((", towrite: %d\n",(u_int32_t)towrite)); 368 fp->f_attrname, uio->uio_offset, towrite, NUL [all...] |
H A D | ntfs_subr.c | 1372 off_t off = roff, left = rsize, towrite; local 1382 towrite = MIN(left, ntfs_cntob(vap->va_vcnend + 1) - off); 1384 (u_int32_t) off, (u_int32_t) towrite, 1389 towrite, data, &init, uio); 1393 (u_int32_t) off, (u_int32_t) towrite); 1401 left -= towrite; 1402 off += towrite; 1403 data = data + towrite;
|
/freebsd-9.3-release/sys/dev/pbio/ |
H A D | pbio.c | 405 int i, port, ret, towrite, unit; local 415 towrite = min(uio->uio_resid, PBIO_BUFSIZ); 416 if ((ret = uiomove(scp->pd[port].buff, towrite, uio)) != 0) 418 for (i = 0; i < towrite; i++) {
|
/freebsd-9.3-release/sys/fs/hpfs/ |
H A D | hpfs_vnops.c | 342 u_int xfersz, towrite; local 371 towrite = min(off + uio->uio_resid, min(DFLTPHYS, (runl+1)*DEV_BSIZE)); 372 xfersz = (towrite + DEV_BSIZE - 1) & ~(DEV_BSIZE - 1); 373 dprintf(("hpfs_write: bn: 0x%x (0x%x) towrite: 0x%x (0x%x)\n", 374 bn, runl, towrite, xfersz)); 376 if ((off == 0) && (towrite == xfersz)) { 387 error = uiomove(bp->b_data + off, towrite - off, uio);
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | dmu_tx.c | 1088 uint64_t towrite, tofree, tooverwrite, tounref, tohold, fudge; local 1127 towrite = tofree = tooverwrite = tounref = tohold = fudge = 0; 1144 towrite += txh->txh_space_towrite; 1159 towrite += tooverwrite; 1164 asize = spa_get_asize(tx->tx_pool->dp_spa, towrite + tooverwrite); 1170 memory = towrite + tooverwrite + tohold; 1393 dprintf("towrite=%llu written=%llu tofree=%llu freed=%llu\n", 1529 /* If blkptr doesn't exist then add space to towrite */
|
H A D | zap_micro.c | 1394 uint64_t *towrite, uint64_t *tooverwrite) 1412 *towrite += (3 + (add ? 4 : 0)) * SPA_MAXBLOCKSIZE; 1429 err = fzap_count_write(zn, add, towrite, 1436 *towrite += (3 + (add ? 4 : 0)) * SPA_MAXBLOCKSIZE; 1457 *towrite += SPA_MAXBLOCKSIZE; 1460 *towrite += 4 * SPA_MAXBLOCKSIZE; 1393 zap_count_write(objset_t *os, uint64_t zapobj, const char *name, int add, uint64_t *towrite, uint64_t *tooverwrite) argument
|
H A D | zap.c | 1336 fzap_count_write(zap_name_t *zn, int add, uint64_t *towrite, argument 1349 *towrite += zap->zap_dbuf->db_size; 1362 *towrite += zap->zap_dbuf->db_size; 1364 *towrite += (zap->zap_dbuf->db_size * 3); 1383 *towrite += (add ? 2 : 1) * l->l_dbuf->db_size;
|
H A D | dsl_dir.c | 997 dprintf_dd(dd, "txg=%llu towrite=%lluK\n", tx->tx_txg, 1423 uint64_t towrite, newval; local 1448 towrite = dsl_dir_space_towrite(ds->ds_dir); 1449 if ((dmu_tx_is_syncing(tx) || towrite == 0) && 1451 newval < ds->ds_dir->dd_phys->dd_used_bytes + towrite)) {
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | zap_impl.h | 205 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);
|
/freebsd-9.3-release/share/examples/drivers/ |
H A D | make_device_driver.sh | 891 int towrite; 898 towrite = (min(uio->uio_resid, sizeof(scp->buffer))); 899 return(uiomove(scp->buffer, towrite, uio));
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/ |
H A D | regress.c | 1814 int towrite = (int)strlen(TEST1)+1; local 1815 int len = write(data->pair[0], TEST1, towrite); 1819 else if (len != towrite) 1821 len, towrite));
|