Searched refs:wsize (Results 1 - 25 of 68) sorted by relevance

123

/linux-master/lib/crypto/mpi/
H A Dmpi-add.c23 mpi_size_t usize, wsize; local
31 wsize = usize + 1;
32 if (w->alloced < wsize)
33 mpi_resize(w, wsize);
41 wsize = v ? 1:0;
46 wsize = usize + cy;
53 wsize = 1;
57 wsize = usize - (wp[usize-1] == 0);
62 w->nlimbs = wsize;
70 mpi_size_t usize, vsize, wsize; local
[all...]
H A Dmpi-mul.c18 mpi_size_t usize, vsize, wsize; local
45 wsize = usize + vsize;
46 if (w->alloced < wsize) {
48 wp = mpi_alloc_limb_space(wsize);
51 mpi_resize(w, wsize);
72 wsize = 0;
75 wsize -= cy ? 0:1;
79 mpi_assign_limb_space(w, wp, wsize);
80 w->nlimbs = wsize;
H A Dec.c202 mpi_size_t wsize = LIMB_SIZE_25519; local
206 if (w->nlimbs != wsize || u->nlimbs != wsize || v->nlimbs != wsize)
214 mpihelp_add_n(wp, up, vp, wsize);
215 borrow = mpihelp_sub_n(wp, wp, ctx->p->d, wsize);
216 mpih_set_cond(n, ctx->p->d, wsize, (borrow != 0UL));
217 mpihelp_add_n(wp, wp, n, wsize);
224 mpi_size_t wsize = LIMB_SIZE_25519; local
228 if (w->nlimbs != wsize ||
245 mpi_size_t wsize = LIMB_SIZE_25519; local
309 mpi_size_t wsize = LIMB_SIZE_448; local
329 mpi_size_t wsize = LIMB_SIZE_448; local
349 mpi_size_t wsize = LIMB_SIZE_448; local
[all...]
/linux-master/include/uapi/linux/
H A Dnfs4_mount.h31 int wsize; /* 1 */ member in struct:nfs4_mount_data
H A Dnfs_mount.h33 int wsize; /* 1 */ member in struct:nfs_mount_data
/linux-master/lib/zlib_inflate/
H A Dinflate.h86 unsigned wsize; /* window size or zero if not using window */ member in struct:inflate_state
H A Dinffast.c78 unsigned wsize; /* window size or zero if not using window */ local
81 unsigned char *window; /* allocated sliding window, if wsize != 0 */
105 wsize = state->wsize;
189 from += wsize - op;
199 from += wsize + write - op;
H A Dinflate.c51 state->wsize = 1U << state->wbits;
108 Update the window with the last wsize (normally 32K) bytes written before
127 /* copy state->wsize or less output bytes into the circular window */
129 if (copy >= state->wsize) {
130 memcpy(state->window, strm->next_out - state->wsize, state->wsize);
132 state->whave = state->wsize;
135 dist = state->wsize - state->write;
142 state->whave = state->wsize;
146 if (state->write == state->wsize) stat
[all...]
/linux-master/arch/arm/kernel/
H A Dhead-inflate-data.c50 WS(strm)->inflate_state.wsize = 0;
/linux-master/fs/nfsd/
H A Dflexfilelayoutxdr.h31 u32 wsize; member in struct:pnfs_ff_device_addr
H A Dflexfilelayout.c99 da->wsize = da->rsize;
H A Dflexfilelayoutxdr.c121 *p++ = cpu_to_be32(da->wsize);
/linux-master/fs/ceph/
H A Dmetric.c30 struct ceph_write_io_size *wsize; local
51 + sizeof(*wsize);
166 wsize = (struct ceph_write_io_size *)(rsize + 1);
167 wsize->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_WRITE_IO_SIZES);
168 wsize->header.ver = 1;
169 wsize->header.compat = 1;
170 wsize->header.data_len = cpu_to_le32(sizeof(*wsize) - header_len);
171 wsize->total_ops = cpu_to_le64(m->metric[METRIC_WRITE].total);
172 wsize
[all...]
/linux-master/drivers/watchdog/
H A Drti_wdt.c127 static int rti_wdt_setup_hw_hb(struct watchdog_device *wdd, u32 wsize) argument
135 switch (wsize) {
275 u32 wsize; local
290 wsize = readl(wdt->base + RTIWWDSIZECTRL);
291 ret = rti_wdt_setup_hw_hb(wdd, wsize);
/linux-master/drivers/media/i2c/
H A Dov7670.c235 struct ov7670_win_size *wsize; member in struct:ov7670_info
972 struct ov7670_win_size *wsize; local
998 wsize = info->devtype->win_sizes + i;
1000 if (wsize->width < info->min_width ||
1001 wsize->height < info->min_height) {
1010 for (wsize = info->devtype->win_sizes;
1011 wsize < info->devtype->win_sizes + win_sizes_limit; wsize++)
1012 if (fmt->width >= wsize->width && fmt->height >= wsize
1033 struct ov7670_win_size *wsize = info->wsize; local
[all...]
/linux-master/lib/zlib_deflate/
H A Ddeflate.c751 uInt wsize = s->w_size; local
758 more = wsize;
769 } else if (s->strstart >= wsize+MAX_DIST(s)) {
771 memcpy((char *)s->window, (char *)s->window+wsize,
772 (unsigned)wsize);
773 s->match_start -= wsize;
774 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
775 s->block_start -= (long) wsize;
787 *p = (Pos)(m >= wsize ? m-wsize
[all...]
/linux-master/fs/smb/client/
H A Dsmb1ops.c444 unsigned int wsize; local
446 /* start with specified wsize, or default */
447 if (ctx->wsize)
448 wsize = ctx->wsize;
450 wsize = CIFS_DEFAULT_IOSIZE;
452 wsize = CIFS_DEFAULT_NON_POSIX_WSIZE;
456 wsize = min_t(unsigned int, wsize, CIFS_MAX_RFC1002_WSIZE);
465 wsize
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_cudbg.c77 u32 wsize; local
97 wsize = cudbg_get_workspace_size();
98 if (wsize && len > CUDBG_DUMP_BUFF_SIZE)
/linux-master/fs/nfs/
H A Dclient.c723 if (ctx->wsize)
724 server->wsize = nfs_io_size(ctx->wsize, clp->cl_proto);
775 if (server->wsize == 0)
776 server->wsize = nfs_io_size(fsinfo->wtpref, clp->cl_proto);
780 if (fsinfo->wtmax >= 512 && server->wsize > fsinfo->wtmax)
781 server->wsize = nfs_io_size(fsinfo->wtmax, clp->cl_proto);
792 if (server->wsize > max_rpc_payload)
793 server->wsize = max_rpc_payload;
794 if (server->wsize > NFS_MAX_FILE_IO_SIZ
[all...]
H A Dfs_context.c200 fsparam_u32 ("wsize", Opt_wsize),
680 ctx->wsize = result.uint_32;
1106 ctx->wsize = data->wsize;
1224 compat_int_t wsize; member in struct:compat_nfs4_mount_data_v1
1261 data->wsize = compat->wsize;
1340 ctx->wsize = data->wsize;
1601 ctx->wsize
[all...]
/linux-master/fs/netfs/
H A Doutput.c337 * contiguous or the span exceeds wsize for a server.
427 len /= wreq->wsize; /* Round to number of maximum packets */
428 len *= wreq->wsize;
438 * to the request. If we've added more than wsize then we need to create a new
444 wreq->iter.count, wreq->submitted, wreq->wsize, copied, to_page_end);
448 if (to_page_end && wreq->io_iter.count - wreq->submitted >= wreq->wsize)
462 wreq->iter.count, wreq->submitted, wreq->wsize);
/linux-master/drivers/bus/
H A Dmvebu-mbus.c277 u32 wsize; local
282 &enabled, &wbase, &wsize,
288 wend = wbase + wsize;
308 u32 wsize; local
312 &enabled, &wbase, &wsize,
318 if (base == wbase && size == wsize)
478 u32 wsize; local
483 &enabled, &wbase, &wsize,
493 (unsigned long long)(wbase + wsize), wtarget, wattr);
495 if (!is_power_of_2(wsize) ||
[all...]
/linux-master/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c109 /* 20 = version(4) + minor_version(4) + rsize(4) + wsize(4) +
118 ds_versions[i].wsize = nfs_io_size(be32_to_cpup(p++),
124 if (ds_versions[i].wsize > NFS_MAX_FILE_IO_SIZE)
125 ds_versions[i].wsize = NFS_MAX_FILE_IO_SIZE;
141 dprintk("%s: [%d] vers %u minor_ver %u rsize %u wsize %u coupled %d\n",
145 ds_versions[i].wsize,
396 /* connect success, check rsize/wsize limit */
403 if (mirror->mirror_ds->ds_versions[0].wsize > max_payload)
404 mirror->mirror_ds->ds_versions[0].wsize = max_payload;
/linux-master/drivers/spi/
H A Dspi-npcm-pspi.c197 int wsize; local
200 wsize = min(bytes_per_word(priv->bits_per_word), priv->tx_bytes);
201 priv->tx_bytes -= wsize;
206 switch (wsize) {
/linux-master/net/9p/
H A Dtrans_fd.c101 * @wsize: amount of data to write for current frame
124 int wsize; member in struct:p9_conn
458 if (!m->wsize) {
473 m->wsize = req->tc.size;
481 m, m->wpos, m->wsize);
483 err = p9_fd_write(m->client, m->wbuf + m->wpos, m->wsize - m->wpos);
497 if (m->wpos == m->wsize) {
498 m->wpos = m->wsize = 0;
506 if (m->wsize || !list_empty(&m->unsent_req_list)) {
646 if ((m->wsize || !list_empt
[all...]

Completed in 277 milliseconds

123