Home
last modified time | relevance | path

Searched refs:w_size (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/net/
Dppp_deflate.c51 int w_size; member
113 int w_size; in z_comp_alloc() local
121 w_size = DEFLATE_SIZE(options[2]); in z_comp_alloc()
122 if (w_size < DEFLATE_MIN_SIZE || w_size > DEFLATE_MAX_SIZE) in z_comp_alloc()
131 state->w_size = w_size; in z_comp_alloc()
132 state->strm.workspace = vmalloc(zlib_deflate_workspacesize(-w_size, 8)); in z_comp_alloc()
137 DEFLATE_METHOD_VAL, -w_size, 8, Z_DEFAULT_STRATEGY) in z_comp_alloc()
171 DEFLATE_SIZE(options[2]) != state->w_size || in z_comp_init()
330 int w_size; in z_decomp_alloc() local
338 w_size = DEFLATE_SIZE(options[2]); in z_decomp_alloc()
[all …]
/linux-2.6.39/lib/zlib_deflate/
Ddeflate.c224 s->w_size = 1 << s->w_bits; in zlib_deflateInit2()
225 s->w_mask = s->w_size - 1; in zlib_deflateInit2()
611 memcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte));
612 memcpy(ds->prev, ss->prev, ds->w_size * sizeof(Pos));
666 s->window_size = (ulg)2L*s->w_size; in lm_init()
883 uInt wsize = s->w_size; in fill_window()
1016 Assert(s->strstart < s->w_size+MAX_DIST(s) || in deflate_stored()
1017 s->block_start >= (long)s->w_size, "slide too late"); in deflate_stored()
Ddefutil.h85 uInt w_size; /* LZ77 window size (32K by default) */ member
270 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)