Lines Matching refs:new_head
1323 let mut new_head = head + (1 << SHIFT); in steal() localVariable
1325 if new_head & HAS_NEXT == 0 { in steal()
1336 new_head |= HAS_NEXT; in steal()
1344 .compare_exchange_weak(head, new_head, Ordering::SeqCst, Ordering::Acquire) in steal()
1354 let mut next_index = (new_head & !HAS_NEXT).wrapping_add(1 << SHIFT); in steal()
1420 let mut new_head = head; in steal_batch() localVariable
1423 if new_head & HAS_NEXT == 0 { in steal_batch()
1435 new_head |= HAS_NEXT; in steal_batch()
1448 new_head += advance << SHIFT; in steal_batch()
1455 .compare_exchange_weak(head, new_head, Ordering::SeqCst, Ordering::Acquire) in steal_batch()
1473 let mut next_index = (new_head & !HAS_NEXT).wrapping_add(1 << SHIFT); in steal_batch()
1579 let mut new_head = head; in steal_batch_and_pop() localVariable
1582 if new_head & HAS_NEXT == 0 { in steal_batch_and_pop()
1593 new_head |= HAS_NEXT; in steal_batch_and_pop()
1606 new_head += advance << SHIFT; in steal_batch_and_pop()
1613 .compare_exchange_weak(head, new_head, Ordering::SeqCst, Ordering::Acquire) in steal_batch_and_pop()
1631 let mut next_index = (new_head & !HAS_NEXT).wrapping_add(1 << SHIFT); in steal_batch_and_pop()