Lines Matching refs:base_node

36     struct base_node {  struct
37 base_node* next; argument
38 base_node* prev; argument
40 constexpr base_node(base_node* n, base_node* p) : next(n), prev(p) {} in base_node() function
41 …explicit base_node() : next((base_node*)(uintptr_t)0xcdcdcdcd), prev((base_node*)(uintptr_t)0xcdcd… in base_node() function
52 inline base_node* front() const { return head.next; } in front()
53 inline base_node* last() const { return head.prev; } in last()
54 inline const base_node* end() const { return &head; } in end()
57 inline void add( base_node* n ) { in add()
66 inline void remove( base_node& n ) { in remove()
93 base_node head;
97 using base_node = circular_doubly_linked_list_with_sentinel::base_node; variable
103 class wait_node : public base_node {
285 base_node* n; in notify_one_relaxed()
286 const base_node* end = my_waitset.end(); in notify_one_relaxed()
325 const base_node* end; in notify_all_relaxed()
332 for (base_node* n = temp.front(); n != end; n = n->next) { in notify_all_relaxed()
337 base_node* nxt; in notify_all_relaxed()
338 for (base_node* n = temp.front(); n != end; n=nxt) { in notify_all_relaxed()
363 base_node* nxt; in notify_relaxed()
364 const base_node* end = my_waitset.end(); in notify_relaxed()
368 for (base_node* n = my_waitset.last(); n != end; n = nxt) { in notify_relaxed()
380 for (base_node* n=temp.front(); n != end; n = nxt) { in notify_relaxed()
397 base_node* tmp = nullptr; in notify_one_relaxed()
398 base_node* next{}; in notify_one_relaxed()
399 const base_node* end = my_waitset.end(); in notify_one_relaxed()
403 for (base_node* n = my_waitset.last(); n != end; n = next) { in notify_one_relaxed()
433 const base_node* end; in abort_all_relaxed()
439 for (base_node* n = temp.front(); n != end; n = n->next) { in abort_all_relaxed()
444 base_node* nxt; in abort_all_relaxed()
445 for (base_node* n = temp.front(); n != end; n = nxt) { in abort_all_relaxed()
478 …wait_node<Context>* to_wait_node( base_node* node ) { return static_cast<wait_node<Context>*>(node… in to_wait_node()