Home
last modified time | relevance | path

Searched refs:rand (Results 1 – 14 of 14) sorted by relevance

/DragonOS/kernel/src/syscall/
H A Dmisc.rs2 arch::{mm::LockedFrameAllocator, rand::rand},
3 libs::rand::GRandFlags,
82 let rand = rand(); in get_random() localVariable
84 ret.push((rand >> (offset * 2)) as u8); in get_random()
H A Dmod.rs11 libs::{futex::constant::FutexFlag, rand::GRandFlags},
/DragonOS/kernel/src/arch/x86_64/
H A Drand.rs3 pub fn rand() -> usize { in rand() function
H A Dmod.rs17 pub mod rand; module
/DragonOS/kernel/crates/rust-slabmalloc/
H A DCargo.toml14 rand = "0.8"
/DragonOS/kernel/src/arch/riscv64/
H A Drand.rs1 pub fn rand() -> usize { in rand() function
H A Dmod.rs14 pub mod rand; module
/DragonOS/kernel/src/libs/
H A Dmod.rs25 pub mod rand; module
/DragonOS/tools/debugging/logmonitor/
H A DCargo.toml13 rand = "0.8.5"
/DragonOS/tools/debugging/logmonitor/src/
H A Dapp.rs3 use rand::{distributions::Uniform, prelude::Distribution, rngs::ThreadRng};
159 rng: rand::thread_rng(), in new()
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e_driver.rs4 arch::rand::rand,
131 iface_config.random_seed = rand() as u64; in new()
199 iface_config.random_seed = rand() as u64; in new()
/DragonOS/kernel/src/driver/net/
H A Dloopback.rs1 use crate::arch::rand::rand;
277 iface_config.random_seed = rand() as u64; in new()
H A Dvirtio_net.rs21 arch::rand::rand,
399 iface_config.random_seed = rand() as u64; in new()
512 iface_config.random_seed = rand() as u64; in new()
/DragonOS/kernel/src/net/socket/
H A Dmod.rs19 arch::rand::rand,
517 EPHEMERAL_PORT = (49152 + rand() % (65536 - 49152)) as u16; in get_ephemeral_port()