Home
last modified time | relevance | path

Searched refs:workspace (Results 1 – 25 of 1989) sorted by relevance

12345678910>>...80

/linux/fs/btrfs/
A Dzlib.c39 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_get_workspace() argument
48 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_free_workspace() local
50 kvfree(workspace->strm.workspace); in zlib_free_workspace()
57 struct workspace *workspace; in zlib_alloc_workspace() local
83 if (!workspace->strm.workspace || !workspace->buf) in zlib_alloc_workspace()
98 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_compress_pages() local
133 workspace->strm.next_in = workspace->buf; in zlib_compress_pages()
162 workspace->strm.next_in = workspace->buf; in zlib_compress_pages()
279 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_decompress_bio() local
296 workspace->strm.next_out = workspace->buf; in zlib_decompress_bio()
[all …]
A Dzstd.c198 struct workspace *workspace; in zstd_cleanup_workspace_manager() local
230 struct workspace *workspace; in zstd_find_workspace() local
311 if (workspace->req_level == workspace->level) { in zstd_put_workspace()
336 struct workspace *workspace = list_entry(ws, struct workspace, list); in zstd_free_workspace() local
345 struct workspace *workspace; in zstd_alloc_workspace() local
357 if (!workspace->mem || !workspace->buf) in zstd_alloc_workspace()
373 struct workspace *workspace = list_entry(ws, struct workspace, list); in zstd_compress_pages() local
548 struct workspace *workspace = list_entry(ws, struct workspace, list); in zstd_decompress_bio() local
570 workspace->out_buf.dst = workspace->buf; in zstd_decompress_bio()
626 struct workspace *workspace = list_entry(ws, struct workspace, list); in zstd_decompress() local
[all …]
A Dlzo.c58 struct workspace { struct
69 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_free_workspace() argument
71 kvfree(workspace->buf); in lzo_free_workspace()
74 kfree(workspace); in lzo_free_workspace()
79 struct workspace *workspace; in lzo_alloc_workspace() local
81 workspace = kzalloc(sizeof(*workspace), GFP_KERNEL); in lzo_alloc_workspace()
82 if (!workspace) in lzo_alloc_workspace()
88 if (!workspace->mem || !workspace->buf || !workspace->cbuf) in lzo_alloc_workspace()
210 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_compress_pages() local
330 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_decompress_bio() local
[all …]
A Dcompression.c1031 kvfree(workspace->sample); in free_heuristic_ws()
1032 kfree(workspace->bucket); in free_heuristic_ws()
1033 kfree(workspace->bucket_b); in free_heuristic_ws()
1034 kfree(workspace); in free_heuristic_ws()
1111 struct list_head *workspace; in btrfs_init_workspace_manager() local
1124 if (IS_ERR(workspace)) { in btrfs_init_workspace_manager()
1176 workspace = idle_ws->next; in btrfs_get_workspace()
1177 list_del(workspace); in btrfs_get_workspace()
1180 return workspace; in btrfs_get_workspace()
1205 if (IS_ERR(workspace)) { in btrfs_get_workspace()
[all …]
/linux/lib/zstd/compress/
A Dzstd_compress_superblock.c68 BYTE* const wkspStart = (BYTE*)workspace; in ZSTD_buildSuperBlockEntropy_literal()
71 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_buildSuperBlockEntropy_literal()
171 BYTE* const wkspStart = (BYTE*)workspace; in ZSTD_buildSuperBlockEntropy_sequences()
174 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_buildSuperBlockEntropy_sequences()
192 ZSTD_memset(workspace, 0, wkspSize); in ZSTD_buildSuperBlockEntropy_sequences()
280 void* workspace, size_t wkspSize) in ZSTD_buildSuperBlockEntropy() argument
588 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_estimateSubBlockSize_literal()
610 void* workspace, size_t wkspSize) in ZSTD_estimateSubBlockSize_symbolType() argument
612 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_estimateSubBlockSize_symbolType()
654 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences()
[all …]
A Dzstd_cwksp.h139 void* workspace; member
161 assert(ws->workspace <= ws->objectEnd); in ZSTD_cwksp_assert_internal_consistency()
224 return (ptr != NULL) && (ws->workspace <= ptr) && (ptr <= ws->workspaceEnd); in ZSTD_cwksp_owns_buffer()
402 ws->workspace = start; in ZSTD_cwksp_init()
404 ws->objectEnd = ws->workspace; in ZSTD_cwksp_init()
414 void* workspace = ZSTD_customMalloc(size, customMem); in ZSTD_cwksp_create() local
416 RETURN_ERROR_IF(workspace == NULL, memory_allocation, "NULL pointer!"); in ZSTD_cwksp_create()
417 ZSTD_cwksp_init(ws, workspace, size, ZSTD_cwksp_dynamic_alloc); in ZSTD_cwksp_create()
422 void *ptr = ws->workspace; in ZSTD_cwksp_free()
438 return (size_t)((BYTE*)ws->workspaceEnd - (BYTE*)ws->workspace); in ZSTD_cwksp_sizeof()
[all …]
/linux/lib/zstd/
A Dzstd_decompress_module.c47 zstd_dctx *zstd_init_dctx(void *workspace, size_t workspace_size) in zstd_init_dctx() argument
49 if (workspace == NULL) in zstd_init_dctx()
51 return ZSTD_initStaticDCtx(workspace, workspace_size); in zstd_init_dctx()
68 zstd_dstream *zstd_init_dstream(size_t max_window_size, void *workspace, in zstd_init_dstream() argument
71 if (workspace == NULL) in zstd_init_dstream()
74 return ZSTD_initStaticDStream(workspace, workspace_size); in zstd_init_dstream()
A Dzstd_compress_module.c88 zstd_cctx *zstd_init_cctx(void *workspace, size_t workspace_size) in zstd_init_cctx() argument
90 if (workspace == NULL) in zstd_init_cctx()
92 return ZSTD_initStaticCCtx(workspace, workspace_size); in zstd_init_cctx()
111 unsigned long long pledged_src_size, void *workspace, size_t workspace_size) in zstd_init_cstream() argument
115 if (workspace == NULL) in zstd_init_cstream()
118 cstream = ZSTD_initStaticCStream(workspace, workspace_size); in zstd_init_cstream()
/linux/fs/jffs2/
A Dcompr_zlib.c45 def_strm.workspace = vmalloc(zlib_deflate_workspacesize(MAX_WBITS, in alloc_workspaces()
47 if (!def_strm.workspace) in alloc_workspaces()
52 inf_strm.workspace = vmalloc(zlib_inflate_workspacesize()); in alloc_workspaces()
53 if (!inf_strm.workspace) { in alloc_workspaces()
54 vfree(def_strm.workspace); in alloc_workspaces()
64 vfree(def_strm.workspace); in free_workspaces()
65 vfree(inf_strm.workspace); in free_workspaces()
/linux/crypto/
A Ddeflate.c47 stream->workspace = vzalloc(zlib_deflate_workspacesize( in deflate_comp_init()
49 if (!stream->workspace) { in deflate_comp_init()
67 vfree(stream->workspace); in deflate_comp_init()
76 stream->workspace = vzalloc(zlib_inflate_workspacesize()); in deflate_decomp_init()
77 if (!stream->workspace) { in deflate_decomp_init()
92 vfree(stream->workspace); in deflate_decomp_init()
99 vfree(ctx->comp_stream.workspace); in deflate_comp_exit()
105 vfree(ctx->decomp_stream.workspace); in deflate_decomp_exit()
/linux/include/linux/
A Dzstd.h165 zstd_cctx *zstd_init_cctx(void *workspace, size_t workspace_size);
204 zstd_dctx *zstd_init_dctx(void *workspace, size_t workspace_size);
276 unsigned long long pledged_src_size, void *workspace, size_t workspace_size);
366 zstd_dstream *zstd_init_dstream(size_t max_window_size, void *workspace,
/linux/fs/squashfs/
A Dzstd_wrapper.c23 struct workspace { struct
31 struct workspace *wksp = kmalloc(sizeof(*wksp), GFP_KERNEL); in zstd_init() argument
53 struct workspace *wksp = strm; in zstd_free()
65 struct workspace *wksp = strm; in zstd_uncompress()
/linux/lib/zlib_inflate/
A Dinfutil.c20 strm->workspace = kmalloc(zlib_inflate_workspacesize(), GFP_KERNEL); in zlib_inflate_blob()
21 if (strm->workspace == NULL) in zlib_inflate_blob()
44 kfree(strm->workspace); in zlib_inflate_blob()
/linux/fs/cramfs/
A Duncompress.c62 stream.workspace = vmalloc(zlib_inflate_workspacesize()); in cramfs_uncompress_init()
63 if (!stream.workspace) { in cramfs_uncompress_init()
78 vfree(stream.workspace); in cramfs_uncompress_exit()
/linux/drivers/firmware/efi/libstub/
A D.fdt.stub.o.cmd1workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarch64-linux-gnu-strip --strip-debug -o…
A D.file.stub.o.cmd1workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarch64-linux-gnu-strip --strip-debug -o…
A D.lib-fdt.stub.o.cmd1workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarch64-linux-gnu-strip --strip-debug -o…
A D.lib-fdt_empty_tree.stub.o.cmd1workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarch64-linux-gnu-strip --strip-debug -o…
A D.lib-fdt_ro.stub.o.cmd1workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarch64-linux-gnu-strip --strip-debug -o…
A D.lib-fdt_rw.stub.o.cmd1workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarch64-linux-gnu-strip --strip-debug -o…
A D.lib-fdt_sw.stub.o.cmd1workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarch64-linux-gnu-strip --strip-debug -o…
A D.lib-fdt_wip.stub.o.cmd1workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarch64-linux-gnu-strip --strip-debug -o…
A D.mem.stub.o.cmd1workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarch64-linux-gnu-strip --strip-debug -o…
A D.pci.stub.o.cmd1workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarch64-linux-gnu-strip --strip-debug -o…
A D.random.stub.o.cmd1workspace/code/optee_3.16/build/../toolchains/aarch64/bin/aarch64-linux-gnu-strip --strip-debug -o…

Completed in 35 milliseconds

12345678910>>...80