Lines Matching refs:inbuf
902 const unsigned char *inbuf; member
962 const u8 * const inbuf = pctx->inbuf; in ntfs_best_match() local
963 const u8 * const strptr = &inbuf[i]; /* String we're matching against */ in ntfs_best_match()
994 matchptr = &inbuf[cur_match]; in ntfs_best_match()
1070 hash = ntfs_hash(pctx->inbuf + i); in ntfs_skip_position()
1089 static unsigned int ntfs_compress_block(const char *inbuf, const int bufsize, in ntfs_compress_block() argument
1117 pctx->inbuf = (const unsigned char *)inbuf; in ntfs_compress_block()
1203 outbuf[xout++] = inbuf[i++]; in ntfs_compress_block()
1232 outbuf[xout++] = inbuf[i++]; in ntfs_compress_block()
1258 memcpy(&outbuf[2], inbuf, bufsize); in ntfs_compress_block()
1278 char *outbuf = NULL, *pbuf, *inbuf; in ntfs_write_cb() local
1300 inbuf = vmap(pages, pages_per_cb, VM_MAP, PAGE_KERNEL_RO); in ntfs_write_cb()
1301 if (!inbuf) in ntfs_write_cb()
1307 vunmap(inbuf); in ntfs_write_cb()
1336 sz = ntfs_compress_block(&inbuf[p], bsz, pbuf); in ntfs_write_cb()
1460 vunmap(inbuf); in ntfs_write_cb()