Lines Matching refs:pathname
670 let pathname = args[1] as *const c_char; in handle() localVariable
672 let virt_pathname = VirtAddr::new(pathname as usize); in handle()
675 } else if pathname.is_null() { in handle()
679 let pathname: &CStr = unsafe { CStr::from_ptr(pathname) }; in handle() localVariable
681 let pathname: &str = pathname.to_str().map_err(|_| SystemError::EINVAL)?; in handle() localVariable
682 if pathname.len() >= MAX_PATHLEN { in handle()
685 return Ok(pathname.trim()); in handle()
687 let pathname = get_path(); in handle() localVariable
688 if pathname.is_err() { in handle()
689 Err(pathname.unwrap_err()) in handle()
692 Self::unlinkat(dirfd, pathname.unwrap(), flags) in handle()