Home
last modified time | relevance | path

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

12345

/openbmc/linux/fs/btrfs/
H A Dzlib.c26 struct workspace { struct
39 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_get_workspace() argument
41 workspace->level = level; in zlib_get_workspace()
48 struct workspace *workspace = list_entry(ws, struct workspace, list); in zlib_free_workspace() local
50 kvfree(workspace->strm.workspace); in zlib_free_workspace()
51 kfree(workspace->buf); in zlib_free_workspace()
52 kfree(workspace); in zlib_free_workspace()
57 struct workspace *workspace; in zlib_alloc_workspace() local
60 workspace = kzalloc(sizeof(*workspace), GFP_KERNEL); in zlib_alloc_workspace()
61 if (!workspace) in zlib_alloc_workspace()
[all …]
H A Dzstd.c42 struct workspace { struct
89 static inline struct workspace *list_to_workspace(struct list_head *list) in list_to_workspace()
91 return container_of(list, struct workspace, list); in list_to_workspace()
120 struct workspace *victim = container_of(pos, struct workspace, in zstd_reclaim_timer_fn()
202 struct workspace *workspace; in zstd_cleanup_workspace_manager() local
208 workspace = container_of(wsm.idle_ws[i].next, in zstd_cleanup_workspace_manager()
209 struct workspace, list); in zstd_cleanup_workspace_manager()
210 list_del(&workspace->list); in zstd_cleanup_workspace_manager()
211 list_del(&workspace->lru_list); in zstd_cleanup_workspace_manager()
212 zstd_free_workspace(&workspace->list); in zstd_cleanup_workspace_manager()
[all …]
H A Dlzo.c64 struct workspace { struct
75 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_free_workspace() local
77 kvfree(workspace->buf); in lzo_free_workspace()
78 kvfree(workspace->cbuf); in lzo_free_workspace()
79 kvfree(workspace->mem); in lzo_free_workspace()
80 kfree(workspace); in lzo_free_workspace()
85 struct workspace *workspace; in lzo_alloc_workspace() local
87 workspace = kzalloc(sizeof(*workspace), GFP_KERNEL); in lzo_alloc_workspace()
88 if (!workspace) in lzo_alloc_workspace()
91 workspace->mem = kvmalloc(LZO1X_MEM_COMPRESS, GFP_KERNEL | __GFP_NOWARN); in lzo_alloc_workspace()
[all …]
H A Dcompression.c595 struct heuristic_ws *workspace; in free_heuristic_ws() local
597 workspace = list_entry(ws, struct heuristic_ws, list); in free_heuristic_ws()
599 kvfree(workspace->sample); in free_heuristic_ws()
600 kfree(workspace->bucket); in free_heuristic_ws()
601 kfree(workspace->bucket_b); in free_heuristic_ws()
602 kfree(workspace); in free_heuristic_ws()
679 struct list_head *workspace; in btrfs_init_workspace_manager() local
691 workspace = alloc_workspace(type, 0); in btrfs_init_workspace_manager()
692 if (IS_ERR(workspace)) { in btrfs_init_workspace_manager()
698 list_add(workspace, &wsm->idle_ws); in btrfs_init_workspace_manager()
[all …]
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dexport.py22 def export(args, config, basepath, workspace): argument
29 fd.write(json.dumps((config.workspace_path, workspace)))
51 if not workspace:
57 if recipe not in workspace:
76 if not len(set(workspace.keys()).difference(set(args.exclude))):
84 add_recipe(tar, recipe, workspace[recipe])
87 for recipe, data in workspace.items():
H A Dbuild_image.py22 def _get_packages(tinfoil, workspace, config): argument
25 for recipe in workspace:
35 def build_image(args, config, basepath, workspace): argument
53 result, outputdir = build_image_task(config, basepath, workspace, image, add_packages)
65 def build_image_task(config, basepath, workspace, image, add_packages=None, task=None, extra_append… argument
98 if workspace or add_packages:
102 packages = _get_packages(tinfoil, workspace, config)
106 if not packages and not add_packages and workspace:
H A Dutilcmds.py23 def _find_recipe_path(args, config, basepath, workspace): argument
26 if args.recipename in workspace:
27 recipefile = workspace[args.recipename]['recipefile']
42 def find_recipe(args, config, basepath, workspace): argument
44 recipefile = _find_recipe_path(args, config, basepath, workspace)
49 def edit_recipe(args, config, basepath, workspace): argument
51 return scriptutils.run_editor(_find_recipe_path(args, config, basepath, workspace), logger)
54 def configure_help(args, config, basepath, workspace): argument
58 check_workspace_recipe(workspace, args.recipename)
H A Dstandard.py30 def add(args, config, basepath, workspace): argument
78 if args.recipename in workspace:
173 if recipename in workspace:
427 def extract(args, config, basepath, workspace): argument
441 …t_source(srctree, args.keep_temp, args.branch, False, config, basepath, workspace, args.fixed_setu…
451 def sync(args, config, basepath, workspace): argument
465 …ct_source(srctree, args.keep_temp, args.branch, True, config, basepath, workspace, args.fixed_setu…
475 def _extract_source(srctree, keep_temp, devbranch, sync, config, basepath, workspace, fixed_setup, … argument
572 update_unlockedsigs(basepath, workspace, fixed_setup, [pn])
758 def modify(args, config, basepath, workspace): argument
[all …]
H A Dbuild.py44 def build(args, config, basepath, workspace): argument
46 workspacepn = check_workspace_recipe(workspace, args.recipename, bbclassextend=True)
64 bbappend = workspace[workspacepn]['bbappend']
H A Dbuild_sdk.py22 def build_sdk(args, config, basepath, workspace): argument
35 workspace,
/openbmc/linux/lib/zstd/
H 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()
H 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()
/openbmc/linux/fs/jffs2/
H 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()
/openbmc/openbmc/poky/documentation/ref-manual/
H A Ddevtool-reference.rst47 status Show workspace status
51 Working on a recipe in the workspace:
54 rename Rename a recipe file in the workspace
59 reset Remove a recipe from your workspace
60 finish Finish working on a recipe in your workspace
64 build-image Build image including workspace recipe packages
66 create-workspace Set up workspace in an alternative location
67 import Import exported tar archive into workspace
68 export Export workspace into a tar archive
84 …Adds a new recipe to the workspace to build a specified source tree. Can optionally fetch a remote…
[all …]
/openbmc/openbmc/poky/meta-selftest/lib/devtool/
H A Dbbpath.py13 def print_name(args, config, basepath, workspace): argument
16 def print_bbdir(args, config, basepath, workspace): argument
19 def print_registered(args, config, basepath, workspace): argument
23 def multiloaded(args, config, basepath, workspace): argument
/openbmc/linux/lib/zstd/compress/
H A Dzstd_compress_superblock.c305 void* workspace, size_t wkspSize, in ZSTD_estimateSubBlockSize_literal() argument
308 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_estimateSubBlockSize_literal()
315 … HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)literals, litSize, workspace, wkspSize); in ZSTD_estimateSubBlockSize_literal()
330 void* workspace, size_t wkspSize) in ZSTD_estimateSubBlockSize_symbolType() argument
332 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_estimateSubBlockSize_symbolType()
339 HIST_countFast_wksp(countWksp, &max, codeTable, nbSeq, workspace, wkspSize); /* can't fail */ in ZSTD_estimateSubBlockSize_symbolType()
366 void* workspace, size_t wkspSize, in ZSTD_estimateSubBlockSize_sequences() argument
375 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences()
379 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences()
383 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences()
[all …]
H A Dzstd_cwksp.h143 void* workspace; member
165 assert(ws->workspace <= ws->objectEnd); in ZSTD_cwksp_assert_internal_consistency()
317 return (ptr != NULL) && (ws->workspace <= ptr) && (ptr <= ws->workspaceEnd); in ZSTD_cwksp_owns_buffer()
497 ws->workspace = start; in ZSTD_cwksp_init()
499 ws->objectEnd = ws->workspace; in ZSTD_cwksp_init()
509 void* workspace = ZSTD_customMalloc(size, customMem); in ZSTD_cwksp_create() local
511 RETURN_ERROR_IF(workspace == NULL, memory_allocation, "NULL pointer!"); in ZSTD_cwksp_create()
512 ZSTD_cwksp_init(ws, workspace, size, ZSTD_cwksp_dynamic_alloc); in ZSTD_cwksp_create()
517 void *ptr = ws->workspace; in ZSTD_cwksp_free()
533 return (size_t)((BYTE*)ws->workspaceEnd - (BYTE*)ws->workspace); in ZSTD_cwksp_sizeof()
[all …]
/openbmc/linux/fs/pstore/
H A Dplatform.c181 .workspace = compress_workspace, in pstore_compress()
587 char *unzipped, *workspace; in decompress_record() local
600 if (!zstream->workspace) { in decompress_record()
613 workspace = kvzalloc(max_uncompressed_size + record->ecc_notice_size, in decompress_record()
615 if (!workspace) in decompress_record()
620 zstream->next_out = workspace; in decompress_record()
626 kvfree(workspace); in decompress_record()
633 memcpy(workspace + unzipped_len, record->buf + record->size, in decompress_record()
637 unzipped = kvmemdup(workspace, unzipped_len + record->ecc_notice_size, in decompress_record()
639 kvfree(workspace); in decompress_record()
[all …]
/openbmc/linux/crypto/
H 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()
/openbmc/linux/include/linux/
H 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,
/openbmc/linux/lib/zlib_inflate/
H 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()
/openbmc/linux/fs/cramfs/
H 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()
/openbmc/linux/fs/squashfs/
H 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()
H A Dzlib_wrapper.c29 stream->workspace = vmalloc(zlib_inflate_workspacesize()); in zlib_init()
30 if (stream->workspace == NULL) in zlib_init()
47 vfree(stream->workspace); in zlib_free()
/openbmc/linux/lib/
H A Ddecompress_inflate.c82 strm->workspace = malloc(flush ? zlib_inflate_workspacesize() : in __gunzip()
89 if (strm->workspace == NULL) { in __gunzip()
186 free(strm->workspace); in __gunzip()

12345