/DragonOS-0.1.5/user/libs/libc/ |
D | build.rs | 12 let out_path = PathBuf::from(String::from("src/include/internal/bindings/")); in main()
|
/DragonOS-0.1.5/kernel/ |
D | build.rs | 12 let out_path = PathBuf::from(String::from("src/include/bindings/")); in main()
|
/DragonOS-0.1.5/kernel/src/libs/ |
D | kfifo.c | 51 uint32_t kfifo_in(struct kfifo_t *fifo, const void *from, uint32_t size) in kfifo_in() argument 56 if (unlikely(from == NULL)) in kfifo_in() 63 memcpy(fifo->buffer + fifo->in_offset, from, tmp); in kfifo_in() 64 memcpy(fifo->buffer, from + tmp, size - tmp); in kfifo_in() 69 memcpy(fifo->buffer + fifo->in_offset, from, size); in kfifo_in()
|
D | printk.rs | 63 …$crate::libs::printk::PrintkWriter.__write_string((alloc::string::String::from("[ INFO ] ")+ alloc…
|
D | rwlock.rs | 255 fn from(data: T) -> Self { in from() method
|
/DragonOS-0.1.5/kernel/src/common/ |
D | kfifo.h | 99 uint32_t kfifo_in(struct kfifo_t *fifo, const void *from, uint32_t size); 130 uint32_t __always_inline kfifo_in_locked(struct kfifo_t *fifo, const void *from, uint32_t size, spi… in kfifo_in_locked() argument 133 uint32_t retval = kfifo_in(fifo, from, size); in kfifo_in_locked()
|
/DragonOS-0.1.5/kernel/src/process/ |
D | process.rs | 135 from: &'static process_control_block, in copy_files() 145 let old_fds: &mut FileDescriptorVec = if let Some(o_fds) = FileDescriptorVec::from_pcb(from) in copy_files() 279 from: &'static process_control_block, in process_copy_files() 281 let r = current_pcb().copy_files(clone_flags, from); in process_copy_files()
|
/DragonOS-0.1.5/kernel/src/filesystem/vfs/ |
D | mod.rs | 373 (ROOT_INODE().clone(), String::from(rest)) in lookup_follow_symlink() 376 (self.find(".")?, String::from(path)) in lookup_follow_symlink() 392 name = String::from(&rest_path[0..pos]); in lookup_follow_symlink() 394 rest_path = String::from(&rest_path[pos + 1..]); in lookup_follow_symlink() 416 let link_path = String::from( in lookup_follow_symlink()
|
/DragonOS-0.1.5/docs/kernel/ipc/ |
D | signal.md | 47 │ Return from syscall...│ │
|
/DragonOS-0.1.5/kernel/src/filesystem/ramfs/ |
D | mod.rs | 281 inode.children.insert(String::from(name), result.clone()); in create_with_data() 310 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link() 407 return Ok(String::from(".")); in get_entry_name() 410 return Ok(String::from("..")); in get_entry_name() 438 keys.push(String::from(".")); in list() 439 keys.push(String::from("..")); in list()
|
/DragonOS-0.1.5/docs/ |
D | make.bat | 23 echo.If you don't have Sphinx installed, grab it from
|
/DragonOS-0.1.5/kernel/src/filesystem/procfs/ |
D | mod.rs | 43 fn from(value: u8) -> Self { in from() method 523 inode.children.insert(String::from(name), result.clone()); in create_with_data() 552 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link() 618 return Ok(String::from(".")); in get_entry_name() 621 return Ok(String::from("..")); in get_entry_name() 649 keys.push(String::from(".")); in list() 650 keys.push(String::from("..")); in list()
|
/DragonOS-0.1.5/kernel/src/filesystem/devfs/ |
D | mod.rs | 314 guard.children.insert(String::from(_name), result.clone()); in do_create_with_data() 379 return Ok(String::from(".")); in get_entry_name() 382 return Ok(String::from("..")); in get_entry_name() 414 keys.push(String::from(".")); in list() 415 keys.push(String::from("..")); in list()
|
/DragonOS-0.1.5/kernel/src/driver/pci/ |
D | pci.rs | 160 fn from(bar_type: MemoryBarType) -> Self { in from() method 369 let mut address = u64::from(bar_orig & 0xfffffff0); in pci_bar_init() 385 address |= u64::from(address_top) << 32; in pci_bar_init()
|
/DragonOS-0.1.5/kernel/src/driver/virtio/ |
D | transport_pci.rs | 66 id if id >= PCI_DEVICE_ID_OFFSET => DeviceType::from(id - PCI_DEVICE_ID_OFFSET), in device_type() 268 let offset_bytes = usize::from(queue_notify_off) * self.notify_off_multiplier as usize; in notify() 467 fn from(error: PciError) -> Self { in from() method
|
/DragonOS-0.1.5/ |
D | LICENSE | 74 running the Program is not restricted, and the output from the Program 99 whole or in part contains or is derived from the Program or any 115 identifiable sections of that work are not derived from the Program, 167 access to copy from a designated place, then offering equivalent 168 access to copy the source code from the same place counts as 176 However, parties who have received copies, or rights, from you under 190 Program), the recipient automatically receives a license from the 201 excuse you from the conditions of this License. If you cannot 208 refrain entirely from distribution of the Program. 238 of the General Public License from time to time. Such new versions will
|
D | README.md | 134 - [skiftOS]([GitHub - skiftOS/skift: A hobby operating system built from scratch in modern C++. …
|
D | README_EN.md | 61 …en source public welfare project, but its development cannot be separated from the support of fund… 121 - [skiftOS]([GitHub - skiftOS/skift: A hobby operating system built from scratch in modern C++. …
|
/DragonOS-0.1.5/kernel/src/ipc/ |
D | signal.rs | 66 let sig: SignalNumber = SignalNumber::from(regs.r9 as i32); in sys_kill() 568 sig = SignalNumber::from(ffz(!x) + 1); in next_signal() 721 fn copy_siginfo_to_user(to: *mut siginfo, from: &siginfo) -> Result<i32, i32> { in copy_siginfo_to_user() 734 (*to)._sinfo.data._sifields._kill._pid = from._sinfo.data._sifields._kill._pid; in copy_siginfo_to_user() 863 let sig = SignalNumber::from(regs.r8 as i32); in sys_sigaction()
|
D | signal_types.rs | 345 fn from(value: i32) -> Self { in from() method 535 if sig_is_member(mask, SignalNumber::from(unsafe { x._sinfo.data.si_signo })) { in flush_by_mask()
|
/DragonOS-0.1.5/docs/kernel/core_api/ |
D | data_structures.md | 74 `uint32_t kfifo_in(struct kfifo_t *fifo, const void *from, uint32_t size)` 86 **from**
|
/DragonOS-0.1.5/kernel/src/filesystem/fat/ |
D | fs.rs | 623 dir_name: String::from("/"), in root_dir() 631 dir_name: String::from("/"), in root_dir() 1588 return Ok(String::from(".")); in get_entry_name() 1591 return Ok(String::from("..")); in get_entry_name()
|
D | entry.rs | 1613 return String::from("/"); in short_name()
|