Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dcore.rs215 let (filename, parent_path) = rsplit_path(path); in do_mkdir()
221 parent_inode.create(filename, FileType::Dir, 0o777)?; in do_mkdir()
248 let (filename, parent_path) = rsplit_path(path); in do_remove_dir()
256 let target_inode: Arc<dyn IndexNode> = parent_inode.find(filename)?; in do_remove_dir()
262 parent_inode.rmdir(filename)?; in do_remove_dir()
288 let (filename, parent_path) = rsplit_path(path); in do_unlink_at()
297 parent_inode.unlink(filename)?; in do_unlink_at()
DVFS.h172 long (*hash)(struct vfs_dir_entry_t *dEntry, char *filename);
Dsyscall.rs145 let (filename, parent_path) = rsplit_path(path); in open()
151 parent_inode.create(filename, FileType::File, 0o777)?; in open()
/DragonOS-0.1.8/user/apps/shell/
Dcmd.c51 static char *get_target_filepath(const char *filename, int *result_path_len) in get_target_filepath() argument
54 if (filename[0] != '/') in get_target_filepath()
59 *result_path_len = cwd_len + strlen(filename); in get_target_filepath()
72 strcat(file_path, filename); in get_target_filepath()
76 *result_path_len = strlen(filename); in get_target_filepath()
81 strncpy(file_path, filename, *result_path_len); in get_target_filepath()
82 if (filename[(*result_path_len) - 1] != '/') in get_target_filepath()
/DragonOS-0.1.8/kernel/src/process/
Dprocess.c51 extern uint64_t rs_do_execve(const char *filename, const char *const argv[], const char *const envp…