Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 4 of 4) sorted by relevance

/kernel/futex/
Drequeue.c75 struct futex_hash_bucket *hb2, union futex_key *key2) in requeue_futex() argument
89 q->key = *key2; in requeue_futex()
269 union futex_key *key2, struct futex_pi_state **ps, in futex_proxy_trylock_atomic() argument
304 if (!futex_match(top_waiter->requeue_pi_key, key2)) in futex_proxy_trylock_atomic()
319 ret = futex_lock_pi_atomic(pifutex, hb2, key2, ps, top_waiter->task, in futex_proxy_trylock_atomic()
328 requeue_pi_wake_futex(top_waiter, key2, hb2); in futex_proxy_trylock_atomic()
367 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_requeue() local
430 ret = get_futex_key(uaddr2, flags & FLAGS_SHARED, &key2, in futex_requeue()
439 if (requeue_pi && futex_match(&key1, &key2)) in futex_requeue()
443 hb2 = futex_hash(&key2); in futex_requeue()
[all …]
Dfutex.h135 static inline int futex_match(union futex_key *key1, union futex_key *key2) in futex_match() argument
137 return (key1 && key2 in futex_match()
138 && key1->both.word == key2->both.word in futex_match()
139 && key1->both.ptr == key2->both.ptr in futex_match()
140 && key1->both.offset == key2->both.offset); in futex_match()
Dwaitwake.c246 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_wake_op() local
256 ret = get_futex_key(uaddr2, flags & FLAGS_SHARED, &key2, FUTEX_WRITE); in futex_wake_op()
261 hb2 = futex_hash(&key2); in futex_wake_op()
306 if (futex_match (&this->key, &key2)) { in futex_wake_op()
/kernel/bpf/
Dlocal_storage.c44 const struct bpf_cgroup_storage_key *key2 = _key2; in bpf_cgroup_storage_key_cmp() local
46 if (key1->cgroup_inode_id < key2->cgroup_inode_id) in bpf_cgroup_storage_key_cmp()
48 else if (key1->cgroup_inode_id > key2->cgroup_inode_id) in bpf_cgroup_storage_key_cmp()
50 else if (key1->attach_type < key2->attach_type) in bpf_cgroup_storage_key_cmp()
52 else if (key1->attach_type > key2->attach_type) in bpf_cgroup_storage_key_cmp()