Home
last modified time | relevance | path

Searched refs:rsize (Results 1 – 25 of 125) sorted by relevance

12345

/kernel/linux/linux-5.10/lib/mpi/
Dmpi-pow.c31 mpi_size_t esize, msize, bsize, rsize; in mpi_powm() local
145 rsize = bsize; in mpi_powm()
183 if (rsize < KARATSUBA_THRESHOLD) in mpi_powm()
184 mpih_sqr_n_basecase(xp, rp, rsize); in mpi_powm()
187 tsize = 2 * rsize; in mpi_powm()
192 } else if (tsize < (2 * rsize)) { in mpi_powm()
194 tsize = 2 * rsize; in mpi_powm()
200 mpih_sqr_n(xp, rp, rsize, tspace); in mpi_powm()
203 xsize = 2 * rsize; in mpi_powm()
213 rsize = xsize; in mpi_powm()
[all …]
Dmpi-div.c89 mpi_size_t qsize, rsize; in mpi_tdiv_qr() local
101 rsize = nsize + 1; in mpi_tdiv_qr()
102 mpi_resize(rem, rsize); in mpi_tdiv_qr()
104 qsize = rsize - dsize; /* qsize cannot be bigger than this. */ in mpi_tdiv_qr()
141 rsize = rlimb != 0?1:0; in mpi_tdiv_qr()
142 rem->nlimbs = rsize; in mpi_tdiv_qr()
185 rsize = nsize + 1; in mpi_tdiv_qr()
187 rsize = nsize; in mpi_tdiv_qr()
204 rsize = nsize; in mpi_tdiv_qr()
207 q_limb = mpihelp_divrem(qp, 0, rp, rsize, dp, dsize); in mpi_tdiv_qr()
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-kye.c558 unsigned int *rsize, int offset, const char *device_name) { in kye_consumer_control_fixup() argument
564 if (*rsize >= offset + 31 && in kye_consumer_control_fixup()
578 unsigned int *rsize) in kye_report_fixup() argument
589 if (*rsize >= 75 && in kye_report_fixup()
606 if (*rsize == EASYPEN_I405X_RDESC_ORIG_SIZE) { in kye_report_fixup()
608 *rsize = sizeof(easypen_i405x_rdesc_fixed); in kye_report_fixup()
612 if (*rsize == MOUSEPEN_I608X_RDESC_ORIG_SIZE) { in kye_report_fixup()
614 *rsize = sizeof(mousepen_i608x_rdesc_fixed); in kye_report_fixup()
618 if (*rsize == MOUSEPEN_I608X_V2_RDESC_ORIG_SIZE) { in kye_report_fixup()
620 *rsize = sizeof(mousepen_i608x_v2_rdesc_fixed); in kye_report_fixup()
[all …]
Dhid-waltop.c603 unsigned int *rsize) in waltop_report_fixup() argument
607 if (*rsize == SLIM_TABLET_5_8_INCH_RDESC_ORIG_SIZE) { in waltop_report_fixup()
609 *rsize = sizeof(slim_tablet_5_8_inch_rdesc_fixed); in waltop_report_fixup()
613 if (*rsize == SLIM_TABLET_12_1_INCH_RDESC_ORIG_SIZE) { in waltop_report_fixup()
615 *rsize = sizeof(slim_tablet_12_1_inch_rdesc_fixed); in waltop_report_fixup()
619 if (*rsize == Q_PAD_RDESC_ORIG_SIZE) { in waltop_report_fixup()
621 *rsize = sizeof(q_pad_rdesc_fixed); in waltop_report_fixup()
625 if (*rsize == PID_0038_RDESC_ORIG_SIZE) { in waltop_report_fixup()
627 *rsize = sizeof(pid_0038_rdesc_fixed); in waltop_report_fixup()
631 if (*rsize == MEDIA_TABLET_10_6_INCH_RDESC_ORIG_SIZE) { in waltop_report_fixup()
[all …]
Dhid-samsung.c52 unsigned int rsize) in samsung_irda_dev_trace() argument
55 rsize); in samsung_irda_dev_trace()
59 unsigned int *rsize) in samsung_irda_report_fixup() argument
61 if (*rsize == 184 && rdesc[175] == 0x25 && rdesc[176] == 0x40 && in samsung_irda_report_fixup()
71 if (*rsize == 203 && rdesc[192] == 0x15 && rdesc[193] == 0x0 && in samsung_irda_report_fixup()
77 if (*rsize == 135 && rdesc[124] == 0x15 && rdesc[125] == 0x0 && in samsung_irda_report_fixup()
83 if (*rsize == 171 && rdesc[160] == 0x15 && rdesc[161] == 0x0 && in samsung_irda_report_fixup()
129 unsigned int *rsize) in samsung_report_fixup() argument
132 rdesc = samsung_irda_report_fixup(hdev, rdesc, rsize); in samsung_report_fixup()
165 if (hdev->rsize == 184) { in samsung_probe()
Dhid-elecom.c39 __u8 *rdesc, unsigned int rsize, in mouse_button_fixup() argument
42 if (rsize < 32 || rdesc[12] != 0x95 || in mouse_button_fixup()
54 unsigned int *rsize) in elecom_report_fixup() argument
60 if (*rsize >= 48 && rdesc[46] == 0x05 && rdesc[47] == 0x0c) { in elecom_report_fixup()
68 mouse_button_fixup(hdev, rdesc, *rsize, 6); in elecom_report_fixup()
74 mouse_button_fixup(hdev, rdesc, *rsize, 8); in elecom_report_fixup()
Dhid-cypress.c33 unsigned int *rsize) in cp_rdesc_fixup() argument
37 if (*rsize < 4) in cp_rdesc_fixup()
40 for (i = 0; i < *rsize - 4; i++) in cp_rdesc_fixup()
50 unsigned int *rsize) in va_logical_boundary_fixup() argument
57 if (*rsize == 25 && in va_logical_boundary_fixup()
71 unsigned int *rsize) in cp_report_fixup() argument
76 rdesc = cp_rdesc_fixup(hdev, rdesc, rsize); in cp_report_fixup()
78 rdesc = va_logical_boundary_fixup(hdev, rdesc, rsize); in cp_report_fixup()
Dhid-gembird.c61 unsigned int *rsize) in gembird_report_fixup() argument
67 size_t new_size = *rsize + delta_size; in gembird_report_fixup()
69 if (*rsize >= 31 && !memcmp(&rdesc[GEMBIRD_START_FAULTY_RDESC], in gembird_report_fixup()
80 memcpy(new_rdesc + delta_size, rdesc, *rsize); in gembird_report_fixup()
90 *rsize = new_size; in gembird_report_fixup()
Dhid-lg.c431 unsigned int *rsize) in lg_report_fixup() argument
435 if ((drv_data->quirks & LG_RDESC) && *rsize >= 91 && rdesc[83] == 0x26 && in lg_report_fixup()
442 if ((drv_data->quirks & LG_RDESC_REL_ABS) && *rsize >= 51 && in lg_report_fixup()
453 if (*rsize == FG_RDESC_ORIG_SIZE) { in lg_report_fixup()
457 *rsize = sizeof(fg_rdesc_fixed); in lg_report_fixup()
466 if (*rsize == FFG_RDESC_ORIG_SIZE) { in lg_report_fixup()
470 *rsize = sizeof(ffg_rdesc_fixed); in lg_report_fixup()
476 if (*rsize == DF_RDESC_ORIG_SIZE) { in lg_report_fixup()
480 *rsize = sizeof(df_rdesc_fixed); in lg_report_fixup()
485 if (*rsize == MOMO_RDESC_ORIG_SIZE) { in lg_report_fixup()
[all …]
Dhid-maltron.c141 unsigned int *rsize) in maltron_report_fixup() argument
143 if (*rsize == sizeof(maltron_rdesc_o) && in maltron_report_fixup()
146 *rsize = sizeof(maltron_rdesc); in maltron_report_fixup()
Dhid-viewsonic.c74 unsigned int *rsize) in viewsonic_report_fixup() argument
79 if (*rsize == PD1011_RDESC_ORIG_SIZE) { in viewsonic_report_fixup()
81 *rsize = sizeof(pd1011_rdesc_fixed); in viewsonic_report_fixup()
Dhid-ortek.c26 unsigned int *rsize) in ortek_report_fixup() argument
28 if (*rsize >= 56 && rdesc[54] == 0x25 && rdesc[55] == 0x01) { in ortek_report_fixup()
31 } else if (*rsize >= 54 && rdesc[52] == 0x25 && rdesc[53] == 0x01) { in ortek_report_fixup()
Dhid-holtek-mouse.c33 unsigned int *rsize) in holtek_mouse_report_fixup() argument
44 if (*rsize >= 122 && rdesc[115] == 0xff && rdesc[116] == 0x7f in holtek_mouse_report_fixup()
53 if (*rsize >= 113 && rdesc[106] == 0xff && rdesc[107] == 0x7f in holtek_mouse_report_fixup()
Dhid-redragon.c37 unsigned int *rsize) in redragon_report_fixup() argument
39 if (*rsize >= 102 && rdesc[100] == 0x81 && rdesc[101] == 0x00) { in redragon_report_fixup()
Dhid-aureal.c22 unsigned int *rsize) in aureal_report_fixup() argument
24 if (*rsize >= 54 && rdesc[52] == 0x25 && rdesc[53] == 0x01) { in aureal_report_fixup()
Dhid-keytouch.c28 unsigned int *rsize) in keytouch_report_fixup() argument
33 *rsize = sizeof(keytouch_fixed_rdesc); in keytouch_report_fixup()
Dhid-nti.c33 unsigned int *rsize) in nti_usbsun_report_fixup() argument
35 if (*rsize >= 60 && rdesc[53] == 0x65 && rdesc[59] == 0x65) { in nti_usbsun_report_fixup()
Dhid-macally.c22 unsigned int *rsize) in macally_report_fixup() argument
24 if (*rsize >= 60 && rdesc[53] == 0x65 && rdesc[59] == 0x65) { in macally_report_fixup()
Dhid-sunplus.c22 unsigned int *rsize) in sp_report_fixup() argument
24 if (*rsize >= 112 && rdesc[104] == 0x26 && rdesc[105] == 0x80 && in sp_report_fixup()
/kernel/linux/linux-5.10/include/math-emu/
Dop-common.h657 #define _FP_TO_INT(fs, wc, r, X, rsize, rsigned) \ argument
668 else if (X##_e >= rsize - (rsigned > 0 || X##_s) \
676 || X##_e >= rsize - 1 + _FP_WFRACBITS_##fs) \
681 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
687 r <<= rsize - 1; \
700 if (_FP_W_TYPE_SIZE*wc < rsize) \
702 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
717 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
726 #define _FP_TO_INT_ROUND(fs, wc, r, X, rsize, rsigned) \ argument
734 if (X##_e < rsize - 1 + _FP_WFRACBITS_##fs) \
[all …]
/kernel/linux/linux-5.10/net/9p/
Dclient.c1577 int rsize, non_zc = 0; in p9_client_read_once() local
1584 rsize = fid->iounit; in p9_client_read_once()
1585 if (!rsize || rsize > clnt->msize - P9_IOHDRSZ) in p9_client_read_once()
1586 rsize = clnt->msize - P9_IOHDRSZ; in p9_client_read_once()
1588 if (count < rsize) in p9_client_read_once()
1589 rsize = count; in p9_client_read_once()
1592 if (clnt->trans_mod->zc_request && rsize > 1024) { in p9_client_read_once()
1596 req = p9_client_zc_rpc(clnt, P9_TREAD, to, NULL, rsize, in p9_client_read_once()
1598 offset, rsize); in p9_client_read_once()
1602 rsize); in p9_client_read_once()
[all …]
/kernel/linux/linux-5.10/fs/nfs/
Dclient.c705 if (ctx->rsize) in nfs_init_server()
706 server->rsize = nfs_block_size(ctx->rsize, NULL); in nfs_init_server()
756 if (server->rsize == 0) in nfs_server_set_fsinfo()
757 server->rsize = nfs_block_size(fsinfo->rtpref, NULL); in nfs_server_set_fsinfo()
761 if (fsinfo->rtmax >= 512 && server->rsize > fsinfo->rtmax) in nfs_server_set_fsinfo()
762 server->rsize = nfs_block_size(fsinfo->rtmax, NULL); in nfs_server_set_fsinfo()
769 if (server->rsize > max_rpc_payload) in nfs_server_set_fsinfo()
770 server->rsize = max_rpc_payload; in nfs_server_set_fsinfo()
771 if (server->rsize > NFS_MAX_FILE_IO_SIZE) in nfs_server_set_fsinfo()
772 server->rsize = NFS_MAX_FILE_IO_SIZE; in nfs_server_set_fsinfo()
[all …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dhid.c282 unsigned int rsize; in gb_hid_parse() local
286 rsize = le16_to_cpu(ghid->hdesc.wReportDescLength); in gb_hid_parse()
287 if (!rsize || rsize > HID_MAX_DESCRIPTOR_SIZE) { in gb_hid_parse()
288 dbg_hid("weird size of report descriptor (%u)\n", rsize); in gb_hid_parse()
292 rdesc = kzalloc(rsize, GFP_KERNEL); in gb_hid_parse()
302 ret = hid_parse_report(hid, rdesc, rsize); in gb_hid_parse()
/kernel/linux/linux-5.10/drivers/tty/hvc/
Dhvc_console.c503 int rsize, written = 0; in hvc_write() local
518 rsize = hp->outbuf_size - hp->n_outbuf; in hvc_write()
520 if (rsize) { in hvc_write()
521 if (rsize > count) in hvc_write()
522 rsize = count; in hvc_write()
523 memcpy(hp->outbuf + hp->n_outbuf, buf, rsize); in hvc_write()
524 count -= rsize; in hvc_write()
525 buf += rsize; in hvc_write()
526 hp->n_outbuf += rsize; in hvc_write()
527 written += rsize; in hvc_write()
/kernel/linux/linux-5.10/arch/arm/mach-rockchip/
Dplatsmp.c171 unsigned int rsize; in rockchip_smp_prepare_sram() local
181 rsize = resource_size(&res); in rockchip_smp_prepare_sram()
182 if (rsize < trampoline_sz) { in rockchip_smp_prepare_sram()
184 __func__, rsize, trampoline_sz); in rockchip_smp_prepare_sram()

12345