Lines Matching refs:bridge
264 bool AddBridgePoll(FuseBridgeEntry* bridge) const { in AddBridgePoll()
265 return InvokeControl(EPOLL_CTL_ADD, bridge); in AddBridgePoll()
268 bool UpdateOrDeleteBridgePoll(FuseBridgeEntry* bridge) const { in UpdateOrDeleteBridgePoll()
270 bridge->state_ != FuseBridgeState::kClosing ? EPOLL_CTL_MOD : EPOLL_CTL_DEL, bridge); in UpdateOrDeleteBridgePoll()
290 bool InvokeControl(int op, FuseBridgeEntry* bridge) const { in InvokeControl()
291 LOG(VERBOSE) << "InvokeControl op=" << op << " bridge=" << bridge->mount_id_ in InvokeControl()
292 << " state=" << static_cast<int>(bridge->state_) in InvokeControl()
293 << " last_state=" << static_cast<int>(bridge->last_state_); in InvokeControl()
299 GetObservedEvents(bridge->last_state_, &last_device_events, &last_proxy_events); in InvokeControl()
300 GetObservedEvents(bridge->state_, &device_events, &proxy_events); in InvokeControl()
303 result &= EpollController::InvokeControl(op, bridge->device_fd_, device_events, in InvokeControl()
304 &bridge->last_device_events_); in InvokeControl()
307 result &= EpollController::InvokeControl(op, bridge->proxy_fd_, proxy_events, in InvokeControl()
308 &bridge->last_proxy_events_); in InvokeControl()
329 std::unique_ptr<FuseBridgeEntry> bridge( in AddBridge() local
340 if (!epoll_controller_->AddBridgePoll(bridge.get())) { in AddBridge()
344 bridges_.emplace(mount_id, std::move(bridge)); in AddBridge()