Home
last modified time | relevance | path

Searched refs:opsize (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/drivers/crypto/starfive/
Djh7110-rsa.c97 u8 opsize; in starfive_rsa_montgomery_form() local
99 opsize = (bit_len - 1) >> 5; in starfive_rsa_montgomery_form()
104 for (loop = 0; loop <= opsize; loop++) in starfive_rsa_montgomery_form()
105 writel(mod[opsize - loop], cryp->base + STARFIVE_PKA_CANR_OFFSET + loop * 4); in starfive_rsa_montgomery_form()
110 rctx->csr.pka.opsize = opsize; in starfive_rsa_montgomery_form()
111 rctx->csr.pka.exposize = opsize; in starfive_rsa_montgomery_form()
123 for (loop = 0; loop <= opsize; loop++) in starfive_rsa_montgomery_form()
124 writel(in[opsize - loop], cryp->base + STARFIVE_PKA_CAAR_OFFSET + loop * 4); in starfive_rsa_montgomery_form()
128 for (loop = 1; loop <= opsize; loop++) in starfive_rsa_montgomery_form()
133 rctx->csr.pka.opsize = opsize; in starfive_rsa_montgomery_form()
[all …]
Djh7110-cryp.h120 u32 opsize :6; member
/Linux-v6.6/net/mptcp/
Doptions.c24 const unsigned char *ptr, int opsize, in mptcp_parse_option() argument
63 if (opsize != expected_opsize && in mptcp_parse_option()
65 opsize != TCPOLEN_MPTCP_MPC_ACK_DATA_CSUM)) in mptcp_parse_option()
70 if (opsize != TCPOLEN_MPTCP_MPC_SYN) { in mptcp_parse_option()
94 if (opsize >= TCPOLEN_MPTCP_MPC_SYNACK) { in mptcp_parse_option()
98 if (opsize >= TCPOLEN_MPTCP_MPC_ACK) { in mptcp_parse_option()
102 if (opsize >= TCPOLEN_MPTCP_MPC_ACK_DATA) { in mptcp_parse_option()
114 if (opsize == TCPOLEN_MPTCP_MPC_ACK_DATA_CSUM) { in mptcp_parse_option()
120 version, flags, opsize, mp_opt->sndr_key, in mptcp_parse_option()
126 if (opsize == TCPOLEN_MPTCP_MPJ_SYN) { in mptcp_parse_option()
[all …]
/Linux-v6.6/arch/s390/kernel/
Ddis.c506 int start, end, opsize, hops, i; in show_code() local
541 opsize = insn_length(code[start]); in show_code()
542 if (start + opsize == 32) in show_code()
550 if (start + opsize >= end) in show_code()
552 for (i = 0; i < opsize; i++) in show_code()
558 start += opsize; in show_code()
570 int opsize, i; in print_fn_code() local
574 opsize = insn_length(*code); in print_fn_code()
575 if (opsize > len) in print_fn_code()
578 for (i = 0; i < opsize; i++) in print_fn_code()
[all …]
/Linux-v6.6/net/netfilter/
Dnf_conntrack_proto_tcp.c355 int opsize; in tcp_options() local
366 opsize=*ptr++; in tcp_options()
367 if (opsize < 2) /* "silly options" */ in tcp_options()
369 if (opsize > length) in tcp_options()
373 && opsize == TCPOLEN_SACK_PERM) in tcp_options()
376 && opsize == TCPOLEN_WINDOW) { in tcp_options()
385 ptr += opsize - 2; in tcp_options()
386 length -= opsize; in tcp_options()
417 int opsize, i; in tcp_sack() local
428 opsize = *ptr++; in tcp_sack()
[all …]
Dnf_synproxy_core.c44 int opsize; in synproxy_parse_options() local
55 opsize = *ptr++; in synproxy_parse_options()
56 if (opsize < 2) in synproxy_parse_options()
58 if (opsize > length) in synproxy_parse_options()
63 if (opsize == TCPOLEN_MSS) { in synproxy_parse_options()
69 if (opsize == TCPOLEN_WINDOW) { in synproxy_parse_options()
77 if (opsize == TCPOLEN_TIMESTAMP) { in synproxy_parse_options()
84 if (opsize == TCPOLEN_SACK_PERM) in synproxy_parse_options()
89 ptr += opsize - 2; in synproxy_parse_options()
90 length -= opsize; in synproxy_parse_options()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dxdp_synproxy_kern.c197 __u8 opcode, opsize; in tscookie_tcpopt_parse() local
217 opsize = ctx->ptr[1]; in tscookie_tcpopt_parse()
218 if (opsize < 2) in tscookie_tcpopt_parse()
221 if (ctx->ptr + opsize > ctx->end) in tscookie_tcpopt_parse()
226 if (opsize == TCPOLEN_WINDOW && ctx->ptr + TCPOLEN_WINDOW <= ctx->data_end) in tscookie_tcpopt_parse()
230 if (opsize == TCPOLEN_TIMESTAMP && ctx->ptr + TCPOLEN_TIMESTAMP <= ctx->data_end) { in tscookie_tcpopt_parse()
237 if (opsize == TCPOLEN_SACK_PERM) in tscookie_tcpopt_parse()
242 ctx->ptr += opsize; in tscookie_tcpopt_parse()
/Linux-v6.6/net/sched/
Dsch_cake.c963 int opsize; in cake_get_tcpopt() local
973 opsize = *ptr++; in cake_get_tcpopt()
974 if (opsize < 2 || opsize > length) in cake_get_tcpopt()
978 *oplen = opsize; in cake_get_tcpopt()
982 ptr += opsize - 2; in cake_get_tcpopt()
983 length -= opsize; in cake_get_tcpopt()
1070 int opsize; in cake_tcph_get_tstamp() local
1072 ptr = cake_get_tcpopt(tcph, TCPOPT_TIMESTAMP, &opsize); in cake_tcph_get_tstamp()
1074 if (ptr && opsize == TCPOLEN_TIMESTAMP) { in cake_tcph_get_tstamp()
1102 int opsize; in cake_tcph_may_drop() local
[all …]
/Linux-v6.6/net/ipv4/
Dtcp_input.c3996 int opsize) in smc_parse_options() argument
4000 if (th->syn && !(opsize & 1) && in smc_parse_options()
4001 opsize >= TCPOLEN_EXP_SMC_BASE && in smc_parse_options()
4022 int opsize; in tcp_parse_mss_option() local
4033 opsize = *ptr++; in tcp_parse_mss_option()
4034 if (opsize < 2) /* "silly options" */ in tcp_parse_mss_option()
4036 if (opsize > length) in tcp_parse_mss_option()
4038 if (opcode == TCPOPT_MSS && opsize == TCPOLEN_MSS) { in tcp_parse_mss_option()
4047 ptr += opsize - 2; in tcp_parse_mss_option()
4048 length -= opsize; in tcp_parse_mss_option()
[all …]
/Linux-v6.6/arch/m68k/ifpsp060/src/
Dpfpsp.S3925 cmpi.b %d0,&0xc # is opsize ext or packed?