MCPcopy Create free account
hub / github.com/F-Stack/f-stack / futex_xchgl_slow0

Function futex_xchgl_slow0

freebsd/i386/linux/linux_copyout.c:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56};
57
58static void
59futex_xchgl_slow0(vm_offset_t kva, void *arg)
60{
61 struct futex_st0 *st;
62
63 st = arg;
64 *st->oldval = atomic_swap_int((int *)kva, st->oparg);
65}
66
67int
68futex_xchgl(int oparg, uint32_t *uaddr, int *oldval)

Callers

nothing calls this directly

Calls 1

atomic_swap_intFunction · 0.50

Tested by

no test coverage detected