Lines Matching refs:key
116 struct futex_hash_bucket *futex_hash(union futex_key *key) in futex_hash() argument
118 u32 hash = jhash2((u32 *)key, offsetof(typeof(*key), both.offset) / 4, in futex_hash()
119 key->both.offset); in futex_hash()
221 int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key, in get_futex_key() argument
233 key->both.offset = address % PAGE_SIZE; in get_futex_key()
236 address -= key->both.offset; in get_futex_key()
259 key->private.mm = mm; in get_futex_key()
261 key->private.mm = NULL; in get_futex_key()
263 key->private.address = address; in get_futex_key()
362 key->both.offset |= FUT_OFF_MMSHARED; /* ref taken on mm */ in get_futex_key()
363 key->private.mm = mm; in get_futex_key()
364 key->private.address = address; in get_futex_key()
397 key->both.offset |= FUT_OFF_INODE; /* inode-based key */ in get_futex_key()
398 key->shared.i_seq = get_inode_sequence_number(inode); in get_futex_key()
399 key->shared.pgoff = page_to_pgoff(tail); in get_futex_key()
440 struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, union futex_key *key) in futex_top_waiter() argument
445 if (futex_match(&this->key, key)) in futex_top_waiter()
529 hb = futex_hash(&q->key); in futex_q_lock()
962 union futex_key key = FUTEX_KEY_INIT; in exit_pi_state_list() local
973 key = pi_state->key; in exit_pi_state_list()
974 hb = futex_hash(&key); in exit_pi_state_list()