/linux-6.6.21/net/netfilter/ |
D | nft_numgen.c | 19 u32 modulus; member 30 nval = (oval + 1 < priv->modulus) ? oval + 1 : 0; in nft_ng_inc_gen() 62 priv->modulus = ntohl(nla_get_be32(tb[NFTA_NG_MODULUS])); in nft_ng_inc_init() 63 if (priv->modulus == 0) in nft_ng_inc_init() 66 if (priv->offset + priv->modulus - 1 < priv->offset) in nft_ng_inc_init() 73 atomic_set(priv->counter, priv->modulus - 1); in nft_ng_inc_init() 98 u32 modulus, enum nft_ng_types type, u32 offset) in nft_ng_dump() argument 102 if (nla_put_be32(skb, NFTA_NG_MODULUS, htonl(modulus))) in nft_ng_dump() 120 return nft_ng_dump(skb, priv->dreg, priv->modulus, NFT_NG_INCREMENTAL, in nft_ng_inc_dump() 134 u32 modulus; member [all …]
|
D | nft_hash.c | 21 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 …]
|
/linux-6.6.21/arch/alpha/lib/ |
D | divide.S | 65 #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
|
D | ev6-divide.S | 75 #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
|
/linux-6.6.21/net/ax25/ |
D | ax25_std_in.c | 43 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()
|
D | ax25_ds_in.c | 36 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()
|
D | ax25_std_timer.c | 125 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()
|
D | ax25_subr.c | 57 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()
|
D | ax25_ds_timer.c | 193 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()
|
D | ax25_out.c | 220 if (ax25->modulus == AX25_MODULUS) { in ax25_send_iframe() 257 end = (ax25->va + ax25->window) % ax25->modulus; in ax25_kick() 287 next = (ax25->vs + 1) % ax25->modulus; in ax25_kick() 348 ax25_addr_build(ptr, &ax25->source_addr, &ax25->dest_addr, ax25->digipeat, type, ax25->modulus); in ax25_transmit_buffer()
|
D | ax25_addr.c | 216 const ax25_address *dest, const ax25_digi *d, int flag, int modulus) in ax25_addr_build() argument 234 if (modulus == AX25_MODULUS) in ax25_addr_build()
|
D | af_ax25.c | 407 if (ax25->modulus == AX25_MODULUS) { in ax25_ctl_ioctl() 482 ax25->modulus = AX25_EMODULUS; in ax25_fillin_cb_from_dev() 485 ax25->modulus = AX25_MODULUS; in ax25_fillin_cb_from_dev() 516 ax25->modulus = AX25_EMODULUS; in ax25_fillin_cb() 519 ax25->modulus = AX25_MODULUS; in ax25_fillin_cb() 579 if (ax25->modulus == AX25_MODULUS) { in ax25_setsockopt() 643 ax25->modulus = opt ? AX25_EMODULUS : AX25_MODULUS; in ax25_setsockopt() 762 val = (ax25->modulus == AX25_EMODULUS); in ax25_getsockopt() 951 ax25->modulus = oax25->modulus; in ax25_make_new() 1317 ax25->modulus = AX25_MODULUS; in ax25_connect()
|
D | ax25_std_subr.c | 40 if (ax25->modulus == AX25_MODULUS) in ax25_std_establish_data_link()
|
/linux-6.6.21/net/lapb/ |
D | lapb_subr.c | 49 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()
|
D | lapb_out.c | 69 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()
|
/linux-6.6.21/drivers/s390/crypto/ |
D | zcrypt_msgtype50.c | 73 unsigned char modulus[128]; member 83 unsigned char modulus[256]; member 93 unsigned char modulus[512]; member 212 mod = meb1->modulus + sizeof(meb1->modulus) - mod_len; in ICAMEX_msg_to_type50MEX_msg() 223 mod = meb2->modulus + sizeof(meb2->modulus) - mod_len; in ICAMEX_msg_to_type50MEX_msg() 234 mod = meb3->modulus + sizeof(meb3->modulus) - mod_len; in ICAMEX_msg_to_type50MEX_msg()
|
/linux-6.6.21/net/x25/ |
D | x25_out.c | 140 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()
|
D | x25_subr.c | 55 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_frames_acked() local 64 x25->va = (x25->va + 1) % modulus; in x25_frames_acked() 94 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_validate_nr() local 99 vc = (vc + 1) % modulus; in x25_validate_nr()
|
D | x25_in.c | 211 int modulus; in x25_state3_machine() local 214 modulus = (x25->neighbour->extended) ? X25_EMODULUS : X25_SMODULUS; in x25_state3_machine() 276 x25->vr = (x25->vr + 1) % modulus; in x25_state3_machine() 299 if (((x25->vl + x25->facilities.winsize_in) % modulus) == x25->vr) { in x25_state3_machine()
|
/linux-6.6.21/tools/testing/selftests/sgx/ |
D | sigstruct.c | 346 BN_bn2bin(get_modulus(key), sigstruct->modulus); in encl_measure() 374 if (!calc_q1q2(sigstruct->signature, sigstruct->modulus, sigstruct->q1, in encl_measure() 380 reverse_bytes(sigstruct->modulus, SGX_MODULUS_SIZE); in encl_measure()
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | sysfs-class-net-cdc_ncm | 126 NDP alignment modulus for NTBs on the IN pipe. Shall 141 OUT NTB Datagram alignment modulus 158 NDP alignment modulus for use in NTBs on the OUT
|
/linux-6.6.21/arch/x86/kernel/cpu/sgx/ |
D | ioctl.c | 459 static int __sgx_get_key_hash(struct crypto_shash *tfm, const void *modulus, in __sgx_get_key_hash() argument 466 return crypto_shash_digest(shash, modulus, SGX_MODULUS_SIZE, hash); in __sgx_get_key_hash() 469 static int sgx_get_key_hash(const void *modulus, void *hash) in sgx_get_key_hash() argument 478 ret = __sgx_get_key_hash(tfm, modulus, hash); in sgx_get_key_hash() 519 ret = sgx_get_key_hash(sigstruct->modulus, mrsigner); in sgx_encl_init()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | firmware.c | 86 u8 modulus[KEY_SIZE]; member 94 u8 modulus[KEY_SIZE]; member 113 u8 *modulus; /* pointer to the modulus */ member 474 fdet->modulus = ff->modulus; in obtain_one_firmware() 499 fdet->modulus = aff->modulus; in obtain_one_firmware() 892 write_rsa_data(dd, MISC_CFG_RSA_MODULUS, fdet->modulus, KEY_SIZE); in load_security_variables()
|
/linux-6.6.21/lib/ |
D | crc32.c | 216 static u32 __attribute_const__ gf2_multiply(u32 x, u32 y, u32 modulus) argument 222 product = (product >> 1) ^ (product & 1 ? modulus : 0);
|
/linux-6.6.21/drivers/media/platform/renesas/vsp1/ |
D | vsp1_video.c | 194 unsigned int modulus; in vsp1_video_calculate_partition() local 218 modulus = format->width % div_size; in vsp1_video_calculate_partition() 229 if (modulus) { in vsp1_video_calculate_partition() 236 if (modulus < div_size / 2) { in vsp1_video_calculate_partition() 242 window.width = (div_size / 2) + modulus; in vsp1_video_calculate_partition() 246 window.width = modulus; in vsp1_video_calculate_partition()
|