Home
last modified time | relevance | path

Searched refs:mount_id (Results 1 – 2 of 2) sorted by relevance

/system/core/libappfuse/
DFuseBridgeLoop.cc70 FuseBridgeEntry(int mount_id, base::unique_fd&& dev_fd, base::unique_fd&& proxy_fd) in FuseBridgeEntry() argument
71 : mount_id_(mount_id), in FuseBridgeEntry()
129 int mount_id() const { return mount_id_; } in mount_id() function in android::fuse::FuseBridgeEntry
326 bool FuseBridgeLoop::AddBridge(int mount_id, base::unique_fd dev_fd, base::unique_fd proxy_fd) { in AddBridge() argument
327 LOG(VERBOSE) << "Adding bridge " << mount_id; in AddBridge()
330 new FuseBridgeEntry(mount_id, std::move(dev_fd), std::move(proxy_fd))); in AddBridge()
336 if (bridges_.count(mount_id)) { in AddBridge()
344 bridges_.emplace(mount_id, std::move(bridge)); in AddBridge()
356 const int mount_id = entry->mount_id(); in ProcessEventLocked() local
357 bridges_.erase(mount_id); in ProcessEventLocked()
[all …]
/system/core/libappfuse/include/libappfuse/
DFuseBridgeLoop.h34 virtual void OnMount(int mount_id) = 0;
35 virtual void OnClosed(int mount_id) = 0;
51 bool AddBridge(int mount_id, base::unique_fd dev_fd, base::unique_fd proxy_fd);