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 * uaddr
the futex userspace address
u32 val
the expected value
unsigned int flags
futex flags (FLAGS_SHARED, etc.)
struct futex_q * q
the associated futex_q
struct futex_hash_bucket ** hb
storage for hash_bucket pointer to be returned to caller