Lines Matching refs:in_buf

51 	zstd_in_buffer in_buf;  member
402 workspace->in_buf.src = kmap(in_page); in zstd_compress_pages()
403 workspace->in_buf.pos = 0; in zstd_compress_pages()
404 workspace->in_buf.size = min_t(size_t, len, PAGE_SIZE); in zstd_compress_pages()
422 &workspace->in_buf); in zstd_compress_pages()
431 if (tot_in + workspace->in_buf.pos > 8192 && in zstd_compress_pages()
432 tot_in + workspace->in_buf.pos < in zstd_compress_pages()
468 if (workspace->in_buf.pos >= len) { in zstd_compress_pages()
469 tot_in += workspace->in_buf.pos; in zstd_compress_pages()
474 if (workspace->in_buf.pos == workspace->in_buf.size) { in zstd_compress_pages()
482 workspace->in_buf.src = kmap(in_page); in zstd_compress_pages()
483 workspace->in_buf.pos = 0; in zstd_compress_pages()
484 workspace->in_buf.size = min_t(size_t, len, PAGE_SIZE); in zstd_compress_pages()
566 workspace->in_buf.src = kmap(pages_in[page_in_index]); in zstd_decompress_bio()
567 workspace->in_buf.pos = 0; in zstd_decompress_bio()
568 workspace->in_buf.size = min_t(size_t, srclen, PAGE_SIZE); in zstd_decompress_bio()
578 &workspace->in_buf); in zstd_decompress_bio()
594 if (workspace->in_buf.pos >= srclen) in zstd_decompress_bio()
601 if (workspace->in_buf.pos == workspace->in_buf.size) { in zstd_decompress_bio()
604 workspace->in_buf.src = NULL; in zstd_decompress_bio()
609 workspace->in_buf.src = kmap(pages_in[page_in_index]); in zstd_decompress_bio()
610 workspace->in_buf.pos = 0; in zstd_decompress_bio()
611 workspace->in_buf.size = min_t(size_t, srclen, PAGE_SIZE); in zstd_decompress_bio()
617 if (workspace->in_buf.src) in zstd_decompress_bio()
643 workspace->in_buf.src = data_in; in zstd_decompress()
644 workspace->in_buf.pos = 0; in zstd_decompress()
645 workspace->in_buf.size = srclen; in zstd_decompress()
653 && workspace->in_buf.pos < workspace->in_buf.size) { in zstd_decompress()
665 &workspace->in_buf); in zstd_decompress()