Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 23 of 23) sorted by relevance

/DragonOS/kernel/src/net/socket/
H A Dunix.rs14 buffer: Arc<SpinLock<Vec<u8>>>, field
31 let buffer = Arc::new(SpinLock::new(Vec::with_capacity(Self::DEFAULT_BUF_SIZE))); in new() localVariable
64 let mut buffer = self.buffer.lock_irqsave(); in read() localVariable
98 let mut buffer = self.buffer.lock_irqsave(); in write_buffer() localVariable
129 buffer: Arc<SpinLock<Vec<u8>>>, field
146 let buffer = Arc::new(SpinLock::new(Vec::with_capacity(Self::DEFAULT_BUF_SIZE))); in new() localVariable
175 let mut buffer = self.buffer.lock_irqsave(); in read() localVariable
209 let mut buffer = self.buffer.lock_irqsave(); in write_buffer() localVariable
H A Dinet.rs175 let mut buffer: Vec<u8> = vec![0u8; len + 20]; in write() localVariable
/DragonOS/user/apps/http_server/
H A Dmain.c37 char buffer[MAX_RESPONSE_SIZE]; in send_header() local
91 char buffer[1048576]; in send_file() local
179 char buffer[MAX_REQUEST_SIZE] = {0}; in main() local
/DragonOS/kernel/src/syscall/
H A Duser_access.rs84 let mut buffer = Vec::new(); in check_and_clone_cstr() localVariable
125 let mut buffer = Vec::new(); in check_and_clone_cstr_array() localVariable
154 buffer: &'a mut [u8], field
159 buffer: &'a [u8], field
236 pub fn buffer<T>(&self, offset: usize) -> Result<&[T], SystemError> { in buffer() method
324 pub fn buffer<T>(&'a mut self, offset: usize) -> Result<&'a mut [T], SystemError> { in buffer() method
H A Dmod.rs574 let buffer = user_buffer_writer.buffer::<MsgHdr>(0)?; in handle() localVariable
/DragonOS/user/apps/test_socket/src/
H A Dtest_unix_stream_pair.rs12 let mut buffer = [0; 1024]; in test_unix_stream_pair() localVariable
H A Dtest_unix_stream.rs29 let mut buffer = [0; 1024]; in test_unix_stream() localVariable
/DragonOS/user/apps/test_dup3/
H A Dmain.c18 char buffer[100]; in main() local
/DragonOS/user/apps/test-blockcache/src/
H A Dmain.rs11 let mut buffer = [0; 512]; in main() localVariable
/DragonOS/user/apps/test_mkfifo/
H A Dmain.c17 char buffer[BUFFER_SIZE]; in main() local
/DragonOS/user/apps/test_ramfs/
H A Dmain.c94 char buffer[100]; in main() local
/DragonOS/kernel/src/filesystem/overlayfs/
H A Dcopy_up.rs21 let mut buffer = vec![0u8; metadata.size as usize]; in copy_up() localVariable
/DragonOS/user/apps/test_bind/
H A Dmain.c17 char buffer[MAX_REQUEST_SIZE] = {0}; variable
/DragonOS/kernel/src/arch/x86_64/include/asm/
H A Dasm.h254 #define io_insw(port, buffer, nr) \ argument
262 #define io_outsw(port, buffer, nr) \ argument
/DragonOS/kernel/src/driver/net/
H A Dloopback.rs38 buffer: Vec<u8>, field
80 let mut buffer = vec![0; len]; in consume() localVariable
112 let buffer = self.queue.pop_front(); in loopback_receive() localVariable
220 let buffer = self.inner.lock().loopback_receive(); in receive() localVariable
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e.rs92 buffer: NonNull<u8>, field
321 let buffer = E1000EBuffer::new(PAGE_SIZE); in new() localVariable
328 let buffer = E1000EBuffer::new(PAGE_SIZE); in new() localVariable
436 let mut buffer = self.recv_buffers[index]; in e1000e_receive() localVariable
461 let buffer = self.trans_buffers[index]; in e1000e_transmit() localVariable
H A De1000e_driver.rs115 let mut buffer = E1000EBuffer::new(4096); in consume() localVariable
/DragonOS/kernel/src/filesystem/procfs/
H A Dkmsg.rs34 buffer: AllocRingBuffer<LogMessage>, field
/DragonOS/kernel/src/libs/lib_ui/
H A Dscreen_manager.rs100 let buffer = Self { in new() localVariable
129 let buffer = Self { in new_device_buffer() localVariable
/DragonOS/kernel/crates/rbpf/src/
H A Dlib.rs81 buffer: Vec<u8>, field
626 let buffer = vec![0u8; get_buff_len(data_offset, data_end_offset)]; in new() localVariable
674 let buffer = vec![0u8; get_buff_len(data_offset, data_end_offset)]; in set_program() localVariable
H A Dinsn_builder.rs84 let buffer = vec![ in into_bytes() localVariable
/DragonOS/kernel/crates/klog_types/src/
H A Dlib.rs230 let buffer = StaticThingBuf::with_recycle(MMLogCycle::new()); in new() localVariable
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Drender_helper.rs15 buffer: u32, field