Searched refs:get_random_long (Results 1 – 15 of 15) 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
2512 hyp_ctxt->sys_regs[APIAKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2513 hyp_ctxt->sys_regs[APIAKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2514 hyp_ctxt->sys_regs[APIBKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2515 hyp_ctxt->sys_regs[APIBKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2516 hyp_ctxt->sys_regs[APDAKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2517 hyp_ctxt->sys_regs[APDAKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2518 hyp_ctxt->sys_regs[APDBKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2519 hyp_ctxt->sys_regs[APDBKEYHI_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2520 hyp_ctxt->sys_regs[APGAKEYLO_EL1] = get_random_long(); in pkvm_hyp_init_ptrauth()2521 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()
356 random_variable = get_random_long(); in randomize_stack_top()396 return start + (get_random_long() % range << PAGE_SHIFT); in randomize_page()415 rnd = get_random_long() & ((1UL << mmap_rnd_compat_bits) - 1); in arch_mmap_rnd()418 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()
1002 random_pages = get_random_long() % total_user_pages; in get_random_vaddr()
5989 s->random = get_random_long(); in do_kmem_cache_create()
74 return (get_random_long() & ((1UL << rndbits) - 1)) << PAGE_SHIFT; in arch_rnd()
97 unsigned long rand = get_random_long(); in init_espfix_random()
267 unsigned long val = get_random_long(); in mmap_rnd()
167 addr = (1 + (get_random_long() % (DEFAULT_MAP_WINDOW / PAGE_SIZE - 2))) << PAGE_SHIFT; in text_area_cpu_up_mm()
664 rand = get_random_long(); in bch2_rand_range()
2015 current->thread.hashkeyr = get_random_long(); in start_thread()