/DragonOS/user/apps/test-chown/src/ |
H A D | main.rs | 18 fn print_file_owner_group(filename: &str) -> Result<(), Error> { in print_file_owner_group() 19 let metadata = std::fs::metadata(filename)?; in print_file_owner_group() 30 fn test_fchownat(filename: &str, new_uid: uid_t, new_gid: gid_t, flags: i32) -> Result<(), Error> { in test_fchownat() 31 let c_filename = CString::new(filename)?; in test_fchownat() 37 print_file_owner_group(filename)?; in test_fchownat() 41 fn test_chown(filename: &str, new_uid: uid_t, new_gid: gid_t) -> Result<(), Error> { in test_chown() 42 let c_filename = CString::new(filename)?; in test_chown() 48 print_file_owner_group(filename)?; in test_chown() 75 let filename = "/mnt/myramfs/testfile.txt"; in main() localVariable 91 let mut file = File::create(filename)?; in main() [all …]
|
/DragonOS/kernel/crates/rbpf/examples/ |
H A D | to_json.rs | 58 let filename = "examples/load_elf__block_a_port.elf"; in main() localVariable 60 let path = PathBuf::from(filename); in main()
|
H A D | load_elf.rs | 51 let filename = "examples/load_elf__block_a_port.elf"; in main() localVariable 53 let path = PathBuf::from(filename); in main()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | core.rs | 192 let (filename, parent_path) = rsplit_path(&remain_path); in do_remove_dir() 195 if filename == "." { in do_remove_dir() 208 let target_inode = parent_inode.find(filename)?; in do_remove_dir() 214 parent_inode.rmdir(filename)?; in do_remove_dir() 240 let (filename, parent_path) = rsplit_path(&remain_path); in do_unlink_at() 250 parent_inode.unlink(filename)?; in do_unlink_at()
|
H A D | open.rs | 190 let (filename, parent_path) = rsplit_path(&path); in do_sys_openat2() 196 filename, in do_sys_openat2()
|
H A D | mount.rs | 496 filename: &str, in mknod() 500 let inner_inode = self.inner_inode.mknod(filename, mode, dev_t)?; in mknod()
|
H A D | syscall.rs | 1523 let (filename, parent_path) = rsplit_path(path); in mknod() 1529 parent_inode.mknod(filename, mode, dev_t)?; in mknod()
|
/DragonOS/kernel/src/driver/acpi/ |
H A D | sysfs.rs | 154 filename: String, field 163 filename: "".to_string(), in new() 193 r.filename = format!("{}{}", r.name, r.instance); in new() 195 r.filename = r.name.clone(); in new() 217 return &self.filename; in name()
|
/DragonOS/docs/kernel/debug/ |
H A D | debug-kernel-with-gdb.md | 328 list <filename>:<function> #显示<filename>文件里面的<funtion>函数的源代码片段 329 list <filename>:<line_number> #显示<filename>文件里面的<line_number>附近的源代码片段
|
/DragonOS/kernel/src/filesystem/ramfs/ |
H A D | mod.rs | 566 filename: &str, in mknod() 578 return self.create(filename, FileType::File, mode); in mknod() 581 let filename = DName::from(filename); in mknod() localVariable 606 name: filename.clone(), in mknod() 625 inode.children.insert(filename, nod.clone()); in mknod()
|
/DragonOS/kernel/src/filesystem/overlayfs/ |
H A D | mod.rs | 421 filename: &str, in mknod() 427 inode.mknod(filename, mode, dev_t) in mknod()
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | fs.rs | 1794 filename: &str, in mknod() 1806 return self.create(filename, FileType::File, mode); in mknod() 1809 let dname = DName::from(filename); in mknod() 1833 inode.children.insert(to_search_name(filename), nod.clone()); in mknod()
|
/DragonOS/kernel/crates/rbpf/ |
H A D | README.md | 404 let filename = "examples/load_elf__block_a_port.elf"; 406 let path = PathBuf::from(filename);
|