Home
last modified time | relevance | path

Searched refs:path_ptr (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs515 let path_ptr = arg0 as *const c_char; in handle() localVariable
516 let virt_addr = VirtAddr::new(path_ptr as usize); in handle()
518 if path_ptr.is_null() in handle()
523 let dest_path: &CStr = unsafe { CStr::from_ptr(path_ptr) }; in handle()
564 let path_ptr = args[0]; in handle() localVariable
567 let virt_path_ptr = VirtAddr::new(path_ptr); in handle()
579 path_ptr as *const c_void, in handle()
609 let path_ptr = args[0] as *const c_char; in handle() localVariable
611 let virt_path_ptr = VirtAddr::new(path_ptr as usize); in handle()
613 if path_ptr.is_null() in handle()
[all …]
/DragonOS-0.1.8/kernel/src/arch/x86_64/
Dsyscall.rs71 let path_ptr = args[0]; in syscall_handler() localVariable
77 && (verify_area(VirtAddr::new(path_ptr), MAX_PATHLEN).is_err() in syscall_handler()
87 path_ptr as *const u8, in syscall_handler()