| /linux-6.15/lib/crypto/mpi/ |
| H A D | mpi-add.c | 28 wsize = usize + 1; in mpi_add() 40 wsize = usize + 1; in mpi_add() 53 wsize = usize; in mpi_add() 59 wsize = usize; in mpi_add() 60 MPN_NORMALIZE(wp, wsize); in mpi_add() 64 wsize = usize; in mpi_add() 65 MPN_NORMALIZE(wp, wsize); in mpi_add() 70 wsize = usize; in mpi_add() 71 MPN_NORMALIZE(wp, wsize); in mpi_add() 78 wsize = usize + cy; in mpi_add() [all …]
|
| H A D | mpi-mul.c | 18 mpi_size_t usize, vsize, wsize; in mpi_mul() local 46 wsize = usize + vsize; in mpi_mul() 47 if (w->alloced < wsize) { in mpi_mul() 49 wp = mpi_alloc_limb_space(wsize); in mpi_mul() 54 err = mpi_resize(w, wsize); in mpi_mul() 81 wsize = 0; in mpi_mul() 89 wsize -= cy ? 0:1; in mpi_mul() 93 mpi_assign_limb_space(w, wp, wsize); in mpi_mul() 94 w->nlimbs = wsize; in mpi_mul()
|
| /linux-6.15/fs/9p/ |
| H A D | vfs_addr.c | 44 wreq->wsize = fid->clnt->msize - P9_IOHDRSZ; in v9fs_begin_writeback() 46 wreq->wsize = min(wreq->wsize, fid->iounit); in v9fs_begin_writeback() 123 rreq->wsize = fid->clnt->msize - P9_IOHDRSZ; in v9fs_init_request() 125 rreq->wsize = min(rreq->wsize, fid->iounit); in v9fs_init_request()
|
| /linux-6.15/fs/ceph/ |
| H A D | metric.c | 30 struct ceph_write_io_size *wsize; in ceph_mdsc_send_metrics() local 51 + sizeof(*wsize); in ceph_mdsc_send_metrics() 166 wsize = (struct ceph_write_io_size *)(rsize + 1); in ceph_mdsc_send_metrics() 167 wsize->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_WRITE_IO_SIZES); in ceph_mdsc_send_metrics() 168 wsize->header.ver = 1; in ceph_mdsc_send_metrics() 169 wsize->header.compat = 1; in ceph_mdsc_send_metrics() 170 wsize->header.data_len = cpu_to_le32(sizeof(*wsize) - header_len); in ceph_mdsc_send_metrics() 171 wsize->total_ops = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics() 172 wsize->total_size = cpu_to_le64(m->metric[METRIC_WRITE].size_sum); in ceph_mdsc_send_metrics()
|
| /linux-6.15/drivers/media/i2c/ |
| H A D | ov7670.c | 235 struct ov7670_win_size *wsize; member 1011 wsize < info->devtype->win_sizes + win_sizes_limit; wsize++) in ov7670_try_fmt_internal() 1012 if (fmt->width >= wsize->width && fmt->height >= wsize->height) in ov7670_try_fmt_internal() 1017 *ret_wsize = wsize; in ov7670_try_fmt_internal() 1021 fmt->width = wsize->width; in ov7670_try_fmt_internal() 1022 fmt->height = wsize->height; in ov7670_try_fmt_internal() 1033 struct ov7670_win_size *wsize = info->wsize; in ov7670_apply_fmt() local 1044 com7 |= wsize->com7_bit; in ov7670_apply_fmt() 1069 ret = ov7670_set_hw(sd, wsize->hstart, wsize->hstop, wsize->vstart, in ov7670_apply_fmt() 1070 wsize->vstop); in ov7670_apply_fmt() [all …]
|
| /linux-6.15/lib/zlib_inflate/ |
| H A D | inffast.c | 78 unsigned wsize; /* window size or zero if not using window */ in inflate_fast() local 105 wsize = state->wsize; in inflate_fast() 189 from += wsize - op; in inflate_fast() 199 from += wsize + write - op; in inflate_fast()
|
| H A D | inflate.c | 51 state->wsize = 1U << state->wbits; in zlib_inflateReset() 129 if (copy >= state->wsize) { in zlib_updatewindow() 130 memcpy(state->window, strm->next_out - state->wsize, state->wsize); in zlib_updatewindow() 132 state->whave = state->wsize; in zlib_updatewindow() 135 dist = state->wsize - state->write; in zlib_updatewindow() 142 state->whave = state->wsize; in zlib_updatewindow() 146 if (state->write == state->wsize) state->write = 0; in zlib_updatewindow() 147 if (state->whave < state->wsize) state->whave += dist; in zlib_updatewindow() 680 from = state->window + (state->wsize - copy); in zlib_inflate() 745 (state->wsize || (state->mode < CHECK && out != strm->avail_out))) in zlib_inflate()
|
| H A D | inflate.h | 86 unsigned wsize; /* window size or zero if not using window */ member
|
| /linux-6.15/lib/zlib_deflate/ |
| H A D | deflate.c | 747 uInt wsize = s->w_size; in fill_window() local 754 more = wsize; in fill_window() 765 } else if (s->strstart >= wsize+MAX_DIST(s)) { in fill_window() 767 memcpy((char *)s->window, (char *)s->window+wsize, in fill_window() 768 (unsigned)wsize); in fill_window() 769 s->match_start -= wsize; in fill_window() 771 s->block_start -= (long) wsize; in fill_window() 783 *p = (Pos)(m >= wsize ? m-wsize : NIL); in fill_window() 786 n = wsize; in fill_window() 790 *p = (Pos)(m >= wsize ? m-wsize : NIL); in fill_window() [all …]
|
| /linux-6.15/drivers/watchdog/ |
| H A D | rti_wdt.c | 129 static int rti_wdt_setup_hw_hb(struct watchdog_device *wdd, u32 wsize) in rti_wdt_setup_hw_hb() argument 139 switch (wsize) { in rti_wdt_setup_hw_hb() 272 u32 wsize; in rti_wdt_probe() local 288 wsize = readl(wdt->base + RTIWWDSIZECTRL); in rti_wdt_probe() 289 ret = rti_wdt_setup_hw_hb(wdd, wsize); in rti_wdt_probe()
|
| /linux-6.15/fs/nfs/ |
| H A D | client.c | 744 if (ctx->wsize) in nfs_init_server() 745 server->wsize = nfs_io_size(ctx->wsize, clp->cl_proto); in nfs_init_server() 796 if (server->wsize == 0) in nfs_server_set_fsinfo() 797 server->wsize = nfs_io_size(fsinfo->wtpref, clp->cl_proto); in nfs_server_set_fsinfo() 801 if (fsinfo->wtmax >= 512 && server->wsize > fsinfo->wtmax) in nfs_server_set_fsinfo() 802 server->wsize = nfs_io_size(fsinfo->wtmax, clp->cl_proto); in nfs_server_set_fsinfo() 813 if (server->wsize > max_rpc_payload) in nfs_server_set_fsinfo() 814 server->wsize = max_rpc_payload; in nfs_server_set_fsinfo() 815 if (server->wsize > NFS_MAX_FILE_IO_SIZE) in nfs_server_set_fsinfo() 816 server->wsize = NFS_MAX_FILE_IO_SIZE; in nfs_server_set_fsinfo() [all …]
|
| H A D | fs_context.c | 731 ctx->wsize = result.uint_32; in nfs_fs_context_parse_param() 1176 ctx->wsize = data->wsize; in nfs23_parse_monolithic() 1297 compat_int_t wsize; member 1334 data->wsize = compat->wsize; in nfs4_compat_mount_data_conv() 1413 ctx->wsize = data->wsize; in nfs4_parse_monolithic() 1674 ctx->wsize = nfss->wsize; in nfs_init_fs_context()
|
| /linux-6.15/drivers/bus/ |
| H A D | mvebu-mbus.c | 277 u32 wsize; in mvebu_mbus_window_conflicts() local 282 &enabled, &wbase, &wsize, in mvebu_mbus_window_conflicts() 288 wend = wbase + wsize; in mvebu_mbus_window_conflicts() 308 u32 wsize; in mvebu_mbus_find_window() local 312 &enabled, &wbase, &wsize, in mvebu_mbus_find_window() 318 if (base == wbase && size == wsize) in mvebu_mbus_find_window() 478 u32 wsize; in mvebu_devs_debug_show() local 483 &enabled, &wbase, &wsize, in mvebu_devs_debug_show() 493 (unsigned long long)(wbase + wsize), wtarget, wattr); in mvebu_devs_debug_show() 495 if (!is_power_of_2(wsize) || in mvebu_devs_debug_show() [all …]
|
| /linux-6.15/fs/smb/client/ |
| H A D | fs_context.h | 306 unsigned int wsize; member 398 if (ctx->wsize) in cifs_negotiate_wsize() 399 size = umax(umin(ctx->wsize, size), PAGE_SIZE); in cifs_negotiate_wsize() 400 ctx->wsize = round_down(size, PAGE_SIZE); in cifs_negotiate_wsize()
|
| H A D | smb1ops.c | 439 unsigned int wsize; in smb1_negotiate_wsize() local 443 wsize = ctx->vol_wsize; in smb1_negotiate_wsize() 445 wsize = CIFS_DEFAULT_IOSIZE; in smb1_negotiate_wsize() 447 wsize = CIFS_DEFAULT_NON_POSIX_WSIZE; in smb1_negotiate_wsize() 451 wsize = min_t(unsigned int, wsize, CIFS_MAX_RFC1002_WSIZE); in smb1_negotiate_wsize() 460 wsize = min_t(unsigned int, wsize, in smb1_negotiate_wsize() 464 wsize = min_t(unsigned int, wsize, CIFS_MAX_WSIZE); in smb1_negotiate_wsize() 466 return wsize; in smb1_negotiate_wsize() 1208 return CIFS_SB(inode->i_sb)->ctx->wsize; in cifs_wp_retry_size()
|
| /linux-6.15/fs/nfs/flexfilelayout/ |
| H A D | flexfilelayoutdev.c | 118 ds_versions[i].wsize = nfs_io_size(be32_to_cpup(p++), in nfs4_ff_alloc_deviceid_node() 124 if (ds_versions[i].wsize > NFS_MAX_FILE_IO_SIZE) in nfs4_ff_alloc_deviceid_node() 125 ds_versions[i].wsize = NFS_MAX_FILE_IO_SIZE; in nfs4_ff_alloc_deviceid_node() 145 ds_versions[i].wsize, in nfs4_ff_alloc_deviceid_node() 409 if (mirror->mirror_ds->ds_versions[0].wsize > max_payload) in nfs4_ff_layout_prepare_ds() 410 mirror->mirror_ds->ds_versions[0].wsize = max_payload; in nfs4_ff_layout_prepare_ds()
|
| /linux-6.15/drivers/spi/ |
| H A D | spi-npcm-pspi.c | 197 int wsize; in npcm_pspi_send() local 200 wsize = min(bytes_per_word(priv->bits_per_word), priv->tx_bytes); in npcm_pspi_send() 201 priv->tx_bytes -= wsize; in npcm_pspi_send() 206 switch (wsize) { in npcm_pspi_send()
|
| H A D | spi-uniphier.c | 253 int wsize; in uniphier_spi_send() local 256 wsize = min(bytes_per_word(priv->bits_per_word), priv->tx_bytes); in uniphier_spi_send() 257 priv->tx_bytes -= wsize; in uniphier_spi_send() 260 switch (wsize) { in uniphier_spi_send() 272 priv->tx_buf += wsize; in uniphier_spi_send()
|
| /linux-6.15/net/9p/ |
| H A D | trans_fd.c | 125 int wsize; member 460 if (!m->wsize) { in p9_write_work() 475 m->wsize = req->tc.size; in p9_write_work() 483 m, m->wpos, m->wsize); in p9_write_work() 485 err = p9_fd_write(m->client, m->wbuf + m->wpos, m->wsize - m->wpos); in p9_write_work() 499 if (m->wpos == m->wsize) { in p9_write_work() 500 m->wpos = m->wsize = 0; in p9_write_work() 508 if (m->wsize || !list_empty(&m->unsent_req_list)) { in p9_write_work() 648 if ((m->wsize || !list_empty(&m->unsent_req_list)) && in p9_poll_mux()
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_cudbg.c | 77 u32 wsize; in cxgb4_get_dump_length() local 97 wsize = cudbg_get_workspace_size(); in cxgb4_get_dump_length() 98 if (wsize && len > CUDBG_DUMP_BUFF_SIZE) in cxgb4_get_dump_length()
|
| /linux-6.15/net/ceph/crush/ |
| H A D | mapper.c | 910 int wsize = 0; in crush_do_rule() local 953 wsize = 1; in crush_do_rule() 995 if (wsize == 0) in crush_do_rule() 1007 for (i = 0; i < wsize; i++) { in crush_do_rule() 1079 wsize = osize; in crush_do_rule() 1084 for (i = 0; i < wsize && result_len < result_max; i++) { in crush_do_rule() 1088 wsize = 0; in crush_do_rule()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | nfs4_mount.h | 31 int wsize; /* 1 */ member
|
| H A D | nfs_mount.h | 33 int wsize; /* 1 */ member
|
| /linux-6.15/arch/arm/kernel/ |
| H A D | head-inflate-data.c | 50 WS(strm)->inflate_state.wsize = 0; in __inflate_kernel_data()
|
| /linux-6.15/fs/nfsd/ |
| H A D | flexfilelayoutxdr.h | 31 u32 wsize; member
|