/linux-6.1.9/lib/mpi/ |
D | mpi-add.c | 23 mpi_size_t usize, wsize; in mpi_add_ui() local 31 wsize = usize + 1; in mpi_add_ui() 32 if (w->alloced < wsize) in mpi_add_ui() 33 mpi_resize(w, wsize); in mpi_add_ui() 41 wsize = v ? 1:0; in mpi_add_ui() 46 wsize = usize + cy; in mpi_add_ui() 53 wsize = 1; in mpi_add_ui() 57 wsize = usize - (wp[usize-1] == 0); in mpi_add_ui() 62 w->nlimbs = wsize; in mpi_add_ui() 70 mpi_size_t usize, vsize, wsize; in mpi_add() local [all …]
|
D | mpi-mul.c | 18 mpi_size_t usize, vsize, wsize; in mpi_mul() local 45 wsize = usize + vsize; in mpi_mul() 46 if (w->alloced < wsize) { in mpi_mul() 48 wp = mpi_alloc_limb_space(wsize); in mpi_mul() 51 mpi_resize(w, wsize); in mpi_mul() 72 wsize = 0; in mpi_mul() 75 wsize -= cy ? 0:1; in mpi_mul() 79 mpi_assign_limb_space(w, wp, wsize); in mpi_mul() 80 w->nlimbs = wsize; in mpi_mul()
|
D | ec.c | 202 mpi_size_t wsize = LIMB_SIZE_25519; in ec_addm_25519() local 206 if (w->nlimbs != wsize || u->nlimbs != wsize || v->nlimbs != wsize) in ec_addm_25519() 214 mpihelp_add_n(wp, up, vp, wsize); in ec_addm_25519() 215 borrow = mpihelp_sub_n(wp, wp, ctx->p->d, wsize); in ec_addm_25519() 216 mpih_set_cond(n, ctx->p->d, wsize, (borrow != 0UL)); in ec_addm_25519() 217 mpihelp_add_n(wp, wp, n, wsize); in ec_addm_25519() 224 mpi_size_t wsize = LIMB_SIZE_25519; in ec_subm_25519() local 228 if (w->nlimbs != wsize || u->nlimbs != wsize || v->nlimbs != wsize) in ec_subm_25519() 236 borrow = mpihelp_sub_n(wp, up, vp, wsize); in ec_subm_25519() 237 mpih_set_cond(n, ctx->p->d, wsize, (borrow != 0UL)); in ec_subm_25519() [all …]
|
/linux-6.1.9/fs/ceph/ |
D | metric.c | 30 struct ceph_write_io_size *wsize; in ceph_mdsc_send_metrics() local 42 + sizeof(*wsize); in ceph_mdsc_send_metrics() 157 wsize = (struct ceph_write_io_size *)(rsize + 1); in ceph_mdsc_send_metrics() 158 wsize->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_WRITE_IO_SIZES); in ceph_mdsc_send_metrics() 159 wsize->header.ver = 1; in ceph_mdsc_send_metrics() 160 wsize->header.compat = 1; in ceph_mdsc_send_metrics() 161 wsize->header.data_len = cpu_to_le32(sizeof(*wsize) - header_len); in ceph_mdsc_send_metrics() 162 wsize->total_ops = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics() 163 wsize->total_size = cpu_to_le64(m->metric[METRIC_WRITE].size_sum); in ceph_mdsc_send_metrics()
|
/linux-6.1.9/drivers/media/i2c/ |
D | ov7670.c | 242 struct ov7670_win_size *wsize; member 979 struct ov7670_win_size *wsize; in ov7670_try_fmt_internal() local 1005 wsize = info->devtype->win_sizes + i; in ov7670_try_fmt_internal() 1007 if (wsize->width < info->min_width || in ov7670_try_fmt_internal() 1008 wsize->height < info->min_height) { in ov7670_try_fmt_internal() 1017 for (wsize = info->devtype->win_sizes; in ov7670_try_fmt_internal() 1018 wsize < info->devtype->win_sizes + win_sizes_limit; wsize++) in ov7670_try_fmt_internal() 1019 if (fmt->width >= wsize->width && fmt->height >= wsize->height) in ov7670_try_fmt_internal() 1021 if (wsize >= info->devtype->win_sizes + win_sizes_limit) in ov7670_try_fmt_internal() 1022 wsize--; /* Take the smallest one */ in ov7670_try_fmt_internal() [all …]
|
/linux-6.1.9/drivers/watchdog/ |
D | rti_wdt.c | 115 static int rti_wdt_setup_hw_hb(struct watchdog_device *wdd, u32 wsize) in rti_wdt_setup_hw_hb() argument 123 switch (wsize) { in rti_wdt_setup_hw_hb() 258 u32 wsize; in rti_wdt_probe() local 273 wsize = readl(wdt->base + RTIWWDSIZECTRL); in rti_wdt_probe() 274 ret = rti_wdt_setup_hw_hb(wdd, wsize); in rti_wdt_probe()
|
/linux-6.1.9/lib/zlib_inflate/ |
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()
|
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()
|
D | inflate.h | 86 unsigned wsize; /* window size or zero if not using window */ member
|
/linux-6.1.9/lib/zlib_deflate/ |
D | deflate.c | 744 uInt wsize = s->w_size; in fill_window() local 751 more = wsize; in fill_window() 762 } else if (s->strstart >= wsize+MAX_DIST(s)) { in fill_window() 764 memcpy((char *)s->window, (char *)s->window+wsize, in fill_window() 765 (unsigned)wsize); in fill_window() 766 s->match_start -= wsize; in fill_window() 767 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */ in fill_window() 768 s->block_start -= (long) wsize; in fill_window() 780 *p = (Pos)(m >= wsize ? m-wsize : NIL); in fill_window() 783 n = wsize; in fill_window() [all …]
|
/linux-6.1.9/fs/nfs/ |
D | client.c | 712 if (ctx->wsize) in nfs_init_server() 713 server->wsize = nfs_io_size(ctx->wsize, clp->cl_proto); in nfs_init_server() 764 if (server->wsize == 0) in nfs_server_set_fsinfo() 765 server->wsize = nfs_io_size(fsinfo->wtpref, clp->cl_proto); in nfs_server_set_fsinfo() 769 if (fsinfo->wtmax >= 512 && server->wsize > fsinfo->wtmax) in nfs_server_set_fsinfo() 770 server->wsize = nfs_io_size(fsinfo->wtmax, clp->cl_proto); in nfs_server_set_fsinfo() 781 if (server->wsize > max_rpc_payload) in nfs_server_set_fsinfo() 782 server->wsize = max_rpc_payload; in nfs_server_set_fsinfo() 783 if (server->wsize > NFS_MAX_FILE_IO_SIZE) in nfs_server_set_fsinfo() 784 server->wsize = NFS_MAX_FILE_IO_SIZE; in nfs_server_set_fsinfo() [all …]
|
D | fs_context.c | 625 ctx->wsize = result.uint_32; in nfs_fs_context_parse_param() 1041 ctx->wsize = data->wsize; in nfs23_parse_monolithic() 1159 compat_int_t wsize; member 1196 data->wsize = compat->wsize; in nfs4_compat_mount_data_conv() 1275 ctx->wsize = data->wsize; in nfs4_parse_monolithic() 1536 ctx->wsize = nfss->wsize; in nfs_init_fs_context()
|
D | super.c | 456 seq_printf(m, ",wsize=%u", nfss->wsize); in nfs_show_mount_options() 981 ctx->wsize != nfss->wsize || in nfs_compare_remount_data() 1087 sb->s_blocksize = nfs_block_bits(server->wsize, in nfs_fill_super() 1107 if (a->wsize != b->wsize) in nfs_compare_mount_options()
|
/linux-6.1.9/fs/cifs/ |
D | smb1ops.c | 444 unsigned int wsize; in cifs_negotiate_wsize() local 447 if (ctx->wsize) in cifs_negotiate_wsize() 448 wsize = ctx->wsize; in cifs_negotiate_wsize() 450 wsize = CIFS_DEFAULT_IOSIZE; in cifs_negotiate_wsize() 452 wsize = CIFS_DEFAULT_NON_POSIX_WSIZE; in cifs_negotiate_wsize() 456 wsize = min_t(unsigned int, wsize, CIFS_MAX_RFC1002_WSIZE); in cifs_negotiate_wsize() 465 wsize = min_t(unsigned int, wsize, in cifs_negotiate_wsize() 469 wsize = min_t(unsigned int, wsize, CIFS_MAX_WSIZE); in cifs_negotiate_wsize() 471 return wsize; in cifs_negotiate_wsize() 1038 return CIFS_SB(inode->i_sb)->ctx->wsize; in cifs_wp_retry_size()
|
/linux-6.1.9/drivers/bus/ |
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.1.9/fs/nfs/flexfilelayout/ |
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() 403 if (mirror->mirror_ds->ds_versions[0].wsize > max_payload) in nfs4_ff_layout_prepare_ds() 404 mirror->mirror_ds->ds_versions[0].wsize = max_payload; in nfs4_ff_layout_prepare_ds()
|
/linux-6.1.9/drivers/spi/ |
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()
|
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.1.9/net/9p/ |
D | trans_fd.c | 126 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.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
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.1.9/net/ceph/crush/ |
D | mapper.c | 907 int wsize = 0; in crush_do_rule() local 950 wsize = 1; in crush_do_rule() 992 if (wsize == 0) in crush_do_rule() 1004 for (i = 0; i < wsize; i++) { in crush_do_rule() 1076 wsize = osize; in crush_do_rule() 1081 for (i = 0; i < wsize && result_len < result_max; i++) { in crush_do_rule() 1085 wsize = 0; in crush_do_rule()
|
/linux-6.1.9/include/uapi/linux/ |
D | nfs4_mount.h | 31 int wsize; /* 1 */ member
|
D | nfs_mount.h | 33 int wsize; /* 1 */ member
|
/linux-6.1.9/fs/nfsd/ |
D | flexfilelayoutxdr.h | 31 u32 wsize; member
|
/linux-6.1.9/arch/arm/kernel/ |
D | head-inflate-data.c | 53 WS(strm)->inflate_state.wsize = 0; in __inflate_kernel_data()
|