Home
last modified time | relevance | path

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

/DragonOS/kernel/src/net/socket/
H A Dunix.rs24 pub const DEFAULT_BUF_SIZE: usize = 64 * 1024; constant
31 let buffer = Arc::new(SpinLock::new(Vec::with_capacity(Self::DEFAULT_BUF_SIZE))); in new()
35 Self::DEFAULT_BUF_SIZE, in new()
36 Self::DEFAULT_BUF_SIZE, in new()
139 pub const DEFAULT_BUF_SIZE: usize = 64 * 1024; constant
146 let buffer = Arc::new(SpinLock::new(Vec::with_capacity(Self::DEFAULT_BUF_SIZE))); in new()
150 Self::DEFAULT_BUF_SIZE, in new()
151 Self::DEFAULT_BUF_SIZE, in new()