Home
last modified time | relevance | path

Searched refs:lock_ptr (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/kernel/futex/
H A Dcore.c513 if (WARN_ON_SMP(!q->lock_ptr) || WARN_ON(plist_node_empty(&q->list))) in __futex_unqueue()
515 lockdep_assert_held(q->lock_ptr); in __futex_unqueue()
517 hb = container_of(q->lock_ptr, struct futex_hash_bucket, lock); in __futex_unqueue()
540 q->lock_ptr = &hb->lock; in futex_q_lock()
585 spinlock_t *lock_ptr; in futex_unqueue() local
595 lock_ptr = READ_ONCE(q->lock_ptr); in futex_unqueue()
596 if (lock_ptr != NULL) { in futex_unqueue()
597 spin_lock(lock_ptr); in futex_unqueue()
611 if (unlikely(lock_ptr != q->lock_ptr)) { in futex_unqueue()
612 spin_unlock(lock_ptr); in futex_unqueue()
[all …]
H A Drequeue.c87 q->lock_ptr = &hb2->lock; in requeue_futex()
233 q->lock_ptr = &hb->lock; in requeue_pi_wake_futex()
704 WARN_ON_ONCE(&hb->lock != q->lock_ptr); in handle_early_requeue_pi_wakeup()
832 spin_lock(q.lock_ptr); in futex_wait_requeue_pi()
839 spin_unlock(q.lock_ptr); in futex_wait_requeue_pi()
854 spin_lock(q.lock_ptr); in futex_wait_requeue_pi()
872 spin_unlock(q.lock_ptr); in futex_wait_requeue_pi()
H A Dpi.c804 spin_unlock(q->lock_ptr); in __fixup_pi_state_owner()
821 spin_lock(q->lock_ptr); in __fixup_pi_state_owner()
861 lockdep_assert_held(q->lock_ptr); in fixup_pi_state_owner()
1021 spin_unlock(q.lock_ptr); in futex_lock_pi()
1042 spin_lock(q.lock_ptr); in futex_lock_pi()
1069 spin_unlock(q.lock_ptr); in futex_lock_pi()
H A Dwaitwake.c131 smp_store_release(&q->lock_ptr, NULL); in futex_wake_mark()
503 if (!READ_ONCE(vs->q.lock_ptr)) in futex_sleep_multiple()
H A Dfutex.h100 spinlock_t *lock_ptr; member
/openbmc/linux/net/rds/
H A Dib_cm.c1253 spinlock_t *lock_ptr; in rds_ib_conn_free() local
1262 lock_ptr = ic->rds_ibdev ? &ic->rds_ibdev->spinlock : &ib_nodev_conns_lock; in rds_ib_conn_free()
1264 spin_lock_irq(lock_ptr); in rds_ib_conn_free()
1266 spin_unlock_irq(lock_ptr); in rds_ib_conn_free()