/DragonOS/kernel/crates/crc/src/ |
H A D | crc64.rs | 73 let mut buf = [0u8; 1]; in crc64_be_single() localVariable 81 let buf = b"0123456789"; in crc64_be_multibytes() localVariable
|
/DragonOS/kernel/src/libs/ |
H A D | printk.c | 54 static int __do_vsprintf(char *buf, const char *fmt, int buf_size, va_list args) in __do_vsprintf() 364 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() 378 int vsnprintf(char *buf, const char *fmt, int buf_size, va_list args) in vsnprintf() 602 static char buf[4096]; // vsprintf()的缓冲区 in printk_color() local 621 int sprintk(char *buf, const char *fmt, ...) in sprintk()
|
H A D | elf.rs | 336 let mut buf = vec![0u8; buf_size]; in do_load_file() localVariable 486 let buf = data_buf.get_bytes(0..size)?; in parse_segments() localVariable
|
/DragonOS/user/apps/test_lo/src/ |
H A D | main.rs | 11 let mut buf = [0; 1024]; in main() localVariable
|
/DragonOS/user/apps/test_filemap/ |
H A D | main.c | 21 char buf[12]; in main() local
|
/DragonOS/kernel/src/arch/riscv64/ |
H A D | rand.rs | 3 let mut buf = [0u8; size_of::<usize>()]; in rand() localVariable
|
/DragonOS/user/apps/test_uart/ |
H A D | main.c | 9 char buf[1] = {0}; in main() local
|
/DragonOS/user/apps/test_pty/ |
H A D | test_pty.c | 31 char buf[256]; in main() local
|
/DragonOS/user/apps/dmesg/ |
H A D | main.c | 10 char *buf = NULL; in main() local
|
/DragonOS/kernel/src/bpf/ |
H A D | mod.rs | 15 let buf = UserBufferReader::new(attr, size as usize, true)?; in sys_bpf() localVariable
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 197 let buf = user_buffer_writer.buffer(0)?; in handle() localVariable 210 let buf = user_buffer_reader.read_from_user(0)?; in handle() localVariable 257 let buf: &mut [u8] = unsafe { in handle() localVariable 511 let buf = args[1] as *const u8; in handle() localVariable 529 let buf = args[1] as *mut u8; in handle() localVariable 560 let buf = unsafe { core::slice::from_raw_parts_mut(buf, len) }; in handle() localVariable 647 let buf = args[0] as *mut u8; in handle() localVariable 657 let buf = unsafe { core::slice::from_raw_parts_mut(buf, size) }; in handle() localVariable 952 let buf = args[1] as *mut u8; in handle() localVariable 960 let buf = args[2] as *mut u8; in handle() localVariable
|
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/ |
H A D | mm.rs | 183 let mut buf = vec![0u8; (cap * channel_header.slot_size as u64) as usize]; in process_logs() localVariable 234 let mut buf = [0u8; size_of::<MMLogChannel<1>>()]; in load_header() localVariable
|
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | textui.rs | 298 buf: Option<&'a mut [u8]>, field 344 let buf = self.buf_mut().as_mut_ptr() as *mut u32; in put_color_in_pixel() localVariable 350 let buf = self.buf_mut().as_mut_ptr(); in put_color_in_pixel() localVariable 356 let buf = self.buf_mut().as_mut_ptr(); in put_color_in_pixel() localVariable 434 let mut buf = TextuiBuf::new(&mut _binding); in textui_refresh_character() localVariable 1035 let buf = format!( in rs_textui_putchar() localVariable
|
H A D | screen_manager.rs | 63 pub buf: ScmBuffer, field
|
/DragonOS/kernel/crates/klog_types/src/ |
H A D | lib.rs | 73 let buf = unsafe { in calculate_checksum() localVariable 203 pub buf: StaticThingBuf<AllocatorLog, CAP, MMLogCycle>, field
|
/DragonOS/kernel/src/filesystem/ |
H A D | mbr.rs | 90 let mut buf: Vec<u8> = vec![0; size_of::<MbrDiskPartionTable>()]; in from_disk() localVariable
|
/DragonOS/docs/kernel/core_api/ |
H A D | kernel_api.md | 617 ##### 描述 621 ##### 参数 637 ##### 描述 641 ##### 参数
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | core.rs | 291 let buf = old_remain_path.as_bytes(); in do_symlinkat() localVariable
|
H A D | file.rs | 474 let buf: &mut [u8] = in readdir() localVariable
|
H A D | syscall.rs | 1851 let mut buf = Vec::new(); in gather() localVariable 1881 let mut buf: Vec<u8> = Vec::with_capacity(total_len); in new_buf() localVariable
|
/DragonOS/kernel/src/perf/ |
H A D | mod.rs | 252 let buf = UserBufferReader::new( in sys_perf_event_open() localVariable
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | serial8250_pio.rs | 270 let mut buf = [0; 8]; in handle_irq() localVariable
|
/DragonOS/kernel/src/net/ |
H A D | syscall.rs | 305 let mut buf = iovs.new_buf(true); in recvmsg() localVariable 667 let buf = core::slice::from_raw_parts_mut(addr as *mut u8, to_write); in write_to_user() localVariable
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_device.rs | 422 buf: AllocRingBuffer<u8>, field
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | fs.rs | 1512 let mut buf: Vec<u8> = Vec::new(); in resize() localVariable
|