Home
last modified time | relevance | path

Searched refs:wsize (Results 1 – 10 of 10) sorted by relevance

/u-boot/fs/btrfs/
A Dcompression.c143 size_t wsize; in decompress_zstd() local
146 wsize = ZSTD_DStreamWorkspaceBound(ZSTD_BTRFS_MAX_INPUT); in decompress_zstd()
147 workspace = malloc(wsize); in decompress_zstd()
150 wsize); in decompress_zstd()
154 dstream = ZSTD_initDStream(ZSTD_BTRFS_MAX_INPUT, workspace, wsize); in decompress_zstd()
/u-boot/fs/squashfs/
A Dsqfs_decompressor.c99 size_t wsize; in sqfs_zstd_decompress() local
102 wsize = ZSTD_DCtxWorkspaceBound(); in sqfs_zstd_decompress()
103 ctx = ZSTD_initDCtx(ctxt->zstd_workspace, wsize); in sqfs_zstd_decompress()
/u-boot/arch/arm/mach-mvebu/
A Dmbus.c184 u32 wsize; in mvebu_mbus_window_conflicts() local
189 &enabled, &wbase, &wsize, in mvebu_mbus_window_conflicts()
195 wend = wbase + wsize; in mvebu_mbus_window_conflicts()
221 u32 wsize; in mvebu_mbus_find_window() local
225 &enabled, &wbase, &wsize, in mvebu_mbus_find_window()
231 if (base == wbase && size == wsize) in mvebu_mbus_find_window()
424 u32 wsize; in mvebu_mbus_get_lowest_base() local
429 &enabled, &wbase, &wsize, in mvebu_mbus_get_lowest_base()
/u-boot/lib/zlib/
A Dinffast.c81 unsigned wsize; /* window size or zero if not using window */ in inflate_fast() local
116 wsize = state->wsize; in inflate_fast()
205 from += wsize - op; in inflate_fast()
215 from += wsize + write - op; in inflate_fast()
A Dinflate.c22 state->wsize = 0; in inflateReset()
116 if (state->wsize == 0) { in updatewindow()
117 state->wsize = 1U << state->wbits; in updatewindow()
124 if (copy >= state->wsize) { in updatewindow()
125 zmemcpy(state->window, strm->next_out - state->wsize, state->wsize); in updatewindow()
127 state->whave = state->wsize; in updatewindow()
130 dist = state->wsize - state->write; in updatewindow()
137 state->whave = state->wsize; in updatewindow()
141 if (state->write == state->wsize) state->write = 0; in updatewindow()
142 if (state->whave < state->wsize) state->whave += dist; in updatewindow()
[all …]
A Dinflate.h89 unsigned wsize; /* window size or zero if not using window */ member
A Ddeflate.c1310 uInt wsize = s->w_size; local
1318 more = wsize;
1331 if (s->strstart >= wsize+MAX_DIST(s)) {
1333 zmemcpy(s->window, s->window+wsize, (unsigned)wsize);
1334 s->match_start -= wsize;
1335 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
1336 s->block_start -= (long) wsize;
1348 *p = (Pos)(m >= wsize ? m-wsize : NIL);
1351 n = wsize;
1356 *p = (Pos)(m >= wsize ? m-wsize : NIL);
[all …]
/u-boot/fs/fat/
A Dfat_write.c688 loff_t wsize; in get_set_cluster() local
723 size -= wsize; in get_set_cluster()
724 buffer += wsize; in get_set_cluster()
725 *gotsize += wsize; in get_set_cluster()
747 size -= wsize; in get_set_cluster()
748 buffer += wsize; in get_set_cluster()
775 wsize = size; in get_set_cluster()
788 size -= wsize; in get_set_cluster()
789 *gotsize += wsize; in get_set_cluster()
1018 wsize -= offset; in set_contents()
[all …]
/u-boot/common/
A Dimage.c533 size_t wsize; in image_decomp() local
535 wsize = ZSTD_DStreamWorkspaceBound(image_len); in image_decomp()
536 workspace = malloc(wsize); in image_decomp()
539 wsize); in image_decomp()
543 dstream = ZSTD_initDStream(image_len, workspace, wsize); in image_decomp()
/u-boot/drivers/mtd/
A Dmtdconcat.c192 size_t size, wsize, retsize, old_iov_len; in concat_writev() local
200 wsize = size; /* store for future use */ in concat_writev()
224 total_len -= wsize; in concat_writev()

Completed in 22 milliseconds