Home
last modified time | relevance | path

Searched defs:u8 (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.3/kernel/src/mm/
Dallocator.rs8 unsafe fn local_alloc(&self, layout: Layout, gfp: gfp_t) -> *mut u8; in local_alloc()
9 unsafe fn local_alloc_zeroed(&self, layout: Layout, gfp: gfp_t) -> *mut u8; in local_alloc_zeroed()
10 unsafe fn local_dealloc(&self, ptr: *mut u8, layout: Layout); in local_dealloc()
17 unsafe fn local_alloc(&self, layout: Layout, gfp: gfp_t) -> *mut u8 { in local_alloc()
24 unsafe fn local_alloc_zeroed(&self, layout: Layout, gfp: gfp_t) -> *mut u8 { in local_alloc_zeroed()
31 unsafe fn local_dealloc(&self, ptr: *mut u8, layout: Layout) { in local_dealloc()
38 unsafe fn alloc(&self, layout: Layout) -> *mut u8 { in alloc()
42 unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 { in alloc_zeroed()
46 unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { in dealloc()
/DragonOS-0.1.3/kernel/src/driver/uart/
Duart.rs181 pub extern "C" fn c_uart_send(port: u16, c: u8) { in c_uart_send()
190 pub extern "C" fn c_uart_read(port: u16) -> u8 { in c_uart_read()
199 pub extern "C" fn c_uart_send_str(port: u16, str: *const u8) in c_uart_send_str()
/DragonOS-0.1.3/kernel/src/driver/timers/rtc/
Drtc.rs91 fn read_cmos(addr: u8) -> u8 { in read_cmos()
/DragonOS-0.1.3/kernel/src/libs/
Dprintk.rs115 pub fn __utf8_to_ascii(&self, s: &str) -> Vec<u8> { in __utf8_to_ascii()