Lines Matching refs:resize_state
276 size_t resize_state = atomic_fetch_xor_explicit(&htab->resizing_state,
279 while (GET_ACTIVE_WORKERS(resize_state) != 0)
280 resize_state = atomic_load_explicit(&htab->resizing_state,
306 size_t resize_state = atomic_load_explicit(&htab->resizing_state,
310 if (IS_NO_RESIZE_OR_CLEANING(resize_state))
314 resize_state = atomic_fetch_add_explicit(&htab->resizing_state,
317 if (IS_NO_RESIZE_OR_CLEANING(resize_state))
325 while (GET_STATE(resize_state) == ALLOCATING_MEMORY)
326 resize_state = atomic_load_explicit(&htab->resizing_state,
330 assert(GET_STATE(resize_state) != NO_RESIZING);
331 if (GET_STATE(resize_state) == CLEANING)