/DragonOS-0.1.5/kernel/src/mm/ |
D | allocator.rs | 8 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/ |
D | vec_cursor.rs | 38 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()
|
D | printk.rs | 115 pub fn __utf8_to_ascii(&self, s: &str) -> Vec<u8> { in __utf8_to_ascii()
|
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/ |
D | ahcidisk.rs | 56 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()
|
D | ahci_inode.rs | 123 buf: &mut [u8], in read_at() 142 buf: &[u8], in write_at()
|
D | mod.rs | 182 pub fn _port(ctrl_num: u8, port_num: u8) -> &'static mut HbaPort { in _port()
|
/DragonOS-0.1.5/kernel/src/driver/virtio/ |
D | virtio_impl.rs | 57 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/ |
D | uart.rs | 185 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/ |
D | null_dev.rs | 118 buf: &mut [u8], in read_at() 137 buf: &[u8], in write_at()
|
D | zero_dev.rs | 118 buf: &mut [u8], in read_at() 137 buf: &[u8], in write_at()
|
D | mod.rs | 456 _buf: &mut [u8], in read_at() 467 _buf: &[u8], in write_at()
|
/DragonOS-0.1.5/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 82 buf: &mut [u8], in read_at() 102 _buf: &[u8], in write_at()
|
/DragonOS-0.1.5/kernel/src/driver/timers/rtc/ |
D | rtc.rs | 91 fn read_cmos(addr: u8) -> u8 { in read_cmos()
|
/DragonOS-0.1.5/kernel/src/filesystem/procfs/ |
D | mod.rs | 109 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/ |
D | mod.rs | 123 buf: &mut [u8], in read_at() 155 buf: &[u8], in write_at()
|
/DragonOS-0.1.5/kernel/src/driver/pci/ |
D | pci.rs | 78 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/ |
D | mount.rs | 157 buf: &mut [u8], in read_at() 167 buf: &[u8], in write_at()
|
D | mod.rs | 121 buf: &mut [u8], in read_at() 138 buf: &[u8], in write_at()
|
/DragonOS-0.1.5/kernel/src/filesystem/fat/ |
D | entry.rs | 85 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()
|
D | fs.rs | 1349 buf: &mut [u8], in read_at() 1377 buf: &[u8], in write_at()
|
/DragonOS-0.1.5/kernel/src/io/ |
D | device.rs | 76 fn blk_size_log2(&self) -> u8; in blk_size_log2()
|