Lines Matching defs:inbuf
89 const unsigned char *inbuf;
152 const u8 * const inbuf = pctx->inbuf;
153 const u8 * const strptr = &inbuf[i]; /* String we're matching against */
185 matchptr = &inbuf[cur_match];
256 hash = ntfs_hash(pctx->inbuf + i);
276 static unsigned int ntfs_compress_block(const char *inbuf, const int bufsize,
304 pctx->inbuf = (const unsigned char*)inbuf;
383 outbuf[xout++] = inbuf[i++];
408 outbuf[xout++] = inbuf[i++];
435 memcpy(&outbuf[2], inbuf, bufsize);
982 s64 offs, u32 to_read, char *inbuf)
994 xinbuf = inbuf;
1069 s64 offs, u32 insz, const char *inbuf)
1107 sz = ntfs_compress_block(&inbuf[p],bsz,pbuf);
1687 char *inbuf;
1809 inbuf = (char*)ntfs_malloc(na->compression_block_size);
1810 if (inbuf) {
1814 to_read, inbuf);
1818 memcpy(&inbuf[to_read],b,to_write);
1820 to_read + to_write, inbuf);
1836 free(inbuf);
1884 char *inbuf;
1913 inbuf = (char*)ntfs_malloc(na->compression_block_size);
1914 if (inbuf) {
1937 inbuf);
1940 to_read, inbuf);
1955 free(inbuf);