Home
last modified time | relevance | path

Searched refs:get_random_long (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/include/linux/
Dstackprotector.h25 return get_random_long() & CANARY_MASK; in get_random_canary()
Drandom.h44 static inline unsigned long get_random_long(void) in get_random_long() function
/linux-6.12.1/arch/arm64/kvm/
Darm.c2512 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()
Dtrng.c37 bits[i] = get_random_long(); in kvm_trng_do_rnd()
Dva_layout.c77 tag_val |= get_random_long() & GENMASK_ULL(vabits_actual - 2, tag_lsb); in kvm_compute_layout()
/linux-6.12.1/mm/
Dutil.c356 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()
Dshuffle.c113 ALIGN_DOWN(get_random_long() % z->spanned_pages, in __shuffle_zone()
Ddebug_vm_pgtable.c1002 random_pages = get_random_long() % total_user_pages; in get_random_vaddr()
Dslub.c5989 s->random = get_random_long(); in do_kmem_cache_create()
/linux-6.12.1/arch/x86/mm/
Dmmap.c74 return (get_random_long() & ((1UL << rndbits) - 1)) << PAGE_SHIFT; in arch_rnd()
/linux-6.12.1/arch/x86/kernel/
Despfix_64.c97 unsigned long rand = get_random_long(); in init_espfix_random()
/linux-6.12.1/arch/sparc/kernel/
Dsys_sparc_64.c267 unsigned long val = get_random_long(); in mmap_rnd()
/linux-6.12.1/arch/powerpc/lib/
Dcode-patching.c167 addr = (1 + (get_random_long() % (DEFAULT_MAP_WINDOW / PAGE_SIZE - 2))) << PAGE_SHIFT; in text_area_cpu_up_mm()
/linux-6.12.1/fs/bcachefs/
Dutil.c664 rand = get_random_long(); in bch2_rand_range()
/linux-6.12.1/arch/powerpc/kernel/
Dprocess.c2015 current->thread.hashkeyr = get_random_long(); in start_thread()