Home
last modified time | relevance | path

Searched refs:modulus (Results 1 – 25 of 128) sorted by relevance

123456

/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnft_numgen.c19 u32 modulus; member
30 nval = (oval + 1 < priv->modulus) ? oval + 1 : 0; in nft_ng_inc_gen()
61 priv->modulus = ntohl(nla_get_be32(tb[NFTA_NG_MODULUS])); in nft_ng_inc_init()
62 if (priv->modulus == 0) in nft_ng_inc_init()
65 if (priv->offset + priv->modulus - 1 < priv->offset) in nft_ng_inc_init()
68 atomic_set(&priv->counter, priv->modulus - 1); in nft_ng_inc_init()
75 u32 modulus, enum nft_ng_types type, u32 offset) in nft_ng_dump() argument
79 if (nla_put_be32(skb, NFTA_NG_MODULUS, htonl(modulus))) in nft_ng_dump()
96 return nft_ng_dump(skb, priv->dreg, priv->modulus, NFT_NG_INCREMENTAL, in nft_ng_inc_dump()
102 u32 modulus; member
[all …]
H A Dnft_hash.c21 u32 modulus; member
35 priv->modulus); in nft_jhash_eval()
42 u32 modulus; member
54 h = reciprocal_scale(__skb_get_hash_symmetric(skb), priv->modulus); in nft_symhash_eval()
98 priv->modulus = ntohl(nla_get_be32(tb[NFTA_HASH_MODULUS])); in nft_jhash_init()
99 if (priv->modulus < 1) in nft_jhash_init()
102 if (priv->offset + priv->modulus - 1 < priv->offset) in nft_jhash_init()
129 priv->modulus = ntohl(nla_get_be32(tb[NFTA_HASH_MODULUS])); in nft_symhash_init()
130 if (priv->modulus < 1) in nft_symhash_init()
133 if (priv->offset + priv->modulus - 1 < priv->offset) in nft_symhash_init()
[all …]
/OK3568_Linux_fs/kernel/arch/alpha/lib/
H A Ddivide.S65 #define modulus $2 macro
73 #define modulus $27 macro
106 bis $24,$24,modulus
111 LONGIFY(modulus)
125 1: cmpult divisor,modulus,compare
130 1: cmpult divisor,modulus,compare
141 cmpule divisor,modulus,compare
142 subq modulus,divisor,tmp1
145 cmovne compare,tmp1,modulus
H A Dev6-divide.S75 #define modulus $2 macro
83 #define modulus $27 macro
117 bis $24,$24,modulus # E :
123 LONGIFY(modulus) # E :
144 1: cmpult divisor,modulus,compare # E :
149 1: cmpult divisor,modulus,compare # E :
172 cmpule divisor,modulus,compare # E :
173 subq modulus,divisor,tmp1 # E :
182 cmovne compare,tmp1,modulus # E : Latency 2, extra map slot
187 cmovne compare,tmp1,modulus # E : Latency 2, extra map slot
/OK3568_Linux_fs/u-boot/lib/rsa/
H A Drsa-mod-exp.c43 acc += (uint64_t)num[i] - key->modulus[i]; in subtract_modulus()
62 if (num[i] < key->modulus[i]) in greater_equal_modulus()
64 if (num[i] > key->modulus[i]) in greater_equal_modulus()
90 acc_b = (uint64_t)d0 * key->modulus[0] + (uint32_t)acc_a; in montgomery_mul_add_step()
93 acc_b = (acc_b >> 32) + (uint64_t)d0 * key->modulus[i] + in montgomery_mul_add_step()
282 if (!key.len || !prop->modulus || !prop->rr) { in rsa_mod_exp_sw()
296 key.modulus = key1; in rsa_mod_exp_sw()
298 rsa_convert_big_endian(key.modulus, (uint32_t *)prop->modulus, key.len); in rsa_mod_exp_sw()
300 if (!key.modulus || !key.rr) { in rsa_mod_exp_sw()
/OK3568_Linux_fs/kernel/net/ax25/
H A Dax25_std_in.c43 ax25->modulus = AX25_MODULUS; in ax25_std_state1_machine()
49 ax25->modulus = AX25_EMODULUS; in ax25_std_state1_machine()
82 if (ax25->modulus == AX25_MODULUS) { in ax25_std_state1_machine()
85 ax25->modulus = AX25_MODULUS; in ax25_std_state1_machine()
149 ax25->modulus = AX25_MODULUS; in ax25_std_state3_machine()
152 ax25->modulus = AX25_EMODULUS; in ax25_std_state3_machine()
224 ax25->vr = (ax25->vr + 1) % ax25->modulus; in ax25_std_state3_machine()
274 ax25->modulus = AX25_MODULUS; in ax25_std_state4_machine()
277 ax25->modulus = AX25_EMODULUS; in ax25_std_state4_machine()
379 ax25->vr = (ax25->vr + 1) % ax25->modulus; in ax25_std_state4_machine()
H A Dax25_ds_in.c36 ax25->modulus = AX25_MODULUS; in ax25_ds_state1_machine()
42 ax25->modulus = AX25_EMODULUS; in ax25_ds_state1_machine()
153 ax25->modulus = AX25_MODULUS; in ax25_ds_state3_machine()
156 ax25->modulus = AX25_EMODULUS; in ax25_ds_state3_machine()
239 ax25->vr = (ax25->vr + 1) % ax25->modulus; in ax25_ds_state3_machine()
H A Dax25_subr.c57 ax25->va = (ax25->va + 1) % ax25->modulus; in ax25_frames_acked()
85 vc = (vc + 1) % ax25->modulus; in ax25_validate_nr()
105 if (ax25->modulus == AX25_MODULUS) { in ax25_decode()
160 if (ax25->modulus == AX25_MODULUS) { in ax25_send_control()
H A Dax25_std_timer.c125 if (ax25->modulus == AX25_MODULUS) { in ax25_std_t1timer_expiry()
129 ax25->modulus = AX25_MODULUS; in ax25_std_t1timer_expiry()
136 if (ax25->modulus == AX25_MODULUS) in ax25_std_t1timer_expiry()
H A Dax25_ds_timer.c193 if (ax25->modulus == AX25_MODULUS) { in ax25_ds_t1_timeout()
197 ax25->modulus = AX25_MODULUS; in ax25_ds_t1_timeout()
204 if (ax25->modulus == AX25_MODULUS) in ax25_ds_t1_timeout()
/OK3568_Linux_fs/kernel/net/lapb/
H A Dlapb_subr.c49 int modulus; in lapb_frames_acked() local
51 modulus = (lapb->mode & LAPB_EXTENDED) ? LAPB_EMODULUS : LAPB_SMODULUS; in lapb_frames_acked()
60 lapb->va = (lapb->va + 1) % modulus; in lapb_frames_acked()
89 int modulus; in lapb_validate_nr() local
91 modulus = (lapb->mode & LAPB_EXTENDED) ? LAPB_EMODULUS : LAPB_SMODULUS; in lapb_validate_nr()
96 vc = (vc + 1) % modulus; in lapb_validate_nr()
H A Dlapb_out.c69 unsigned short modulus, start, end; in lapb_kick() local
71 modulus = (lapb->mode & LAPB_EXTENDED) ? LAPB_EMODULUS : LAPB_SMODULUS; in lapb_kick()
73 end = (lapb->va + lapb->window) % modulus; in lapb_kick()
99 lapb->vs = (lapb->vs + 1) % modulus; in lapb_kick()
/OK3568_Linux_fs/kernel/drivers/s390/crypto/
H A Dzcrypt_msgtype50.c76 unsigned char modulus[128]; member
86 unsigned char modulus[256]; member
96 unsigned char modulus[512]; member
217 mod = meb1->modulus + sizeof(meb1->modulus) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
228 mod = meb2->modulus + sizeof(meb2->modulus) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
239 mod = meb3->modulus + sizeof(meb3->modulus) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
H A Dzcrypt_cex2a.h48 unsigned char modulus[128]; member
58 unsigned char modulus[256]; member
68 unsigned char modulus[512]; member
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/mpl/aux_/preprocessed/mwcw/
H A Dmodulus.hpp67 struct modulus struct
74 BOOST_MPL_AUX_LAMBDA_SUPPORT(2, modulus, (N1, N2))
78 BOOST_MPL_AUX_NA_SPEC2(2, 2, modulus)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/mpl/aux_/preprocessed/bcc_pre590/
H A Dmodulus.hpp67 struct modulus struct
74 BOOST_MPL_AUX_LAMBDA_SUPPORT(2, modulus, (N1, N2))
78 BOOST_MPL_AUX_NA_SPEC2(2, 2, modulus)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/mpl/aux_/preprocessed/no_ctps/
H A Dmodulus.hpp67 struct modulus struct
74 BOOST_MPL_AUX_LAMBDA_SUPPORT(2, modulus, (N1, N2))
78 BOOST_MPL_AUX_NA_SPEC2(2, 2, modulus)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/mpl/aux_/preprocessed/gcc/
H A Dmodulus.hpp67 struct modulus struct
74 BOOST_MPL_AUX_LAMBDA_SUPPORT(2, modulus, (N1, N2))
78 BOOST_MPL_AUX_NA_SPEC2(2, 2, modulus)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/mpl/aux_/preprocessed/bcc/
H A Dmodulus.hpp67 struct modulus struct
74 BOOST_MPL_AUX_LAMBDA_SUPPORT(2, modulus, (N1, N2))
78 BOOST_MPL_AUX_NA_SPEC2(2, 2, modulus)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/mpl/aux_/preprocessed/bcc551/
H A Dmodulus.hpp67 struct modulus struct
74 BOOST_MPL_AUX_LAMBDA_SUPPORT(2, modulus, (N1, N2))
78 BOOST_MPL_AUX_NA_SPEC2(2, 2, modulus)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/mpl/aux_/preprocessed/dmc/
H A Dmodulus.hpp67 struct modulus struct
74 BOOST_MPL_AUX_LAMBDA_SUPPORT(2, modulus, (N1, N2))
78 BOOST_MPL_AUX_NA_SPEC2(2, 2, modulus)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/mpl/aux_/preprocessed/no_ttp/
H A Dmodulus.hpp67 struct modulus struct
74 BOOST_MPL_AUX_LAMBDA_SUPPORT(2, modulus, (N1, N2))
78 BOOST_MPL_AUX_NA_SPEC2(2, 2, modulus)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/mpl/aux_/preprocessed/msvc70/
H A Dmodulus.hpp67 struct modulus struct
78 BOOST_MPL_AUX_LAMBDA_SUPPORT(2, modulus, (N1, N2))
82 BOOST_MPL_AUX_NA_SPEC2(2, 2, modulus)
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/mpl/aux_/preprocessed/msvc60/
H A Dmodulus.hpp67 struct modulus struct
78 BOOST_MPL_AUX_LAMBDA_SUPPORT(2, modulus, (N1, N2))
82 BOOST_MPL_AUX_NA_SPEC2(2, 2, modulus)
/OK3568_Linux_fs/kernel/net/x25/
H A Dx25_out.c140 int modulus; in x25_kick() local
162 modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_kick()
165 end = (x25->va + x25->facilities.winsize_out) % modulus; in x25_kick()
192 x25->vs = (x25->vs + 1) % modulus; in x25_kick()

123456