Searched refs:xchg (Results 1 – 2 of 2) sorted by relevance
256 static unsigned long xchg(unsigned long *p, unsigned long val) in xchg() function270 c = xchg(m, 2); in mutex_lock()274 c = xchg(m, 2); in mutex_lock()284 else if (xchg(m, 0) == 1) in mutex_unlock()
248 │ │ xchg %ax,%ax256 │ xchg %ax,%ax