Home | History | Annotate | Download | only in flip_server

Lines Matching refs:CBAndEventMask

33 //   CBAndEventMask struct. This enables O(1) lookup in the list for a given
35 // and keep a list::iterator in CBAndEventMask to achieve the same effect.
41 // of link pointers makes it easier to retrieve the CBAndEventMask from the
42 // list, easier to check whether an CBAndEventMask is in the list, uses less
45 // - Embed the fd directly into CBAndEventMask and switch to using hash_set.
167 inline void EpollServer::AddToReadyList(CBAndEventMask* cb_and_mask) {
175 const CBAndEventMask& cb_and_mask) {
193 FDToCBMap::iterator fd_i = cb_map_.find(CBAndEventMask(NULL, 0, fd));
214 cb_map_.insert(CBAndEventMask(cb, event_mask, fd));
271 FDToCBMap::iterator fd_i = cb_map_.find(CBAndEventMask(NULL, 0, fd));
287 // OnEvent. Since the EpollServer needs a valid CBAndEventMask after OnEvent
297 // figuring out whether the CBAndEventMask is valid or not.
328 FDToCBMap::iterator fd_i = cb_map_.find(CBAndEventMask(NULL, 0, fd));
337 CBAndEventMask* cb_and_mask = const_cast<CBAndEventMask*>(&*fd_i);
413 FDToCBMap::iterator fd_i = cb_map_.find(CBAndEventMask(NULL, 0, fd));
419 CBAndEventMask* cb_and_mask = const_cast<CBAndEventMask*>(&*fd_i);
434 FDToCBMap::iterator fd_i = cb_map_.find(CBAndEventMask(NULL, 0, fd));
441 FDToCBMap::const_iterator fd_i = cb_map_.find(CBAndEventMask(NULL, 0, fd));
449 CBAndEventMask* cur = ready_list_.lh_first;
610 FDToCBMap::iterator fd_i = cb_map_.find(CBAndEventMask(NULL, 0, fd));
702 CBAndEventMask* cb_and_mask = tmp_list_.lh_first;