Home
last modified time | relevance | path

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

/kernel/futex/
Drequeue.c268 struct futex_hash_bucket *hb2, union futex_key *key1, in futex_proxy_trylock_atomic() argument
290 top_waiter = futex_top_waiter(hb1, key1); in futex_proxy_trylock_atomic()
367 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_requeue() local
427 ret = get_futex_key(uaddr1, flags & FLAGS_SHARED, &key1, FUTEX_READ); in futex_requeue()
439 if (requeue_pi && futex_match(&key1, &key2)) in futex_requeue()
442 hb1 = futex_hash(&key1); in futex_requeue()
484 ret = futex_proxy_trylock_atomic(uaddr2, hb1, hb2, &key1, in futex_requeue()
574 if (!futex_match(&this->key, &key1)) in futex_requeue()
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
253 ret = get_futex_key(uaddr1, flags & FLAGS_SHARED, &key1, FUTEX_READ); in futex_wake_op()
260 hb1 = futex_hash(&key1); in futex_wake_op()
292 if (futex_match (&this->key, &key1)) { in futex_wake_op()
/kernel/bpf/
Dlocal_storage.c43 const struct bpf_cgroup_storage_key *key1 = _key1; 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()