| /OK3568_Linux_fs/kernel/drivers/net/ppp/ |
| H A D | ppp_deflate.c | 26 int w_size; member 88 int w_size; in z_comp_alloc() local 96 w_size = DEFLATE_SIZE(options[2]); in z_comp_alloc() 97 if (w_size < DEFLATE_MIN_SIZE || w_size > DEFLATE_MAX_SIZE) in z_comp_alloc() 106 state->w_size = w_size; in z_comp_alloc() 107 state->strm.workspace = vmalloc(zlib_deflate_workspacesize(-w_size, 8)); in z_comp_alloc() 112 DEFLATE_METHOD_VAL, -w_size, 8, Z_DEFAULT_STRATEGY) in z_comp_alloc() 146 DEFLATE_SIZE(options[2]) != state->w_size || in z_comp_init() 305 int w_size; in z_decomp_alloc() local 313 w_size = DEFLATE_SIZE(options[2]); in z_decomp_alloc() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/dfu/ |
| H A D | dfu.c | 141 long w_size; in dfu_write_buffer_drain() local 145 w_size = dfu->i_buf - dfu->i_buf_start; in dfu_write_buffer_drain() 146 if (w_size == 0) in dfu_write_buffer_drain() 151 dfu->i_buf_start, w_size, 0); in dfu_write_buffer_drain() 153 ret = dfu->write_medium(dfu, dfu->offset, dfu->i_buf_start, &w_size); in dfu_write_buffer_drain() 161 dfu->offset += w_size; in dfu_write_buffer_drain()
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-qup.c | 141 int w_size; /* bytes per SPI word */ member 174 return controller->n_words * controller->w_size; in spi_qup_len() 241 controller->w_size); in spi_qup_read_from_fifo() 256 shift *= (controller->w_size - i - 1); in spi_qup_read_from_fifo() 268 controller->w_size); in spi_qup_read() 328 controller->w_size); in spi_qup_write_to_fifo() 354 controller->w_size); in spi_qup_write() 467 SPI_MAX_XFER, &rx_nents) / qup->w_size; in spi_qup_do_dma() 470 SPI_MAX_XFER, &tx_nents) / qup->w_size; in spi_qup_do_dma() 584 controller->tx_bytes, controller->w_size); in spi_qup_data_pending() [all …]
|
| H A D | spi.c | 3525 int w_size; in __spi_validate() local 3608 w_size = 1; in __spi_validate() 3610 w_size = 2; in __spi_validate() 3612 w_size = 4; in __spi_validate() 3615 if (xfer->len % w_size) in __spi_validate()
|
| /OK3568_Linux_fs/u-boot/lib/zlib/ |
| H A D | deflate.c | 273 s->w_size = 1 << s->w_bits; 274 s->w_mask = s->w_size - 1; 281 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); 282 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); 331 if (length > s->w_size) { 332 length = s->w_size; 954 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte)); 955 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos)); 966 zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte)); 967 zmemcpy(ds->prev, ss->prev, ds->w_size * sizeof(Pos)); [all …]
|
| H A D | deflate.h | 109 uInt w_size; /* LZ77 window size (32K by default) */ member 283 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
|
| /OK3568_Linux_fs/kernel/lib/zlib_deflate/ |
| H A D | deflate.c | 253 s->w_size = 1 << s->w_bits; in zlib_deflateInit2() 254 s->w_mask = s->w_size - 1; in zlib_deflateInit2() 527 s->window_size = (ulg)2L*s->w_size; in lm_init() 744 uInt wsize = s->w_size; in fill_window() 877 Assert(s->strstart < s->w_size+MAX_DIST(s) || in deflate_stored() 878 s->block_start >= (long)s->w_size, "slide too late"); in deflate_stored()
|
| H A D | defutil.h | 87 uInt w_size; /* LZ77 window size (32K by default) */ member 268 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)
|
| /OK3568_Linux_fs/kernel/drivers/staging/greybus/ |
| H A D | audio_topology.c | 1024 struct gb_audio_widget *w, int *w_size) in gbaudio_tplg_create_widget() argument 1048 *w_size = sizeof(struct gb_audio_widget); in gbaudio_tplg_create_widget() 1091 *w_size += csize; in gbaudio_tplg_create_widget() 1225 int i, ret, w_size; in gbaudio_tplg_process_widgets() local 1239 curr, &w_size); in gbaudio_tplg_process_widgets() 1255 curr = (void *)curr + w_size; in gbaudio_tplg_process_widgets()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/zlib/zlib/ |
| H A D | CVE-2018-25032.patch | 135 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte)); 136 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
|