Lines Matching refs:name
52 fn name(&self) -> &str { in name() method
104 name: String::from(""), in create_root_inode()
139 name: String, field
225 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
226 if unlikely(name.len() > KernFS::MAX_NAMELEN) { in find()
232 match name { in find()
245 name => { in find()
250 .get(name) in find()
273 let name = self.get_entry_name(ino)?; in get_entry_name_and_metadata() localVariable
274 let entry = self.find(&name)?; in get_entry_name_and_metadata()
275 return Ok((name, entry.metadata()?)); in get_entry_name_and_metadata()
390 name: String, in new()
400 name, in new()
450 name: String, in add_dir()
459 return self.inner_create(name, KernInodeType::Dir, mode, 0, private_data, callback); in add_dir()
481 name: String, in add_file()
493 name, in add_file()
504 name: String, in inner_create()
537 name.clone(), in inner_create()
544 self.children.lock().insert(name, new_inode.clone()); in inner_create()
562 pub fn remove(&self, name: &str) -> Result<(), SystemError> { in remove()
568 let inode = children.get(name).ok_or(SystemError::ENOENT)?; in remove()
570 children.remove(name); in remove()
590 name: String, in add_link()
596 name, in add_link()
609 pub fn name(&self) -> &str { in name() method
610 return &self.name; in name()
639 parent.children.lock().remove(self.name()); in remove_inode_include_self()