Searched refs:lock_ptr (Results 1 – 2 of 2) sorted by relevance
734 spinlock_t *lock_ptr; in rds_iw_conn_free() local743 lock_ptr = ic->rds_iwdev ? &ic->rds_iwdev->spinlock : &iw_nodev_conns_lock; in rds_iw_conn_free()745 spin_lock_irq(lock_ptr); in rds_iw_conn_free()747 spin_unlock_irq(lock_ptr); in rds_iw_conn_free()
820 spinlock_t *lock_ptr; in rds_ib_conn_free() local829 lock_ptr = ic->rds_ibdev ? &ic->rds_ibdev->spinlock : &ib_nodev_conns_lock; in rds_ib_conn_free()831 spin_lock_irq(lock_ptr); in rds_ib_conn_free()833 spin_unlock_irq(lock_ptr); in rds_ib_conn_free()