Lines Matching refs:slot
114 #define GET_IO_SLOT(x, map, slot, type) \ in HT_PROTOTYPE() argument
117 key_.fd = slot; \ in HT_PROTOTYPE()
122 #define GET_IO_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \ argument
125 key_.fd = slot; \
135 ent_->fd = slot; \
162 #define GET_SIGNAL_SLOT(x, map, slot, type) \ argument
163 (x) = (struct type *)((map)->entries[slot])
169 #define GET_SIGNAL_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \ argument
171 if ((map)->entries[slot] == NULL) { \
172 (map)->entries[slot] = \
174 if (EVUTIL_UNLIKELY((map)->entries[slot] == NULL)) \
176 (ctor)((struct type *)(map)->entries[slot]); \
178 (x) = (struct type *)((map)->entries[slot]); \
184 #define GET_IO_SLOT(x,map,slot,type) GET_SIGNAL_SLOT(x,map,slot,type) argument
185 #define GET_IO_SLOT_AND_CTOR(x,map,slot,type,ctor,fdinfo_len) \ argument
186 GET_SIGNAL_SLOT_AND_CTOR(x,map,slot,type,ctor,fdinfo_len)
205 evmap_make_space(struct event_signal_map *map, int slot, int msize) in evmap_make_space() argument
207 if (map->nentries <= slot) { in evmap_make_space()
211 if (slot > INT_MAX / 2) in evmap_make_space()
214 while (nentries <= slot) in evmap_make_space()