/DragonOS-0.1.9/kernel/src/libs/ |
D | printk.rs | 38 …$crate::libs::printk::Logger.log(7,format_args!("({}:{})\t {}\n", file!(), line!(),format_args!($(… 39 …printk::PrintkWriter.__write_fmt(format_args!("[ DEBUG ] ({}:{})\t {}\n", file!(), line!(),format_… 46 …$crate::libs::printk::Logger.log(6,format_args!("({}:{})\t {}\n", file!(), line!(),format_args!($(… 47 …$crate::libs::printk::PrintkWriter.__write_fmt(format_args!("[ INFO ] ({}:{})\t {}\n", file!(), li… 54 …$crate::libs::printk::Logger.log(4,format_args!("({}:{})\t {}\n", file!(), line!(),format_args!($(… 56 …$crate::libs::printk::PrintkWriter.__write_fmt(format_args!("({}:{})\t {}\n", file!(), line!(),for… 63 …$crate::libs::printk::Logger.log(3,format_args!("({}:{})\t {}\n", file!(), line!(),format_args!($(… 65 …$crate::libs::printk::PrintkWriter.__write_fmt(format_args!("({}:{})\t {}\n", file!(), line!(),for… 72 …$crate::libs::printk::Logger.log(1,format_args!("({}:{})\t {}\n", file!(), line!(),format_args!($(… 74 …$crate::libs::printk::PrintkWriter.__write_fmt(format_args!("({}:{})\t {}\n", file!(), line!(),for…
|
D | elf.rs | 12 file::FileHeader, 20 filesystem::vfs::file::File, 64 if ehdr.class != elf::file::Class::ELF64 { in inner_probe_common() 332 let file = param.file_mut(); in do_load_file() localVariable 333 if (file.metadata()?.size as usize) < offset_in_file + size { in do_load_file() 341 file.lseek(SeekFrom::SeekSet(offset_in_file as i64))?; in do_load_file() 345 file.read(read_size, &mut buf[..read_size])?; in do_load_file() 380 ehdr: &elf::file::FileHeader<AnyEndian>, in create_auxv() 405 let ident = elf::file::parse_ident::<AnyEndian>(ident_buf)?; in parse_ehdr() 409 elf::file::Class::ELF32 => tail_start + elf::file::ELF32_EHDR_TAILSIZE, in parse_ehdr() [all …]
|
/DragonOS-0.1.9/kernel/src/filesystem/vfs/ |
D | syscall.rs | 12 filesystem::vfs::file::FileDescriptorVec, 27 file::{File, FileMode}, 294 let file = fd_table_guard in ioctl() localVariable 300 let file = file.lock_no_preempt(); in ioctl() localVariable 301 let r = file.inode().ioctl(cmd, data, &file.private_data); in ioctl() 316 let file = fd_table_guard.get_file_by_fd(fd); in read() localVariable 317 if file.is_none() { in read() 322 let file = file.unwrap(); in read() localVariable 324 return file.lock_no_preempt().read(buf.len(), buf); in read() 338 let file = fd_table_guard in write() localVariable [all …]
|
D | open.rs | 11 file::{File, FileMode}, 136 let mut file: File = File::new(inode, how.o_flags)?; in do_sys_openat2() localVariable 140 file.lseek(SeekFrom::SeekEnd(0))?; in do_sys_openat2() 148 file.ftruncate(0)?; in do_sys_openat2() 154 .alloc_fd(file, None) in do_sys_openat2()
|
D | file.rs | 560 if let Some(file) = &self.fds[i] { in clone() 561 if let Some(file) = file.lock().try_clone() { in clone() 562 res.fds[i] = Some(Arc::new(SpinLock::new(file))); in clone() 594 pub fn alloc_fd(&mut self, file: File, fd: Option<i32>) -> Result<i32, SystemError> { in alloc_fd() 600 *x = Some(Arc::new(SpinLock::new(file))); in alloc_fd() 609 self.fds[i] = Some(Arc::new(SpinLock::new(file))); in alloc_fd() 643 let file = self.fds[fd as usize].take().unwrap(); in drop_fd() localVariable 645 assert!(Arc::strong_count(&file) == 1); in drop_fd() 656 if let Some(file) = &self.fds[i] { in close_on_exec() 657 let to_drop = file.lock().close_on_exec(); in close_on_exec() [all …]
|
D | utils.rs | 49 let file = fd_table_guard in user_path_at() localVariable 56 let file_guard = file.lock(); in user_path_at()
|
D | mod.rs | 3 pub mod file; module 23 use self::{core::generate_inode_id, file::FileMode, syscall::ModeType}; 24 pub use self::{core::ROOT_INODE, file::FilePrivateData, mount::MountFS};
|
/DragonOS-0.1.9/docs/kernel/filesystem/vfs/ |
D | design.md | 27 … MountFS │ Maintain the mount tree and handle the mounting of file systems. │ 28 … │ │ In particular, it handles the "crossing file system boundaries" condition │ 37 xxxFSInode │ Implement corresponding operations based on different file systems │
|
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/ |
D | mod.rs | 3 use self::{dir::SysKernDirPriv, file::SysKernFilePriv}; 19 pub mod file; module 71 SysFSKernPrivateData::File(file) => { in callback_read() 72 let len = file.callback_read(buf, offset)?; in callback_read() 85 SysFSKernPrivateData::File(file) => { in callback_write() 86 return file.callback_write(buf, offset); in callback_write()
|
/DragonOS-0.1.9/tools/ |
D | write_disk_image.sh | 44 GRUB_PATH_I386_LEGACY_FILE=${GRUB_ABS_PREFIX}/arch/i386/legacy/grub/bin/grub-file 51 for file in ${bins[*]};do 52 if [ ! -x $file ]; then 53 echo "$file 不存在!"
|
D | .gdbinit | 2 file bin/kernel/kernel.elf
|
/DragonOS-0.1.9/kernel/src/net/event_poll/ |
D | mod.rs | 16 file::{File, FileMode}, 79 file: Weak<SpinLock<File>>, field 87 file: Weak<SpinLock<File>>, in new() 93 file, in new() 105 pub fn file(&self) -> Weak<SpinLock<File>> { in file() method 106 self.file.clone() in file() 115 let file = self.file.upgrade(); in ep_item_poll() localVariable 116 if file.is_none() { in ep_item_poll() 119 if let Ok(events) = file.unwrap().lock_irqsave().poll() { in ep_item_poll() 199 let file = ProcessManager::current_pcb() in close() localVariable [all …]
|
/DragonOS-0.1.9/user/apps/test_sqlite3/ |
D | main.c | 77 void file() in file() function 97 file(); in main()
|
/DragonOS-0.1.9/tools/qemu/ |
D | ifup-nat | 56 --conf-file="" \ 57 --pid-file=/var/run/qemu-dhcp-$BRIDGE.pid \
|
/DragonOS-0.1.9/docs/ |
D | index.rst | 1 .. DragonOS documentation master file, created by 3 You can adapt this file completely to your liking, but it should at least
|
D | make.bat | 5 REM Command file for Sphinx documentation
|
/DragonOS-0.1.9/kernel/src/process/ |
D | exec.rs | 9 file::{File, FileMode}, 97 file: File, field 123 let file = File::new(inode, FileMode::O_RDONLY)?; in new() localVariable 126 file, in new() 159 &mut self.file in file_mut()
|
D | process.rs | 5 file::{File, FileMode},
|
/DragonOS-0.1.9/ |
D | .readthedocs.yaml | 1 # Read the Docs configuration file for Sphinx projects 2 # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
/DragonOS-0.1.9/kernel/src/virt/kvm/ |
D | kvm_dev.rs | 5 file::{File, FileMode}, 184 let file: File = File::new(vm_inode, FileMode::O_RDWR)?; in kvm_dev_ioctl_create_vm() localVariable 188 .alloc_fd(file, None) in kvm_dev_ioctl_create_vm()
|
D | vm_dev.rs | 5 file::{File, FileMode}, 220 let file: File = File::new(vcpu_inode, FileMode::O_RDWR)?; in kvm_vm_ioctl_create_vcpu() localVariable 224 .alloc_fd(file, None) in kvm_vm_ioctl_create_vcpu()
|
/DragonOS-0.1.9/docs/kernel/debug/ |
D | debug-kernel-with-gdb.md | 75 determining executable automatically. Try using the "file" command. 90 determining executable automatically. Try using the "file" command. 121 b <file>:<line_number> #在对应文件的相应行号打断点 145 Breakpoint 12 at 0xffff8000001f8f16: file /home/heyicong/.cargo/registry/src/mirrors.tuna.tsinghua.… 174 clear <file> # 清除指定文件的所有断点与监视点
|
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/monitor/ |
D | mm.rs | 157 let mut file: File; in run() localVariable 161 file = f.unwrap(); in run() 168 file in run()
|
/DragonOS-0.1.9/build-scripts/kernel_build/src/kconfig/ |
D | mod.rs | 47 let mut file = fs::File::create("D.config").expect("Failed to create file: D.config"); in make_compile_cfg() localVariable 48 file.write_all(cfg_content.as_bytes()) in make_compile_cfg()
|
/DragonOS-0.1.9/kernel/src/filesystem/fat/ |
D | entry.rs | 1207 let mut file: FATFile = FATFile::default(); in to_dir_entry() localVariable 1209 file.file_name = self.name_to_string(); in to_dir_entry() 1210 file.first_cluster = first_cluster; in to_dir_entry() 1211 file.short_dir_entry = self.clone(); in to_dir_entry() 1212 file.loc = (loc, loc); in to_dir_entry() 1216 return FATDirEntry::File(file); in to_dir_entry() 1218 return FATDirEntry::VolId(file); in to_dir_entry() 1249 let mut file = FATFile::default(); in to_dir_entry_with_long_name() localVariable 1251 file.first_cluster = first_cluster; in to_dir_entry_with_long_name() 1252 file.file_name = name; in to_dir_entry_with_long_name() [all …]
|