Lines Matching refs:atomic_load_relaxed
296 return (atomic_load_relaxed(&node->state) & NODE_LOCKED) != 0;
305 s = atomic_load_relaxed(&node->state);
321 uint32_t s = atomic_load_relaxed(&node->state) & ~NODE_LOCKED;
452 ASSERT((atomic_load_relaxed(&node->state) & NODE_DELETED) == 0);
453 ASSERT(atomic_load_relaxed(&node->slots[slot]) == THMAP_NULL);
455 ASSERT(NODE_COUNT(atomic_load_relaxed(&node->state)) < LEVEL_SIZE);
464 atomic_load_relaxed(&node->state) + 1);
471 ASSERT((atomic_load_relaxed(&node->state) & NODE_DELETED) == 0);
472 ASSERT(atomic_load_relaxed(&node->slots[slot]) != THMAP_NULL);
474 ASSERT(NODE_COUNT(atomic_load_relaxed(&node->state)) > 0);
475 ASSERT(NODE_COUNT(atomic_load_relaxed(&node->state)) <= LEVEL_SIZE);
480 atomic_load_relaxed(&node->state) - 1);
566 if (atomic_load_relaxed(&thmap->root[i])) {
583 if (atomic_load_relaxed(&thmap->root[i])) {
635 if (atomic_load_relaxed(&parent->state) & NODE_DELETED) {
668 if (__predict_false(atomic_load_relaxed(&node->state) & NODE_DELETED)) {
677 target = atomic_load_relaxed(&node->slots[*slot]);
768 target = atomic_load_relaxed(&parent->slots[slot]); // tagged offset
875 ASSERT(THMAP_NODE(thmap, atomic_load_relaxed(&parent->slots[slot]))
883 NODE_COUNT(atomic_load_relaxed(&parent->state)) == 0) {
886 ASSERT(atomic_load_relaxed(&node->state) == NODE_LOCKED);
899 ASSERT((atomic_load_relaxed(&parent->state) & NODE_DELETED)
910 atomic_load_relaxed(&node->state) | NODE_DELETED);
914 atomic_load_relaxed(&parent->slots[slot])) == node);
928 if (NODE_COUNT(atomic_load_relaxed(&parent->state)) == 0) {
931 atomic_load_relaxed(&thmap->root[rslot]);
939 atomic_load_relaxed(&parent->state) | NODE_DELETED);
972 head = atomic_load_relaxed(&thmap->gc_list);