Searched refs:to_write (Results 1 - 6 of 6) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcompress.h33 s64 offs, s64 to_write, s64 rounded,
H A Dcompress.c1024 s64 offs, s32 to_write, const char *outbuf)
1044 if ((to_write - put) < count)
1045 count = to_write - put;
1054 } while ((xput == count) && (put < to_write));
1584 char *outbuf, s64 to_write, const void *b)
1594 memcpy(&outbuf[pos],b,to_write);
1609 memcpy(&outbuf[pos],b,to_write);
1671 s64 offs, s64 to_write, s64 rounded,
1734 endwrite = offs + to_write + (wrl->vcn << vol->cluster_size_bits);
1740 to_write
1023 write_clusters(ntfs_volume *vol, const runlist_element *rl, s64 offs, s32 to_write, const char *outbuf) argument
1582 ntfs_read_append(ntfs_attr *na, const runlist_element *rl, s64 offs, u32 compsz, s32 pos, BOOL appending, char *outbuf, s64 to_write, const void *b) argument
1670 ntfs_compressed_pwrite(ntfs_attr *na, runlist_element *wrl, s64 wpos, s64 offs, s64 to_write, s64 rounded, const void *b, int compressed_part, VCN *update_from) argument
[all...]
H A Dwin32_io.c1638 s64 old_pos, to_write, i, bw = 0; local
1646 to_write = (ofs + count + fd->geo_sector_size - 1) &
1649 if (to_write > 0x80000000) {
1650 int delta = to_write - count;
1651 to_write = 0x80000000;
1652 count = to_write - delta;
1655 "ofs = %i, to_write = 0x%llx.\n", fd, b,
1657 (long long)to_write);
1673 readbuffer = (BYTE *)VirtualAlloc(NULL, to_write,
1699 ((to_write > f
[all...]
H A Drunlist.c1205 s64 written, to_write, total = 0; local
1233 to_write = min(count, (rl->length <<
1236 total += to_write;
1237 count -= to_write;
1238 b = (u8*)b + to_write;
1242 to_write = min(count, (rl->length << vol->cluster_size_bits) -
1248 to_write, b);
1250 written = to_write;
H A Dattrib.c1304 s64 to_write; local
1323 to_write = min(count, ((*rl)->length << vol->cluster_size_bits) - *ofs);
1330 (long long)from_vcn, (long long)to_write, (long long)*ofs);
1391 need = ((*ofs + to_write - 1) >> vol->cluster_size_bits)
1850 s64 written, to_write, ofs, old_initialized_size, old_data_size; local
2224 to_write = min(count, (rl->length << vol->cluster_size_bits) - ofs);
2227 "%lld.\n", (long long)to_write, (long long)rl->vcn,
2232 s64 wend = (rl->vcn << vol->cluster_size_bits) + ofs + to_write;
2251 rounding += to_write;
2257 memcpy(cb, b, to_write);
[all...]
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Dpcm.c1459 int to_write = *nwritten; /* in play bytes, not input bytes! */ local
1474 to_write >>= 1; /* floats collapse by 2 */
1476 while (to_write > 0) {
1510 if (block > to_write) {
1518 block = to_write;
1520 else if (block < to_write) {
1551 to_write -= block;

Completed in 100 milliseconds