/net/rds/ |
H A D | threads.c | 115 unsigned long rand; local 128 get_random_bytes(&rand, sizeof(rand)); 130 rand % conn->c_reconnect_jiffies, conn->c_reconnect_jiffies, 133 rand % conn->c_reconnect_jiffies);
|
/net/netfilter/ |
H A D | xt_connlimit.c | 366 u_int32_t rand; local 369 get_random_bytes(&rand, sizeof(rand)); 370 } while (!rand); 371 cmpxchg(&connlimit_rnd, 0, rand);
|
H A D | nf_conntrack_core.c | 779 unsigned int rand; local 787 get_random_bytes(&rand, sizeof(rand)); 788 } while (!rand); 789 cmpxchg(&nf_conntrack_hash_rnd, 0, rand);
|
/net/rose/ |
H A D | rose_subr.c | 259 facilities->rand = ((p[1] << 8) & 0xFF00) + ((p[2] << 0) & 0x00FF); 443 if (rose->rand != 0 || rose->source_ndigis == 1 || rose->dest_ndigis == 1) { 447 if (rose->rand != 0) { 449 *p++ = (rose->rand >> 8) & 0xFF; 450 *p++ = (rose->rand >> 0) & 0xFF;
|
H A D | rose_route.c | 1029 if (rose_route->rand == facilities.rand && 1059 rose_route->rand = facilities.rand;
|
H A D | af_rose.c | 801 rose->rand = ((long)rose & 0xFFFF) + rose->lci;
|
/net/bluetooth/ |
H A D | smp.h | 81 __le64 rand; member in struct:smp_cmd_master_ident
|
H A D | smp.c | 594 __le64 rand = 0; local 605 hci_le_start_enc(hcon, ediv, rand, stk); 610 __le64 rand = 0; local 631 SMP_STK, auth, stk, smp->enc_key_size, ediv, rand); 754 __le64 rand; local 758 get_random_bytes(&rand, sizeof(rand)); 765 smp->enc_key_size, ediv, rand); 769 ident.rand = rand; [all...] |
H A D | hci_conn.c | 275 void hci_le_start_enc(struct hci_conn *conn, __le16 ediv, __le64 rand, argument 286 cp.rand = rand;
|
H A D | hci_core.c | 814 __le64_to_cpu(ltk->rand), 16, ltk->val); 3202 struct smp_ltk *hci_find_ltk(struct hci_dev *hdev, __le16 ediv, __le64 rand, argument 3208 if (k->ediv != ediv || k->rand != rand) 3320 u8 tk[16], u8 enc_size, __le16 ediv, __le64 rand) 3340 key->rand = rand; 3318 hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type, u8 type, u8 authenticated, u8 tk[16], u8 enc_size, __le16 ediv, __le64 rand) argument
|
H A D | mgmt.c | 4865 key->rand); 6072 ev.key.rand = key->rand;
|
H A D | hci_event.c | 4508 ltk = hci_find_ltk(hdev, ev->ediv, ev->rand, conn->role);
|
/net/irda/ |
H A D | irlap.c | 673 static int rand; local 678 rand += jiffies; 679 rand ^= (rand << 12); 680 rand ^= (rand >> 20); 682 slot = s + rand % (S-s);
|
/net/mac80211/ |
H A D | mesh_plink.c | 587 u32 rand; local 592 get_random_bytes(&rand, sizeof(u32)); 594 rand % sta->plink_timeout;
|
/net/ipv4/ |
H A D | udp.c | 220 unsigned int rand; local 227 rand = prandom_u32(); 228 first = reciprocal_scale(rand, remaining) + low; 230 * force rand to be an odd multiple of UDP_HTABLE_SIZE 232 rand = (rand | 1) * (udptable->mask + 1); 252 snum += rand;
|
/net/sunrpc/ |
H A D | xprtsock.c | 1716 unsigned short rand = (unsigned short) prandom_u32() % range; local 1717 return rand + xprt_min_resvport;
|