Searched refs:downgrade (Results 1 – 17 of 17) sorted by relevance
111 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T>124 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T>163 let read_guard=guard.downgrade();189 let read_guard=downgraded_guard.downgrade();
104 root_guard.parent = Arc::downgrade(&sysfs.root_inode); in new()105 root_guard.self_ref = Arc::downgrade(&sysfs.root_inode); in new()106 root_guard.fs = Arc::downgrade(&sysfs); in new()327 result.0.lock().self_ref = Arc::downgrade(&result); in do_create_with_data()
106 root_guard.parent = Arc::downgrade(&result.root_inode); in new()107 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()108 root_guard.fs = Arc::downgrade(&result); in new()274 result.0.lock().self_ref = Arc::downgrade(&result); in create_with_data()
62 root_guard.parent = Arc::downgrade(&devfs.root_inode); in new()63 root_guard.self_ref = Arc::downgrade(&devfs.root_inode); in new()64 root_guard.fs = Arc::downgrade(&devfs); in new()330 result.0.lock().self_ref = Arc::downgrade(&result); in do_create_with_data()
55 result.0.lock().self_ref = Arc::downgrade(&result); in new()
79 jieffies.0.lock().self_ref = Arc::downgrade(&jieffies); in new()
79 result.0.lock().self_ref = Arc::downgrade(&result); in new()
58 let weak: Weak<MountFS> = Arc::downgrade(&mount_fs); in wrap()92 let weak: Weak<MountFSInode> = Arc::downgrade(&inode); in wrap()
272 root_guard.parent = Arc::downgrade(&result.root_inode); in new()273 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()274 root_guard.fs = Arc::downgrade(&result); in new()520 result.0.lock().self_ref = Arc::downgrade(&result); in create_with_data()
61 result.0.lock().self_ref = Arc::downgrade(&result); in new()
381 let weak_this: Weak<LockedAhciDisk> = Arc::downgrade(&result); // 获取this的弱指针 in new()
355 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade() method408 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade() method
74 result.0.write().self_ref = Arc::downgrade(&result); in new()
67 guard.self_ref = Arc::downgrade(&result); in new()
176 fs: Arc::downgrade(&fs), in new()200 inode.0.lock().self_ref = Arc::downgrade(&inode); in new()330 root_guard.parent = Arc::downgrade(&result.root_inode); in new()331 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()332 root_guard.fs = Arc::downgrade(&result); in new()
806 r.0.lock().self_ref = Arc::downgrade(&r); in new()