/DragonOS/kernel/src/net/socket/ |
H A D | unix.rs | 14 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 D | inet.rs | 175 let mut buffer: Vec<u8> = vec![0u8; len + 20]; in write() localVariable
|
/DragonOS/user/apps/http_server/ |
H A D | main.c | 37 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 D | user_access.rs | 84 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 D | mod.rs | 574 let buffer = user_buffer_writer.buffer::<MsgHdr>(0)?; in handle() localVariable
|
/DragonOS/user/apps/test_socket/src/ |
H A D | test_unix_stream_pair.rs | 12 let mut buffer = [0; 1024]; in test_unix_stream_pair() localVariable
|
H A D | test_unix_stream.rs | 29 let mut buffer = [0; 1024]; in test_unix_stream() localVariable
|
/DragonOS/user/apps/test_dup3/ |
H A D | main.c | 18 char buffer[100]; in main() local
|
/DragonOS/user/apps/test-blockcache/src/ |
H A D | main.rs | 11 let mut buffer = [0; 512]; in main() localVariable
|
/DragonOS/user/apps/test_mkfifo/ |
H A D | main.c | 17 char buffer[BUFFER_SIZE]; in main() local
|
/DragonOS/user/apps/test_ramfs/ |
H A D | main.c | 94 char buffer[100]; in main() local
|
/DragonOS/kernel/src/filesystem/overlayfs/ |
H A D | copy_up.rs | 21 let mut buffer = vec![0u8; metadata.size as usize]; in copy_up() localVariable
|
/DragonOS/user/apps/test_bind/ |
H A D | main.c | 17 char buffer[MAX_REQUEST_SIZE] = {0}; variable
|
/DragonOS/kernel/src/arch/x86_64/include/asm/ |
H A D | asm.h | 254 #define io_insw(port, buffer, nr) \ argument 262 #define io_outsw(port, buffer, nr) \ argument
|
/DragonOS/kernel/src/driver/net/ |
H A D | loopback.rs | 38 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 D | e1000e.rs | 92 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 D | e1000e_driver.rs | 115 let mut buffer = E1000EBuffer::new(4096); in consume() localVariable
|
/DragonOS/kernel/src/filesystem/procfs/ |
H A D | kmsg.rs | 34 buffer: AllocRingBuffer<LogMessage>, field
|
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | screen_manager.rs | 100 let buffer = Self { in new() localVariable 129 let buffer = Self { in new_device_buffer() localVariable
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | lib.rs | 81 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 D | insn_builder.rs | 84 let buffer = vec![ in into_bytes() localVariable
|
/DragonOS/kernel/crates/klog_types/src/ |
H A D | lib.rs | 230 let buffer = StaticThingBuf::with_recycle(MMLogCycle::new()); in new() localVariable
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | render_helper.rs | 15 buffer: u32, field
|