random 22 arch/arc/include/asm/tlb-mmu1.h ; and its unpleasant LFSR pseudo-random sequence random 56 arch/s390/boot/kaslr.c unsigned long seed, random; random 65 arch/s390/boot/kaslr.c cpacf_trng(NULL, 0, (u8 *) &random, sizeof(random)); random 70 arch/s390/boot/kaslr.c cpacf_prno(CPACF_PRNO_SHA512_DRNG_GEN, &prno, (u8 *) &random, random 71 arch/s390/boot/kaslr.c sizeof(random), NULL, 0); random 82 arch/s390/boot/kaslr.c random = seed; random 83 arch/s390/boot/kaslr.c cpacf_kmc(CPACF_KMC_PRNG, prng.parm_block, (u8 *) &random, random 84 arch/s390/boot/kaslr.c (u8 *) &random, sizeof(random)); random 87 arch/s390/boot/kaslr.c random = 0; random 89 arch/s390/boot/kaslr.c return random % limit; random 298 arch/s390/crypto/prng.c static const u8 random[] __initconst = { random 332 arch/s390/crypto/prng.c u8 buf[sizeof(random)]; random 357 arch/s390/crypto/prng.c if (memcmp(buf, random, sizeof(random)) != 0) { random 296 arch/um/drivers/net_kern.c goto random; random 305 arch/um/drivers/net_kern.c goto random; random 313 arch/um/drivers/net_kern.c goto random; random 319 arch/um/drivers/net_kern.c goto random; random 333 arch/um/drivers/net_kern.c random: random 56 arch/x86/lib/kaslr.c unsigned long raw, random = get_boot_seed(); random 65 arch/x86/lib/kaslr.c random ^= raw; random 74 arch/x86/lib/kaslr.c random ^= raw; random 80 arch/x86/lib/kaslr.c random ^= i8254(); random 85 arch/x86/lib/kaslr.c : "=a" (random), "=d" (raw) random 86 arch/x86/lib/kaslr.c : "a" (random), "rm" (mix_const)); random 87 arch/x86/lib/kaslr.c random += raw; random 91 arch/x86/lib/kaslr.c return random; random 108 arch/x86/oprofile/op_model_amd.c unsigned int random = lfsr_random(); random 124 arch/x86/oprofile/op_model_amd.c val += (s8)(random >> 4); random 126 arch/x86/oprofile/op_model_amd.c val |= (u64)(random & IBS_RANDOM_MASK) << 32; random 154 arch/x86/tools/insn_sanity.c *(unsigned short *)(&insn_buff[i]) = random() & 0xffff; random 157 arch/x86/tools/insn_sanity.c insn_buff[i++] = random() & 0xff; random 130 arch/xtensa/platforms/iss/network.c goto random; random 135 arch/xtensa/platforms/iss/network.c goto random; random 140 arch/xtensa/platforms/iss/network.c goto random; random 145 arch/xtensa/platforms/iss/network.c goto random; random 152 arch/xtensa/platforms/iss/network.c random: random 280 block/blk-sysfs.c QUEUE_SYSFS_BIT_FNS(random, ADD_RANDOM, 0); random 1329 block/genhd.c kfree(disk->random); random 1377 drivers/char/random.c if (!disk || !disk->random) random 1380 drivers/char/random.c add_timer_randomness(disk->random, 0x100 + disk_devt(disk)); random 1981 drivers/char/random.c disk->random = state; random 269 drivers/gpu/drm/i915/selftests/scatterlist.c random, random 51 drivers/infiniband/hw/cxgb3/cxio_resource.c int random) random 63 drivers/infiniband/hw/cxgb3/cxio_resource.c if (random) { random 1263 drivers/infiniband/hw/i40iw/i40iw_verbs.c u32 random; random 1267 drivers/infiniband/hw/i40iw/i40iw_verbs.c get_random_bytes(&random, sizeof(random)); random 1268 drivers/infiniband/hw/i40iw/i40iw_verbs.c consumer_key = (u8)random; random 1270 drivers/infiniband/hw/i40iw/i40iw_verbs.c driver_key = random & ~iwdev->mr_stagmask; random 1271 drivers/infiniband/hw/i40iw/i40iw_verbs.c next_stag_index = (random & iwdev->mr_stagmask) >> 8; random 91 drivers/net/ethernet/freescale/fec_mpc52xx.h u32 random; /* FEC + 0x128 */ random 143 drivers/net/hamradio/6pack.c static unsigned char random; random 145 drivers/net/hamradio/6pack.c random = random * 17 + 41; random 147 drivers/net/hamradio/6pack.c if (((sp->status1 & SIXP_DCD_MASK) == 0) && (random < sp->persistence)) { random 236 drivers/net/hamradio/dmascc.c static inline unsigned char random(void); random 1447 drivers/net/hamradio/dmascc.c random() / priv->param.persist * random 904 fs/ceph/mds_client.c goto random; random 955 fs/ceph/mds_client.c goto random; random 1007 fs/ceph/mds_client.c goto random; random 1020 fs/ceph/mds_client.c random: random 213 include/linux/genhd.h struct timer_rand_state *random; random 121 include/linux/slub_def.h unsigned long random; random 363 include/net/sctp/structs.h struct sctp_random_param *random; random 3 include/trace/events/random.h #define TRACE_SYSTEM random random 27 include/uapi/linux/netfilter/xt_statistic.h } random; random 263 mm/slub.c return (void *)((unsigned long)ptr ^ s->random ^ random 3636 mm/slub.c s->random = get_random_long(); random 611 net/mac80211/rc80211_minstrel_ht.c u8 random; random 650 net/mac80211/rc80211_minstrel_ht.c random = prandom_u32(); random 651 net/mac80211/rc80211_minstrel_ht.c i = random % n_rates; random 37 net/netfilter/xt_statistic.c if ((prandom_u32() & 0x7FFFFFFF) < info->u.random.probability) random 185 net/sctp/auth.c struct sctp_random_param *random, random 195 net/sctp/auth.c random_len = ntohs(random->param_hdr.length); random 206 net/sctp/auth.c memcpy(new->data, random, random_len); random 65 net/tipc/core.c get_random_bytes(&tn->random, sizeof(int)); random 96 net/tipc/core.h int random; random 92 net/tipc/discover.c msg_set_node_sig(hdr, tn->random); random 636 net/tipc/monitor.c mon->timer_intv = msecs_to_jiffies(MON_TIMEOUT + (tn->random & 0xffff)); random 938 net/tipc/node.c addr ^= tipc_net(net)->random; random 163 tools/perf/bench/epoll-ctl.c unsigned long rnd1 = random(), rnd2 = random(); random 650 tools/perf/util/hist.c unsigned r = random(); random 364 tools/perf/util/util.c node = strlist__entry(tips, random() % strlist__nr_entries(tips)); random 377 tools/spi/spidev_test.c tx[i] = random(); random 306 tools/testing/selftests/gpio/gpio-mockup-chardev.c gpio_pin_tests(current, random() % current->lines); random 145 tools/testing/selftests/kvm/dirty_log_test.c guest_array[i] = random(); random 395 tools/testing/selftests/mqueue/mq_perf_tests.c *prio = random() % mq_prio_max; random 153 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_MSR] = random(); random 155 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_NIP] = random(); random 157 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] = random(); random 159 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_NIP] = random(); random 161 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_TRAP] = random(); random 162 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_DSISR] = random(); random 163 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_DAR] = random(); random 164 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_ORIG_R3] = random(); random 165 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_XER] = random(); random 166 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_RESULT] = random(); random 167 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_SOFTE] = random(); random 168 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_DSCR] = random(); random 169 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_CTR] = random(); random 170 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_LNK] = random(); random 171 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_CCR] = random(); random 172 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_mcontext.gp_regs[PT_REGS_COUNT] = random(); random 174 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_TRAP] = random(); random 175 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_DSISR] = random(); random 176 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_DAR] = random(); random 177 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_ORIG_R3] = random(); random 178 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_XER] = random(); random 179 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_RESULT] = random(); random 180 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_SOFTE] = random(); random 181 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_DSCR] = random(); random 182 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_CTR] = random(); random 183 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_LNK] = random(); random 184 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_CCR] = random(); random 185 tools/testing/selftests/powerpc/signal/sigfuz.c ucp->uc_link->uc_mcontext.gp_regs[PT_REGS_COUNT] = random(); random 100 tools/testing/selftests/powerpc/stringloops/memcmp.c s1[j] = random(); random 102 tools/testing/selftests/powerpc/stringloops/memcmp.c rand_s1 += random() % MAX_OFFSET_DIFF_S1_S2; random 103 tools/testing/selftests/powerpc/stringloops/memcmp.c rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; random 107 tools/testing/selftests/powerpc/stringloops/memcmp.c change = random() % comp_size; random 108 tools/testing/selftests/powerpc/stringloops/memcmp.c rand_s2[change] = random() & 0xff; random 126 tools/testing/selftests/powerpc/stringloops/memcmp.c s1[j] = random(); random 128 tools/testing/selftests/powerpc/stringloops/memcmp.c rand_s1 += random() % MAX_OFFSET_DIFF_S1_S2; random 129 tools/testing/selftests/powerpc/stringloops/memcmp.c rand_s2 += random() % MAX_OFFSET_DIFF_S1_S2; random 134 tools/testing/selftests/powerpc/stringloops/memcmp.c change = random() % comp_size; random 135 tools/testing/selftests/powerpc/stringloops/memcmp.c s2[change] = random() & 0xff; random 69 tools/testing/selftests/powerpc/stringloops/strlen.c c = random() & 0x7f; random 82 tools/testing/selftests/powerpc/stringloops/strlen.c c = random() & 0x7f; random 96 tools/testing/selftests/powerpc/stringloops/strlen.c c = random() & 0x7f; random 649 tools/testing/selftests/x86/protection_keys.c int nr_iterations = random() % 100; random 913 tools/testing/selftests/x86/protection_keys.c malloc_type = (random()%nr_malloc_types);