Searched refs:rand (Results 1 – 14 of 14) sorted by relevance
/DragonOS/kernel/src/syscall/ |
H A D | misc.rs | 2 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 D | mod.rs | 11 libs::{futex::constant::FutexFlag, rand::GRandFlags},
|
/DragonOS/kernel/src/arch/x86_64/ |
H A D | rand.rs | 3 pub fn rand() -> usize { in rand() function
|
H A D | mod.rs | 17 pub mod rand; module
|
/DragonOS/kernel/crates/rust-slabmalloc/ |
H A D | Cargo.toml | 14 rand = "0.8"
|
/DragonOS/kernel/src/arch/riscv64/ |
H A D | rand.rs | 1 pub fn rand() -> usize { in rand() function
|
H A D | mod.rs | 14 pub mod rand; module
|
/DragonOS/kernel/src/libs/ |
H A D | mod.rs | 25 pub mod rand; module
|
/DragonOS/tools/debugging/logmonitor/ |
H A D | Cargo.toml | 13 rand = "0.8.5"
|
/DragonOS/tools/debugging/logmonitor/src/ |
H A D | app.rs | 3 use rand::{distributions::Uniform, prelude::Distribution, rngs::ThreadRng}; 159 rng: rand::thread_rng(), in new()
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e_driver.rs | 4 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 D | loopback.rs | 1 use crate::arch::rand::rand; 277 iface_config.random_seed = rand() as u64; in new()
|
H A D | virtio_net.rs | 21 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 D | mod.rs | 19 arch::rand::rand, 517 EPHEMERAL_PORT = (49152 + rand() % (65536 - 49152)) as u16; in get_ephemeral_port()
|