Home
last modified time | relevance | path

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

123456

/linux-6.6.21/lib/crypto/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 …]
/linux-6.6.21/drivers/hid/
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-elecom.c37 __u8 *rdesc, unsigned int rsize, in mouse_button_fixup() argument
44 if (rsize < 32 || rdesc[button_bit_count] != 0x95 || in mouse_button_fixup()
57 unsigned int *rsize) in elecom_report_fixup() argument
63 if (*rsize >= 48 && rdesc[46] == 0x05 && rdesc[47] == 0x0c) { in elecom_report_fixup()
76 mouse_button_fixup(hdev, rdesc, *rsize, 20, 28, 22, 14, 8); in elecom_report_fixup()
88 mouse_button_fixup(hdev, rdesc, *rsize, 12, 30, 14, 20, 6); in elecom_report_fixup()
101 mouse_button_fixup(hdev, rdesc, *rsize, 12, 30, 14, 20, 8); in elecom_report_fixup()
111 mouse_button_fixup(hdev, rdesc, *rsize, 22, 30, 24, 16, 8); in elecom_report_fixup()
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-kye.c363 unsigned int *rsize, int offset, const char *device_name) in kye_consumer_control_fixup() argument
370 if (*rsize >= offset + 31 && in kye_consumer_control_fixup()
402 static __u8 *kye_tablet_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) in kye_tablet_fixup() argument
407 if (*rsize < sizeof(kye_tablet_rdesc)) { in kye_tablet_fixup()
444 if (newsize + info->control_rsize > *rsize) in kye_tablet_fixup()
452 *rsize = newsize; in kye_tablet_fixup()
457 unsigned int *rsize) in kye_report_fixup() argument
468 if (*rsize >= 75 && in kye_report_fixup()
485 rdesc = kye_consumer_control_fixup(hdev, rdesc, rsize, 104, in kye_report_fixup()
489 rdesc = kye_consumer_control_fixup(hdev, rdesc, rsize, 104, in kye_report_fixup()
[all …]
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-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-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-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-sigmamicro.c103 unsigned int *rsize) in sm_report_fixup() argument
105 if (*rsize == sizeof(sm_0059_rdesc) && in sm_report_fixup()
106 !memcmp(sm_0059_rdesc, rdesc, *rsize)) { in sm_report_fixup()
Dhid-xiaomi.c65 unsigned int *rsize) in xiaomi_report_fixup() argument
69 if (*rsize == MI_SILENT_MOUSE_ORIG_RDESC_LENGTH) { in xiaomi_report_fixup()
72 *rsize = sizeof(mi_silent_mouse_rdesc_fixed); in xiaomi_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-ite.c16 static __u8 *ite_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) in ite_report_fixup() argument
22 if (*rsize == 188 && rdesc[162] == 0x81 && rdesc[163] == 0x02) { in ite_report_fixup()
27 if (*rsize == 188 && rdesc[185] == 0x81 && rdesc[186] == 0x02) { in ite_report_fixup()
32 if (*rsize == 210 && rdesc[184] == 0x81 && rdesc[185] == 0x02) { in ite_report_fixup()
Dhid-glorious.c30 unsigned int *rsize) in glorious_report_fixup() argument
32 if (*rsize == 213 && in glorious_report_fixup()
39 if (*rsize == 156 && rdesc[41] == 1) { in glorious_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-semitek.c15 unsigned int *rsize) in semitek_report_fixup() argument
20 if (*rsize == 0xcb && rdesc[0x83] == 0x81 && rdesc[0x84] == 0x00) { in semitek_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-macally.c22 unsigned int *rsize) in macally_report_fixup() argument
24 if (*rsize >= 60 && rdesc[53] == 0x65 && rdesc[59] == 0x65) { in macally_report_fixup()
/linux-6.6.21/include/math-emu/
Dop-common.h657 #define _FP_TO_INT(fs, wc, r, X, rsize, rsigned) \ argument
669 else if (X##_e >= rsize - (rsigned > 0 || X##_s) \
678 || X##_e >= rsize - 1 + _FP_WFRACBITS_##fs) \
683 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
689 r <<= rsize - 1; \
702 if (_FP_W_TYPE_SIZE*wc < rsize) \
704 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
719 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
728 #define _FP_TO_INT_ROUND(fs, wc, r, X, rsize, rsigned) \ argument
736 if (X##_e < rsize - 1 + _FP_WFRACBITS_##fs) \
[all …]
/linux-6.6.21/fs/ceph/
Dmetric.c29 struct ceph_read_io_size *rsize; in ceph_mdsc_send_metrics() local
49 + sizeof(*icaps) + sizeof(*inodes) + sizeof(*rsize) in ceph_mdsc_send_metrics()
155 rsize = (struct ceph_read_io_size *)(inodes + 1); in ceph_mdsc_send_metrics()
156 rsize->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_READ_IO_SIZES); in ceph_mdsc_send_metrics()
157 rsize->header.ver = 1; in ceph_mdsc_send_metrics()
158 rsize->header.compat = 1; in ceph_mdsc_send_metrics()
159 rsize->header.data_len = cpu_to_le32(sizeof(*rsize) - header_len); in ceph_mdsc_send_metrics()
160 rsize->total_ops = cpu_to_le64(m->metric[METRIC_READ].total); in ceph_mdsc_send_metrics()
161 rsize->total_size = cpu_to_le64(m->metric[METRIC_READ].size_sum); in ceph_mdsc_send_metrics()
165 wsize = (struct ceph_write_io_size *)(rsize + 1); in ceph_mdsc_send_metrics()
/linux-6.6.21/net/9p/
Dclient.c685 const uint rsize = c->trans_mod->pooled_rbuffers ? c->msize : 0; in p9_client_rpc() local
688 req = p9_client_prepare_req(c, type, tsize, rsize, fmt, ap); in p9_client_rpc()
1538 int rsize, received, non_zc = 0; in p9_client_read_once() local
1545 rsize = fid->iounit; in p9_client_read_once()
1546 if (!rsize || rsize > clnt->msize - P9_IOHDRSZ) in p9_client_read_once()
1547 rsize = clnt->msize - P9_IOHDRSZ; in p9_client_read_once()
1549 if (count < rsize) in p9_client_read_once()
1550 rsize = count; in p9_client_read_once()
1553 if (clnt->trans_mod->zc_request && rsize > 1024) { in p9_client_read_once()
1557 req = p9_client_zc_rpc(clnt, P9_TREAD, to, NULL, rsize, in p9_client_read_once()
[all …]

123456