Lines Matching refs:outbuf
277 char *outbuf)
314 ptag = &outbuf[xout++];
349 outbuf[xout++] = q & 255;
350 outbuf[xout++] = (q >> 8) & 255;
383 outbuf[xout++] = inbuf[i++];
390 outbuf[xout++] = q & 255;
391 outbuf[xout++] = (q >> 8) & 255;
408 outbuf[xout++] = inbuf[i++];
416 ptag = &outbuf[xout++];
431 outbuf[0] = (xout - 3) & 255;
432 outbuf[1] = 0xb0 + (((xout - 3) >> 8) & 15);
435 memcpy(&outbuf[2], inbuf, bufsize);
437 memset(&outbuf[bufsize + 2], 0, NTFS_SB_SIZE - bufsize);
438 outbuf[0] = 0xff;
439 outbuf[1] = 0x3f;
444 * written to 'outbuf'. */
1024 s64 offs, s32 to_write, const char *outbuf)
1035 xoutbuf = outbuf;
1072 char *outbuf;
1094 outbuf = (char*)ntfs_malloc(na->compression_block_size
1097 if (outbuf) {
1106 pbuf = &outbuf[compsz];
1138 outbuf[compsz++] = 0;
1139 outbuf[compsz++] = 0;
1142 memset(&outbuf[compsz], 0, rounded - compsz);
1143 written = write_clusters(vol, rl, offs, rounded, outbuf);
1156 free(outbuf);
1584 char *outbuf, s64 to_write, const void *b)
1593 memset(outbuf,0,compsz);
1594 memcpy(&outbuf[pos],b,to_write);
1607 && !ntfs_decompress((u8*)outbuf,decompsz,
1609 memcpy(&outbuf[pos],b,to_write);
1627 char *outbuf, s32 count, BOOL compress,
1635 written = ntfs_comp_set(na, rl, offs, count, outbuf);
1649 memset(&outbuf[count], 0, rounded - count);
1651 offs, rounded, outbuf);
1688 char *outbuf;
1778 outbuf = (char*)ntfs_malloc(na->compression_block_size);
1779 if (outbuf) {
1792 outbuf, to_write, b)) {
1794 outbuf, to_flush, compress, appending,
1801 free(outbuf);