futex_wait_setup — Prepare to wait on a futex
int futex_wait_setup ( | u32 __user * uaddr, |
| u32 val, | |
| unsigned int flags, | |
| struct futex_q * q, | |
struct futex_hash_bucket ** hb); |
u32 __user * uaddrthe futex userspace address
u32 valthe expected value
unsigned int flagsfutex flags (FLAGS_SHARED, etc.)
struct futex_q * qthe associated futex_q
struct futex_hash_bucket ** hbstorage for hash_bucket pointer to be returned to caller