Home
last modified time | relevance | path

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

/DragonOS-0.1.5/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.5/kernel/src/libs/
Dvec_cursor.rs38 pub fn get_mut(&mut self) -> &mut Vec<u8> { in get_mut()
43 pub fn get_ref(&self) -> &Vec<u8> { in get_ref()
48 pub fn read_u8(&mut self) -> Result<u8, i32> { in read_u8()
160 pub fn write_u8(&mut self, value: u8) -> Result<u8, i32> { in write_u8()
231 pub fn as_slice(&self) -> &[u8] { in as_slice()
236 pub fn as_mut_slice(&mut self) -> &mut [u8] { in as_mut_slice()
Dprintk.rs115 pub fn __utf8_to_ascii(&self, s: &str) -> Vec<u8> { in __utf8_to_ascii()
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahcidisk.rs56 buf: &mut [u8], in read_at()
189 buf: &[u8], in write_at()
317 ctrl_num: u8, in new()
318 port_num: u8, in new()
397 fn blk_size_log2(&self) -> u8 { in blk_size_log2()
406 buf: &mut [u8], in read_at()
420 buf: &[u8], in write_at()
Dahci_inode.rs123 buf: &mut [u8], in read_at()
142 buf: &[u8], in write_at()
Dmod.rs182 pub fn _port(ctrl_num: u8, port_num: u8) -> &'static mut HbaPort { in _port()
/DragonOS-0.1.5/kernel/src/driver/virtio/
Dvirtio_impl.rs57 fn share(buffer: NonNull<[u8]>, _direction: BufferDirection) -> PhysAddr { in share()
63 fn unshare(_paddr: PhysAddr, _buffer: NonNull<[u8]>, _direction: BufferDirection) { in unshare()
/DragonOS-0.1.5/kernel/src/driver/uart/
Duart.rs185 pub extern "C" fn c_uart_send(port: u16, c: u8) { in c_uart_send()
196 pub extern "C" fn c_uart_read(port: u16) -> u8 { in c_uart_read()
205 pub extern "C" fn c_uart_send_str(port: u16, str: *const u8) { in c_uart_send_str()
/DragonOS-0.1.5/kernel/src/filesystem/devfs/
Dnull_dev.rs118 buf: &mut [u8], in read_at()
137 buf: &[u8], in write_at()
Dzero_dev.rs118 buf: &mut [u8], in read_at()
137 buf: &[u8], in write_at()
Dmod.rs456 _buf: &mut [u8], in read_at()
467 _buf: &[u8], in write_at()
/DragonOS-0.1.5/kernel/src/driver/keyboard/
Dps2_keyboard.rs82 buf: &mut [u8], in read_at()
102 _buf: &[u8], in write_at()
/DragonOS-0.1.5/kernel/src/driver/timers/rtc/
Drtc.rs91 fn read_cmos(addr: u8) -> u8 { in read_cmos()
/DragonOS-0.1.5/kernel/src/filesystem/procfs/
Dmod.rs109 fn trim_string(&self, data: &mut Vec<u8>) { in trim_string()
199 buf: &mut [u8], in read_status()
367 buf: &mut [u8], in read_at()
414 _buf: &[u8], in write_at()
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/
Dmod.rs123 buf: &mut [u8], in read_at()
155 buf: &[u8], in write_at()
/DragonOS-0.1.5/kernel/src/driver/pci/
Dpci.rs78 pub fn capabilities_offset(device_function: DeviceFunction) -> Option<u8> { in capabilities_offset()
159 impl From<MemoryBarType> for u8 { implementation
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dmount.rs157 buf: &mut [u8], in read_at()
167 buf: &[u8], in write_at()
Dmod.rs121 buf: &mut [u8], in read_at()
138 buf: &[u8], in write_at()
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dentry.rs85 pub fn read(&self, fs: &Arc<FATFileSystem>, buf: &mut [u8], offset: u64) -> Result<usize, i32> { in read()
160 buf: &[u8], in write()
975 fn new(ord: u8, name_part: &[u16], check_sum: u8) -> Self { in new()
1260 fn checksum(&self) -> u8 { in checksum()
1878 fn copy_part(dest: &mut [u8], src: &str) -> (u8, bool, bool) { in copy_part()
2200 pub fn num_entries(&self) -> u8 { in num_entries()
Dfs.rs1349 buf: &mut [u8], in read_at()
1377 buf: &[u8], in write_at()
/DragonOS-0.1.5/kernel/src/io/
Ddevice.rs76 fn blk_size_log2(&self) -> u8; in blk_size_log2()