HomeSort by: relevance | last modified time | path
    Searched refs:towrite (Results 1 - 25 of 30) sorted by relevancy

1 2

  /xsrc/external/mit/libdrm/dist/
gen_table_fourcc.py 33 towrite = sys.argv[2] variable
53 with open(towrite, "w") as f:
  /xsrc/external/mit/libpciaccess/dist/src/
x86_pci.c 997 int towrite = 4; local
998 if (towrite > size)
999 towrite = size;
1000 if (towrite > 4 - (offset & 0x3))
1001 towrite = 4 - (offset & 0x3);
1003 err = pci_system_x86_conf1_write(dev->bus, dev->dev, dev->func, offset, data, towrite);
1007 offset += towrite;
1008 data = (const char*)data + towrite;
1009 size -= towrite;
1010 *bytes_written += towrite;
1023 int towrite = 4; local
    [all...]
hurd_pci.c 411 size_t towrite = 4; local
412 if (towrite > size)
413 towrite = size;
414 if (towrite > 4 - (offset & 0x3))
415 towrite = 4 - (offset & 0x3);
418 &towrite);
422 offset += towrite;
423 data = (const char*)data + towrite;
424 size -= towrite;
425 *bytes_written += towrite;
    [all...]
freebsd_pci.c 240 int towrite = (size < 4 ? size : 4); local
243 if (towrite == 3)
244 towrite = 2;
247 io.pi_width = towrite;
248 memcpy( &io.pi_data, data, towrite );
253 offset += towrite;
254 data = (char *)data + towrite;
255 size -= towrite;
256 *bytes_written += towrite;
  /src/external/bsd/openldap/dist/libraries/liblber/
