Searched refs:get_random_long (Results 1 – 15 of 15) sorted by relevance
58 static inline unsigned long get_random_long(void) in get_random_long() function83 unsigned long val = get_random_long(); in get_random_canary()
510 unsigned long v0 = get_random_long(), v2 = v0 ^ PRND_K0; in prandom_reseed()511 unsigned long v1 = get_random_long(), v3 = v1 ^ PRND_K1; in prandom_reseed()522 unsigned long m = get_random_long(); in prandom_reseed()
37 bits[i] = get_random_long(); in kvm_trng_do_rnd()
77 tag_val |= get_random_long() & GENMASK_ULL(vabits_actual - 2, tag_lsb); in kvm_compute_layout()
335 random_variable = get_random_long(); in randomize_stack_top()362 rnd = get_random_long() & ((1UL << mmap_rnd_compat_bits) - 1); in arch_mmap_rnd()365 rnd = get_random_long() & ((1UL << mmap_rnd_bits) - 1); in arch_mmap_rnd()
114 ALIGN_DOWN(get_random_long() % z->spanned_pages, in __shuffle_zone()
1005 prandom_seed_state(&state, get_random_long()); in cache_random_seq_create()
1000 random_pages = get_random_long() % total_user_pages; in get_random_vaddr()
4189 s->random = get_random_long(); in kmem_cache_open()
74 return (get_random_long() & ((1UL << rndbits) - 1)) << PAGE_SHIFT; in arch_rnd()
48 rnd = get_random_long() % (1ul << shift); in arch_mmap_rnd()
137 addr = get_random_long(); in random_offset()
271 unsigned long val = get_random_long(); in mmap_rnd()
2284 rnd = (get_random_long() % (1UL<<(23-PAGE_SHIFT))); in brk_rnd()2286 rnd = (get_random_long() % (1UL<<(30-PAGE_SHIFT))); in brk_rnd()
2265 return start + (get_random_long() % range << PAGE_SHIFT); in randomize_page()
Completed in 35 milliseconds