hotel 25 opal/class/opal_hotel.c void *occupant = eargs->hotel->rooms[eargs->room_num].occupant; hotel 32 opal/class/opal_hotel.c opal_hotel_t *hotel = eargs->hotel; hotel 33 opal/class/opal_hotel.c opal_hotel_room_t *room = &(hotel->rooms[eargs->room_num]); hotel 35 opal/class/opal_hotel.c hotel->last_unoccupied_room++; hotel 36 opal/class/opal_hotel.c assert(hotel->last_unoccupied_room < hotel->num_rooms); hotel 37 opal/class/opal_hotel.c hotel->unoccupied_rooms[hotel->last_unoccupied_room] = eargs->room_num; hotel 40 opal/class/opal_hotel.c hotel->evict_callback_fn(hotel, hotel 81 opal/class/opal_hotel.c h->eviction_args[i].hotel = h; hotel 65 opal/class/opal_hotel.h typedef void (*opal_hotel_eviction_callback_fn_t)(struct opal_hotel_t *hotel, hotel 103 opal/class/opal_hotel.h struct opal_hotel_t *hotel; hotel 157 opal/class/opal_hotel.h OPAL_DECLSPEC int opal_hotel_init(opal_hotel_t *hotel, int num_rooms, hotel 183 opal/class/opal_hotel.h static inline int opal_hotel_checkin(opal_hotel_t *hotel, hotel 190 opal/class/opal_hotel.h if (OPAL_UNLIKELY(hotel->last_unoccupied_room < 0)) { hotel 195 opal/class/opal_hotel.h *room_num = hotel->unoccupied_rooms[hotel->last_unoccupied_room--]; hotel 196 opal/class/opal_hotel.h room = &(hotel->rooms[*room_num]); hotel 200 opal/class/opal_hotel.h if (NULL != hotel->evbase) { hotel 202 opal/class/opal_hotel.h &(hotel->eviction_timeout)); hotel 212 opal/class/opal_hotel.h static inline void opal_hotel_checkin_with_res(opal_hotel_t *hotel, hotel 219 opal/class/opal_hotel.h *room_num = hotel->unoccupied_rooms[hotel->last_unoccupied_room--]; hotel 220 opal/class/opal_hotel.h room = &(hotel->rooms[*room_num]); hotel 225 opal/class/opal_hotel.h if (NULL != hotel->evbase) { hotel 227 opal/class/opal_hotel.h &(hotel->eviction_timeout)); hotel 242 opal/class/opal_hotel.h static inline void opal_hotel_checkout(opal_hotel_t *hotel, int room_num) hotel 247 opal/class/opal_hotel.h assert(room_num < hotel->num_rooms); hotel 250 opal/class/opal_hotel.h room = &(hotel->rooms[room_num]); hotel 256 opal/class/opal_hotel.h if (NULL != hotel->evbase) { hotel 259 opal/class/opal_hotel.h hotel->last_unoccupied_room++; hotel 260 opal/class/opal_hotel.h assert(hotel->last_unoccupied_room < hotel->num_rooms); hotel 261 opal/class/opal_hotel.h hotel->unoccupied_rooms[hotel->last_unoccupied_room] = room_num; hotel 280 opal/class/opal_hotel.h static inline void opal_hotel_checkout_and_return_occupant(opal_hotel_t *hotel, int room_num, void **occupant) hotel 285 opal/class/opal_hotel.h assert(room_num < hotel->num_rooms); hotel 288 opal/class/opal_hotel.h room = &(hotel->rooms[room_num]); hotel 296 opal/class/opal_hotel.h if (NULL != hotel->evbase) { hotel 299 opal/class/opal_hotel.h hotel->last_unoccupied_room++; hotel 300 opal/class/opal_hotel.h assert(hotel->last_unoccupied_room < hotel->num_rooms); hotel 301 opal/class/opal_hotel.h hotel->unoccupied_rooms[hotel->last_unoccupied_room] = room_num; hotel 314 opal/class/opal_hotel.h static inline bool opal_hotel_is_empty (opal_hotel_t *hotel) hotel 316 opal/class/opal_hotel.h if (hotel->last_unoccupied_room == hotel->num_rooms - 1) hotel 332 opal/class/opal_hotel.h static inline void opal_hotel_knock(opal_hotel_t *hotel, int room_num, void **occupant) hotel 337 opal/class/opal_hotel.h assert(room_num < hotel->num_rooms); hotel 342 opal/class/opal_hotel.h room = &(hotel->rooms[room_num]); hotel 280 opal/mca/btl/usnic/btl_usnic_ack.c opal_hotel_t *hotel, hotel 77 opal/mca/btl/usnic/btl_usnic_ack.h void opal_btl_usnic_ack_timeout(opal_hotel_t *hotel, int room_num, hotel 26 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.c void *occupant = eargs->hotel->rooms[eargs->room_num].occupant; hotel 33 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.c pmix_hotel_t *hotel = eargs->hotel; hotel 34 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.c pmix_hotel_room_t *room = &(hotel->rooms[eargs->room_num]); hotel 36 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.c hotel->last_unoccupied_room++; hotel 37 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.c assert(hotel->last_unoccupied_room < hotel->num_rooms); hotel 38 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.c hotel->unoccupied_rooms[hotel->last_unoccupied_room] = eargs->room_num; hotel 41 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.c hotel->evict_callback_fn(hotel, hotel 81 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.c h->eviction_args[i].hotel = h; hotel 71 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h typedef void (*pmix_hotel_eviction_callback_fn_t)(struct pmix_hotel_t *hotel, hotel 109 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h struct pmix_hotel_t *hotel; hotel 162 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h PMIX_EXPORT pmix_status_t pmix_hotel_init(pmix_hotel_t *hotel, int num_rooms, hotel 187 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h static inline pmix_status_t pmix_hotel_checkin(pmix_hotel_t *hotel, hotel 194 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h if (PMIX_UNLIKELY(hotel->last_unoccupied_room < 0)) { hotel 200 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h *room_num = hotel->unoccupied_rooms[hotel->last_unoccupied_room--]; hotel 201 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h room = &(hotel->rooms[*room_num]); hotel 205 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h if (NULL != hotel->evbase) { hotel 207 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h &(hotel->eviction_timeout)); hotel 217 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h static inline void pmix_hotel_checkin_with_res(pmix_hotel_t *hotel, hotel 224 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h *room_num = hotel->unoccupied_rooms[hotel->last_unoccupied_room--]; hotel 225 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h room = &(hotel->rooms[*room_num]); hotel 230 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h if (NULL != hotel->evbase) { hotel 232 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h &(hotel->eviction_timeout)); hotel 247 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h static inline void pmix_hotel_checkout(pmix_hotel_t *hotel, int room_num) hotel 252 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h assert(room_num < hotel->num_rooms); hotel 259 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h room = &(hotel->rooms[room_num]); hotel 265 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h if (NULL != hotel->evbase) { hotel 268 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h hotel->last_unoccupied_room++; hotel 269 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h assert(hotel->last_unoccupied_room < hotel->num_rooms); hotel 270 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h hotel->unoccupied_rooms[hotel->last_unoccupied_room] = room_num; hotel 289 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h static inline void pmix_hotel_checkout_and_return_occupant(pmix_hotel_t *hotel, int room_num, void **occupant) hotel 294 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h assert(room_num < hotel->num_rooms); hotel 302 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h room = &(hotel->rooms[room_num]); hotel 310 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h if (NULL != hotel->evbase) { hotel 313 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h hotel->last_unoccupied_room++; hotel 314 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h assert(hotel->last_unoccupied_room < hotel->num_rooms); hotel 315 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h hotel->unoccupied_rooms[hotel->last_unoccupied_room] = room_num; hotel 328 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h static inline bool pmix_hotel_is_empty (pmix_hotel_t *hotel) hotel 330 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h if (hotel->last_unoccupied_room == hotel->num_rooms - 1) hotel 346 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h static inline void pmix_hotel_knock(pmix_hotel_t *hotel, int room_num, void **occupant) hotel 351 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h assert(room_num < hotel->num_rooms); hotel 360 opal/mca/pmix/pmix4x/pmix/src/class/pmix_hotel.h room = &(hotel->rooms[room_num]); hotel 90 opal/mca/pmix/pmix4x/pmix/src/runtime/pmix_init.c static void _notification_eviction_cbfunc(struct pmix_hotel_t *hotel, hotel 177 orte/orted/pmix/pmix_server.c static void eviction_cbfunc(struct opal_hotel_t *hotel, hotel 28 orte/test/system/opal_hotel.c static void evict_cbfunc(opal_hotel_t *hotel, hotel 40 orte/test/system/opal_hotel.c opal_hotel_t hotel; hotel 49 orte/test/system/opal_hotel.c OBJ_CONSTRUCT(&hotel, opal_hotel_t); hotel 50 orte/test/system/opal_hotel.c opal_hotel_init(&hotel, NUM_RMS, opal_sync_event_base, hotel 61 orte/test/system/opal_hotel.c if (OPAL_SUCCESS != opal_hotel_checkin(&hotel, hotel 78 orte/test/system/opal_hotel.c opal_hotel_checkout(&hotel, occupants[i + j].room); hotel 83 orte/test/system/opal_hotel.c opal_hotel_checkin(&hotel, (void*) &(occupants[i + j]), &rm)) { hotel 102 orte/test/system/opal_hotel.c OBJ_DESTRUCT(&hotel);