Lines Matching refs:guard
297 let guard: SpinLockGuard<DevFSInode> = self.0.lock(); in add_dir() localVariable
299 if guard.children.contains_key(&DName::from(name)) { in add_dir()
304 guard, in add_dir()
344 mut guard: SpinLockGuard<DevFSInode>, in do_create_with_data()
350 if guard.metadata.file_type != FileType::Dir { in do_create_with_data()
355 if guard.children.contains_key(&name) { in do_create_with_data()
361 parent: guard.self_ref.clone(), in do_create_with_data()
380 fs: guard.fs.clone(), in do_create_with_data()
388 guard.children.insert(name, result.clone()); in do_create_with_data()
418 let guard: SpinLockGuard<DevFSInode> = self.0.lock(); in create_with_data() localVariable
420 return self.do_create_with_data(guard, name, file_type, mode, data); in create_with_data()