Lines Matching refs:str
186 name: &str, in create() argument
205 _name: &str, in create_with_data() argument
221 fn link(&self, _name: &str, _other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() argument
232 fn unlink(&self, _name: &str) -> Result<(), SystemError> { in unlink()
243 fn rmdir(&self, _name: &str) -> Result<(), SystemError> { in rmdir()
259 _old_name: &str, in move_() argument
261 _new_name: &str, in move_() argument
273 fn find(&self, _name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
362 pub fn lookup(&self, path: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in lookup()
375 path: &str, in lookup_follow_symlink() argument
430 ::core::str::from_utf8(&content[..len]).map_err(|_| SystemError::ENOTDIR)?, in lookup_follow_symlink()