Searched refs:old_head (Results 1 – 2 of 2) sorted by relevance
159 xc_msg_t *old_head; in xc_insert() local170 old_head = (xc_msg_t *)*(volatile xc_msg_t **)queue; in xc_insert()171 msg->xc_next = old_head; in xc_insert()172 } while (atomic_cas_ptr(queue, old_head, msg) != old_head); in xc_insert()183 xc_msg_t *old_head; in xc_extract() local186 old_head = (xc_msg_t *)*(volatile xc_msg_t **)queue; in xc_extract()187 if (old_head == NULL) in xc_extract()188 return (old_head); in xc_extract()189 } while (atomic_cas_ptr(queue, old_head, old_head->xc_next) != in xc_extract()190 old_head); in xc_extract()[all …]
154 db_free_entry* old_head = head; in pop() local157 delete old_head; in pop()