Searched refs:downgrade (Results 1 – 15 of 15) 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()325 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()
58 let weak: Weak<MountFS> = Arc::downgrade(&mount_fs); in wrap()92 let weak: Weak<MountFSInode> = Arc::downgrade(&inode); in wrap()
269 root_guard.parent = Arc::downgrade(&result.root_inode); in new()270 root_guard.self_ref = Arc::downgrade(&result.root_inode); in new()271 root_guard.fs = Arc::downgrade(&result); in new()517 result.0.lock().self_ref = Arc::downgrade(&result); in create_with_data()
61 result.0.lock().self_ref = Arc::downgrade(&result); in new()
333 let weak_this: Weak<LockedAhciDisk> = Arc::downgrade(&result); // 获取this的弱指针 in new()
314 pub fn downgrade(self) -> RwLockReadGuard<'rwlock, T> { in downgrade() method353 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()
71 result.0.lock().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()