Lines Matching refs:set_state
179 fn set_state(data: usize, state: usize) -> usize { in set_state() function
326 let new = set_state(curr, NOTIFIED); in notify_one()
445 let new = set_state(inc_num_notify_waiters_calls(curr), EMPTY); in notify_waiters()
467 let res = state.compare_exchange(curr, set_state(curr, NOTIFIED), SeqCst, SeqCst); in notify_locked()
474 state.store(set_state(actual, NOTIFIED), SeqCst); in notify_locked()
500 state.store(set_state(curr, EMPTY), SeqCst); in notify_locked()
543 set_state(curr, NOTIFIED), in poll()
544 set_state(curr, EMPTY), in poll()
575 set_state(curr, EMPTY), in poll()
576 set_state(curr, WAITING), in poll()
592 set_state(curr, NOTIFIED), in poll()
593 set_state(curr, EMPTY), in poll()
692 notify_state = set_state(notify_state, EMPTY); in drop()