Lines Matching refs:lock
269 let mut root_guard: SpinLockGuard<ProcFSInode> = result.root_inode.0.lock(); in new()
293 _sf.0.lock().fdata.pid = pid; in register_pid()
294 _sf.0.lock().fdata.ftype = ProcFileType::ProcStatus; in register_pid()
324 let mut inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in open()
346 let guard: SpinLockGuard<ProcFSInode> = self.0.lock(); in close()
374 let inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in read_at()
422 let inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in poll()
435 return self.0.lock().fs.upgrade().unwrap(); in fs()
443 let inode = self.0.lock(); in metadata()
450 let mut inode = self.0.lock(); in set_metadata()
462 let mut inode = self.0.lock(); in resize()
479 let mut inode = self.0.lock(); in create_with_data()
520 result.0.lock().self_ref = Arc::downgrade(&result); in create_with_data()
532 let mut inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in link()
533 let mut other_locked: SpinLockGuard<ProcFSInode> = other.0.lock(); in link()
560 let mut inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in unlink()
573 to_delete.0.lock().metadata.nlinks -= 1; in unlink()
589 let inode = self.0.lock(); in find()
611 let inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in get_entry_name()
629 .filter(|k| inode.children.get(*k).unwrap().0.lock().metadata.inode_id == ino) in get_entry_name()
651 keys.append(&mut self.0.lock().children.keys().cloned().collect()); in list()