/openbmc/linux/fs/btrfs/ |
H A D | zlib.c | 26 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 D | zstd.c | 42 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 D | lzo.c | 64 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 D | compression.c | 595 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 D | export.py | 22 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 D | build_image.py | 22 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 D | utilcmds.py | 23 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 D | standard.py | 30 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 D | build.py | 44 def build(args, config, basepath, workspace): argument 46 workspacepn = check_workspace_recipe(workspace, args.recipename, bbclassextend=True) 64 bbappend = workspace[workspacepn]['bbappend']
|
H A D | build_sdk.py | 22 def build_sdk(args, config, basepath, workspace): argument 35 workspace,
|
/openbmc/linux/lib/zstd/ |
H A D | zstd_decompress_module.c | 47 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 D | zstd_compress_module.c | 88 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 D | compr_zlib.c | 45 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 D | devtool-reference.rst | 47 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 D | bbpath.py | 13 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 D | zstd_compress_superblock.c | 305 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 D | zstd_cwksp.h | 143 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 D | platform.c | 181 .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 D | deflate.c | 47 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 D | zstd.h | 165 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 D | infutil.c | 20 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 D | uncompress.c | 62 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 D | zstd_wrapper.c | 23 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 D | zlib_wrapper.c | 29 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 D | decompress_inflate.c | 82 strm->workspace = malloc(flush ? zlib_inflate_workspacesize() : in __gunzip() 89 if (strm->workspace == NULL) { in __gunzip() 186 free(strm->workspace); in __gunzip()
|