Home
last modified time | relevance | path

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

/DragonOS/kernel/src/syscall/
H A Duser_access.rs101 let cstr = CString::from(buffer); in check_and_clone_cstr() localVariable
103 return Ok(cstr); in check_and_clone_cstr()
/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs887 let get_path = |cstr: *const u8| -> Result<String, SystemError> { in link()
888 let res = check_and_clone_cstr(cstr, Some(MAX_PATHLEN))? in link()