Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/crates/crc/src/
Dcrc64.rs73 let mut buf = [0u8; 1]; in crc64_be_single() localVariable
81 let buf = b"0123456789"; in crc64_be_multibytes() localVariable
/DragonOS-0.1.9/kernel/src/libs/
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()
Dunistd.c7 unsigned char buf[32]; in swab() local
Delf.rs337 let mut buf = vec![0u8; buf_size]; in do_load_file() localVariable
487 let buf = data_buf.get_bytes(0..size)?; in parse_segments() localVariable
/DragonOS-0.1.9/user/apps/test_uart/
Dmain.c9 char buf[1] = {0}; in main() local
/DragonOS-0.1.9/user/apps/dmesg/
Dmain.c10 char *buf = NULL; in main() local
/DragonOS-0.1.9/kernel/src/syscall/
Dmod.rs180 let buf = user_buffer_writer.buffer(0)?; in handle() localVariable
193 let buf = user_buffer_reader.read_from_user(0)?; in handle() localVariable
265 let buf: &mut [u8] = unsafe { in handle() localVariable
515 let buf = args[1] as *const u8; in handle() localVariable
536 let buf = args[1] as *mut u8; in handle() localVariable
567 let buf = unsafe { core::slice::from_raw_parts_mut(buf, len) }; in handle() localVariable
651 let buf = args[0] as *mut u8; in handle() localVariable
661 let buf = unsafe { core::slice::from_raw_parts_mut(buf, size) }; in handle() localVariable
925 let buf = args[1] as *mut u8; in handle() localVariable
933 let buf = args[2] as *mut u8; in handle() localVariable
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/monitor/
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-0.1.9/kernel/crates/klog_types/src/
Dlib.rs74 let buf = unsafe { in calculate_checksum() localVariable
197 pub buf: StaticThingBuf<AllocatorLog, CAP, MMLogCycle>, field
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dmod.rs189 let mut buf = [0u8; 3000usize]; in __test_ahci() localVariable
Dahcidisk.rs404 let mut buf: Vec<u8> = Vec::new(); in read_mbr_table() localVariable
/DragonOS-0.1.9/docs/kernel/core_api/
Dkernel_api.md617 ##### 描
621 ##### 参
637 ##### 描
641 ##### 参
/DragonOS-0.1.9/kernel/src/libs/lib_ui/
Dtextui.rs299 buf: Option<&'a mut [u32]>, field
336 let buf: &mut [u32] = self.buf_mut(); in put_color_in_pixel() localVariable
402 let mut buf = TextuiBuf::new(&mut _binding); in textui_refresh_character() localVariable
998 let buf = format!( in rs_textui_putchar() localVariable
Dscreen_manager.rs59 pub buf: ScmBuffer, field
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dsyscall.rs592 let buf: &[u8] = ureader.buffer(0).unwrap(); in unlink() localVariable
882 let buf = user_buffer.read_from_user::<u8>(0)?; in mknod() localVariable
1085 let mut buf = Vec::new(); in gather() localVariable
1115 let mut buf: Vec<u8> = Vec::with_capacity(total_len); in new_buf() localVariable
Dfile.rs374 let buf: &mut [u8] = in readdir() localVariable
/DragonOS-0.1.9/kernel/src/net/
Dsyscall.rs311 let mut buf = iovs.new_buf(true); in recvmsg() localVariable
653 let buf = core::slice::from_raw_parts_mut(addr as *mut u8, to_write); in write_to_user() localVariable
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/
Dps_mouse_device.rs426 buf: AllocRingBuffer<u8>, field
/DragonOS-0.1.9/kernel/src/filesystem/fat/
Dfs.rs1477 let mut buf: Vec<u8> = Vec::new(); in resize() localVariable
Dentry.rs2041 let mut buf: [u8; 11] = [0x20u8; 11]; localVariable