Home
last modified time | relevance | path

Searched defs:path (Results 1 – 15 of 15) sorted by relevance

/DragonOS-0.1.9/kernel/src/libs/intertrait/macros/src/
Ditem_impl.rs33 let path = fully_bound_trait(path, items); in process() localVariable
61 let mut path = path.clone(); in fully_bound_trait() localVariable
/DragonOS-0.1.9/user/apps/http_server/
Dmain.c20 int security_check(char *path) in security_check()
35 void send_header(int sockfd, int content_length, char *path) in send_header()
72 void send_file(int sockfd, char *path) in send_file()
121 char path[MAX_REQUEST_SIZE]; in handle_request() local
/DragonOS-0.1.9/kernel/src/syscall/
Dmod.rs93 let path: &CStr = unsafe { CStr::from_ptr(args[0] as *const c_char) }; in handle() localVariable
94 let path: Result<&str, core::str::Utf8Error> = path.to_str(); in handle() localVariable
98 let path: &str = path.unwrap(); in handle() localVariable
112 let path: &CStr = unsafe { CStr::from_ptr(args[1] as *const c_char) }; in handle() localVariable
116 let path: Result<&str, core::str::Utf8Error> = path.to_str(); in handle() localVariable
120 let path: &str = path.unwrap(); in handle() localVariable
324 let path: &CStr = unsafe { CStr::from_ptr(path_ptr) }; in handle() localVariable
325 let path: &str = path.to_str().map_err(|_| SystemError::EINVAL)?.trim(); in handle() localVariable
333 let path = security_check(); in handle() localVariable
706 let path = args[0]; in handle() localVariable
[all …]
/DragonOS-0.1.9/kernel/src/init/
Dinitial_kthread.rs63 let path = String::from("/bin/dragonreach"); in switch_to_user() localVariable
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dopen.rs37 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))?; in do_faccessat() localVariable
53 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))?; in do_fchmodat() localVariable
Dsyscall.rs435 let path = dest_path.to_string(); in chdir() localVariable
883 let path = core::str::from_utf8(buf).map_err(|_| SystemError::EINVAL)?; in mknod() localVariable
937 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))?; in readlink_at() localVariable
/DragonOS-0.1.9/build-scripts/kernel_build/src/kconfig/
Dmod.rs138 let path = PathBuf::from(module.get("path").unwrap().as_str().unwrap()); in include() localVariable
152 path: PathBuf, field
166 pub fn path(&self) -> PathBuf { in path() method
/DragonOS-0.1.9/build-scripts/kernel_build/src/utils/
Dmod.rs21 let path = queue.pop().unwrap(); in list_all_files() localVariable
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/
Ddir.rs104 let mut path = String::new(); in kernfs_path() localVariable
Dfile.rs127 let path = self.kernfs_path(parent); in add_file_with_mode() localVariable
245 let path = self.kernfs_path(parent); in add_bin_file_with_mode() localVariable
Dmod.rs223 let path = self.kernfs_path(parent); in warn_duplicate() localVariable
/DragonOS-0.1.9/kernel/src/arch/x86_64/syscall/
Dmod.rs141 let path = String::from("/bin/shell.elf"); in rs_exec_init_process() localVariable
/DragonOS-0.1.9/kernel/src/driver/firmware/efi/
Dfdt.rs92 path: &'static str, field
/DragonOS-0.1.9/kernel/src/process/
Dsyscall.rs72 let path: String = check_and_clone_cstr(path, Some(MAX_PATHLEN))?; in execve() localVariable
/DragonOS-0.1.9/kernel/src/common/
Dhid.h102 struct hid_path_t path; // hid path member