Searched refs:get_random_long (Results 1 – 14 of 14) sorted by relevance
25 return get_random_long() & CANARY_MASK; in get_random_canary()
44 static inline unsigned long get_random_long(void) in get_random_long() function
2162 hyp_ctxt->sys_regs[APIAKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2163 hyp_ctxt->sys_regs[APIAKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2164 hyp_ctxt->sys_regs[APIBKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2165 hyp_ctxt->sys_regs[APIBKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2166 hyp_ctxt->sys_regs[APDAKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2167 hyp_ctxt->sys_regs[APDAKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2168 hyp_ctxt->sys_regs[APDBKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2169 hyp_ctxt->sys_regs[APDBKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2170 hyp_ctxt->sys_regs[APGAKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2171 hyp_ctxt->sys_regs[APGAKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()
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()
327 random_variable = get_random_long(); in randomize_stack_top()367 return start + (get_random_long() % range << PAGE_SHIFT); in randomize_page()386 rnd = get_random_long() & ((1UL << mmap_rnd_compat_bits) - 1); in arch_mmap_rnd()389 rnd = get_random_long() & ((1UL << mmap_rnd_bits) - 1); in arch_mmap_rnd()
113 ALIGN_DOWN(get_random_long() % z->spanned_pages, in __shuffle_zone()
1021 random_pages = get_random_long() % total_user_pages; in get_random_vaddr()
4513 s->random = get_random_long(); in kmem_cache_open()
74 return (get_random_long() & ((1UL << rndbits) - 1)) << PAGE_SHIFT; in arch_rnd()
97 unsigned long rand = get_random_long(); in init_espfix_random()
164 addr = (1 + (get_random_long() % (DEFAULT_MAP_WINDOW / PAGE_SIZE - 2))) << PAGE_SHIFT; in text_area_cpu_up_mm()
271 unsigned long val = get_random_long(); in mmap_rnd()
2000 current->thread.hashkeyr = get_random_long(); in start_thread()