Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/futex/
Dcore.c503 if (WARN_ON_SMP(!q->lock_ptr) || WARN_ON(plist_node_empty(&q->list))) in __futex_unqueue()
505 lockdep_assert_held(q->lock_ptr); in __futex_unqueue()
507 hb = container_of(q->lock_ptr, struct futex_hash_bucket, lock); in __futex_unqueue()
530 q->lock_ptr = &hb->lock; in futex_q_lock()
575 spinlock_t *lock_ptr; in futex_unqueue() local
585 lock_ptr = READ_ONCE(q->lock_ptr); in futex_unqueue()
586 if (lock_ptr != NULL) { in futex_unqueue()
587 spin_lock(lock_ptr); in futex_unqueue()
601 if (unlikely(lock_ptr != q->lock_ptr)) { in futex_unqueue()
602 spin_unlock(lock_ptr); in futex_unqueue()
[all …]
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()
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()
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()
Dfutex.h100 spinlock_t *lock_ptr; member
/linux-6.1.9/net/rds/
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()