Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/syscall/
Dmod.rs227 let path_ptr = arg0 as *const c_char; in handle() localVariable
228 let virt_addr = VirtAddr::new(path_ptr as usize); in handle()
230 if path_ptr.is_null() in handle()
236 let dest_path: &CStr = unsafe { CStr::from_ptr(path_ptr) }; in handle()
275 let path_ptr = args[0]; in handle() localVariable
278 let virt_path_ptr = VirtAddr::new(path_ptr); in handle()
290 path_ptr as *const u8, in handle()
314 let path_ptr = args[0] as *const c_char; in handle() localVariable
316 let virt_path_ptr = VirtAddr::new(path_ptr as usize); in handle()
318 if path_ptr.is_null() in handle()
[all …]
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dsyscall.rs875 path_ptr: *const i8, in mknod()
880 let len = unsafe { CStr::from_ptr(path_ptr).to_bytes().len() }; in mknod()
881 let user_buffer = UserBufferReader::new(path_ptr, len, true)?; in mknod()