io.c 227 ber_len_t towrite; local
238 towrite = ber->ber_ptr - ber->ber_rwptr;
243 towrite, (long) sb->sb_fd,
246 ber->ber_rwptr, towrite );
249 while ( towrite > 0 ) {
254 rc = ber_int_sb_write( sb, ber->ber_rwptr, towrite );
260 towrite -= rc;
io.c 227 ber_len_t towrite; local
238 towrite = ber->ber_ptr - ber->ber_rwptr;
243 towrite, (long) sb->sb_fd,
246 ber->ber_rwptr, towrite );
249 while ( towrite > 0 ) {
254 rc = ber_int_sb_write( sb, ber->ber_rwptr, towrite );
260 towrite -= rc;
  /src/sys/fs/ntfs/
ntfs_vnops.c 334 u_int32_t towrite; local
340 towrite = MIN(bp->b_bcount,
342 dprintf(("ntfs_strategy: towrite: %d, fsize: %d\n",
343 towrite,(u_int32_t)fp->f_size));
346 fp->f_attrname, ntfs_cntob(bp->b_blkno),towrite,
373 u_int64_t towrite; local
387 towrite = MIN(uio->uio_resid, fp->f_size - uio->uio_offset);
389 dprintf((", towrite: %qu\n",(long long)towrite));
392 fp->f_attrname, uio->uio_offset, towrite, NULL, &written, uio)
    [all...]
ntfs_vnops.c 334 u_int32_t towrite; local
340 towrite = MIN(bp->b_bcount,
342 dprintf(("ntfs_strategy: towrite: %d, fsize: %d\n",
343 towrite,(u_int32_t)fp->f_size));
346 fp->f_attrname, ntfs_cntob(bp->b_blkno),towrite,
373 u_int64_t towrite; local
387 towrite = MIN(uio->uio_resid, fp->f_size - uio->uio_offset);
389 dprintf((", towrite: %qu\n",(long long)towrite));
392 fp->f_attrname, uio->uio_offset, towrite, NULL, &written, uio)
    [all...]
ntfs_subr.c 1207 off_t off = roff, left = rsize, towrite; local
1217 towrite = MIN(left, ntfs_cntob(vap->va_vcnend + 1) - off);
1219 (long long) off, (long long) towrite,
1224 towrite, data, &init, uio);
1228 __func__, (long long) off, (long long) towrite));
1236 left -= towrite;
1237 off += towrite;
1238 data = (char *)data + towrite;
ntfs_subr.c 1207 off_t off = roff, left = rsize, towrite; local
1217 towrite = MIN(left, ntfs_cntob(vap->va_vcnend + 1) - off);
1219 (long long) off, (long long) towrite,
1224 towrite, data, &init, uio);
1228 __func__, (long long) off, (long long) towrite));
1236 left -= towrite;
1237 off += towrite;
1238 data = (char *)data + towrite;
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
zap_impl.h 217 int fzap_count_write(zap_name_t *zn, int add, refcount_t *towrite,
zap_impl.h 217 int fzap_count_write(zap_name_t *zn, int add, refcount_t *towrite,
zap.h 227 int add, refcount_t *towrite, refcount_t *tooverwrite);
zap.h 227 int add, refcount_t *towrite, refcount_t *tooverwrite);
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
dmu_tx.c 1178 uint64_t towrite, tofree, tooverwrite, tounref, tohold, fudge; local
1217 towrite = tofree = tooverwrite = tounref = tohold = fudge = 0;
1234 towrite += refcount_count(&txh->txh_space_towrite);
1249 towrite += tooverwrite;
1254 asize = spa_get_asize(tx->tx_pool->dp_spa, towrite + tooverwrite);
1260 memory = towrite + tooverwrite + tohold;
1517 dprintf("towrite=%llu written=%llu tofree=%llu freed=%llu\n",
1630 /* If blkptr doesn't exist then add space to towrite */
zap_micro.c 1495 refcount_t *towrite, refcount_t *tooverwrite)
1512 (void) refcount_add_many(towrite,
1531 err = fzap_count_write(zn, add, towrite,
1538 (void) refcount_add_many(towrite,
1561 (void) refcount_add_many(towrite,
1566 (void) refcount_add_many(towrite,
dmu_tx.c 1178 uint64_t towrite, tofree, tooverwrite, tounref, tohold, fudge; local
1217 towrite = tofree = tooverwrite = tounref = tohold = fudge = 0;
1234 towrite += refcount_count(&txh->txh_space_towrite);
1249 towrite += tooverwrite;
1254 asize = spa_get_asize(tx->tx_pool->dp_spa, towrite + tooverwrite);
1260 memory = towrite + tooverwrite + tohold;
1517 dprintf("towrite=%llu written=%llu tofree=%llu freed=%llu\n",
1630 /* If blkptr doesn't exist then add space to towrite */
zap_micro.c 1495 refcount_t *towrite, refcount_t *tooverwrite)
1512 (void) refcount_add_many(towrite,
1531 err = fzap_count_write(zn, add, towrite,
1538 (void) refcount_add_many(towrite,
1561 (void) refcount_add_many(towrite,
1566 (void) refcount_add_many(towrite,
zap.c 1361 fzap_count_write(zap_name_t *zn, int add, refcount_t *towrite,
1375 (void) refcount_add_many(towrite,
1389 (void) refcount_add_many(towrite,
1392 (void) refcount_add_many(towrite,
1413 (void) refcount_add_many(towrite,
zap.c 1361 fzap_count_write(zap_name_t *zn, int add, refcount_t *towrite,
1375 (void) refcount_add_many(towrite,
1389 (void) refcount_add_many(towrite,
1392 (void) refcount_add_many(towrite,
1413 (void) refcount_add_many(towrite,
dsl_dir.c 1027 dprintf_dd(dd, "txg=%llu towrite=%lluK\n", tx->tx_txg,
1456 uint64_t towrite, newval; local
1481 towrite = dsl_dir_space_towrite(ds->ds_dir);
1482 if ((dmu_tx_is_syncing(tx) || towrite == 0) &&
1484 newval < dsl_dir_phys(ds->ds_dir)->dd_used_bytes + towrite)) {
dsl_dir.c 1027 dprintf_dd(dd, "txg=%llu towrite=%lluK\n", tx->tx_txg,
1456 uint64_t towrite, newval; local
1481 towrite = dsl_dir_space_towrite(ds->ds_dir);
1482 if ((dmu_tx_is_syncing(tx) || towrite == 0) &&
1484 newval < dsl_dir_phys(ds->ds_dir)->dd_used_bytes + towrite)) {
  /src/sys/arch/amiga/dev/
fd.c 338 #define FDDMASTART(len, towrite) do { \
339 int dmasz = (len) | ((towrite) ? DISKLEN_WRITE : 0) | DISKLEN_DMAEN; \
1065 fdsetpos(struct fd_softc *sc, int trk, int towrite)
1090 if (towrite)
1094 printf("fdsetpos: cyl %d head %d towrite %d\n", trk / FDNHEADS,
1095 trk % FDNHEADS, towrite);
fd.c 338 #define FDDMASTART(len, towrite) do { \
339 int dmasz = (len) | ((towrite) ? DISKLEN_WRITE : 0) | DISKLEN_DMAEN; \
1065 fdsetpos(struct fd_softc *sc, int trk, int towrite)
1090 if (towrite)
1094 printf("fdsetpos: cyl %d head %d towrite %d\n", trk / FDNHEADS,
1095 trk % FDNHEADS, towrite);
  /src/sys/dev/hyperv/
vmbus.c 1672 vmbus_ring_avail(struct vmbus_ring_data *rd, uint32_t *towrite,
1686 if (towrite)
1687 *towrite = w;

Completed in 65 milliseconds

1 2