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

Function futex_xchgl

freebsd/i386/linux/linux_copyout.c:67–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67int
68futex_xchgl(int oparg, uint32_t *uaddr, int *oldval)
69{
70 struct futex_st0 st;
71
72 st.oparg = oparg;
73 st.oldval = oldval;
74 if (cp_slow0((vm_offset_t)uaddr, sizeof(uint32_t), true,
75 futex_xchgl_slow0, &st) != 0)
76 return (-EFAULT);
77 return (0);
78}
79
80static void
81futex_addl_slow0(vm_offset_t kva, void *arg)

Callers

nothing calls this directly

Calls 1

cp_slow0Function · 0.85

Tested by

no test coverage detected