Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 27) sorted by relevance

12

/DragonOS/kernel/crates/crc/src/
H A Dcrc64.rs73 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 Dprintk.c54 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 Delf.rs336 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 Dmain.rs11 let mut buf = [0; 1024]; in main() localVariable
/DragonOS/user/apps/test_filemap/
H A Dmain.c21 char buf[12]; in main() local
/DragonOS/kernel/src/arch/riscv64/
H A Drand.rs3 let mut buf = [0u8; size_of::<usize>()]; in rand() localVariable
/DragonOS/user/apps/test_uart/
H A Dmain.c9 char buf[1] = {0}; in main() local
/DragonOS/user/apps/test_pty/
H A Dtest_pty.c31 char buf[256]; in main() local
/DragonOS/user/apps/dmesg/
H A Dmain.c10 char *buf = NULL; in main() local
/DragonOS/kernel/src/bpf/
H A Dmod.rs15 let buf = UserBufferReader::new(attr, size as usize, true)?; in sys_bpf() localVariable
/DragonOS/kernel/src/syscall/
H A Dmod.rs197 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 Dmm.rs183 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 Dtextui.rs298 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 Dscreen_manager.rs63 pub buf: ScmBuffer, field
/DragonOS/kernel/crates/klog_types/src/
H A Dlib.rs73 let buf = unsafe { in calculate_checksum() localVariable
203 pub buf: StaticThingBuf<AllocatorLog, CAP, MMLogCycle>, field
/DragonOS/kernel/src/filesystem/
H A Dmbr.rs90 let mut buf: Vec<u8> = vec![0; size_of::<MbrDiskPartionTable>()]; in from_disk() localVariable
/DragonOS/docs/kernel/core_api/
H A Dkernel_api.md617 ##### 描
621 ##### 参
637 ##### 描
641 ##### 参
/DragonOS/kernel/src/filesystem/vfs/
H A Dcore.rs291 let buf = old_remain_path.as_bytes(); in do_symlinkat() localVariable
H A Dfile.rs474 let buf: &mut [u8] = in readdir() localVariable
H A Dsyscall.rs1851 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 Dmod.rs252 let buf = UserBufferReader::new( in sys_perf_event_open() localVariable
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dserial8250_pio.rs270 let mut buf = [0; 8]; in handle_irq() localVariable
/DragonOS/kernel/src/net/
H A Dsyscall.rs305 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 Dps_mouse_device.rs422 buf: AllocRingBuffer<u8>, field
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs1512 let mut buf: Vec<u8> = Vec::new(); in resize() localVariable

12