Home
last modified time | relevance | path

Searched refs:uctxt_lock (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_tx.c138 spin_lock(&dd->uctxt_lock); in find_ctxt()
159 spin_unlock(&dd->uctxt_lock); in find_ctxt()
471 spin_lock_irqsave(&dd->uctxt_lock, flags); in qib_cancel_sends()
488 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_cancel_sends()
494 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_cancel_sends()
Dqib_intr.c195 spin_lock_irqsave(&dd->uctxt_lock, flags); in qib_handle_urcv()
213 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_handle_urcv()
Dqib_driver.c761 spin_lock_irqsave(&dd->uctxt_lock, flags); in qib_reset_device()
766 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_reset_device()
770 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_reset_device()
Dqib_file_ops.c1090 spin_lock_irq(&dd->uctxt_lock); in qib_poll_urgent()
1098 spin_unlock_irq(&dd->uctxt_lock); in qib_poll_urgent()
1112 spin_lock_irq(&dd->uctxt_lock); in qib_poll_next()
1119 spin_unlock_irq(&dd->uctxt_lock); in qib_poll_next()
1835 spin_lock_irqsave(&dd->uctxt_lock, flags); in qib_close()
1839 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_close()
1983 spin_lock_irqsave(&ppd->dd->uctxt_lock, flags); in qib_set_uevent_bits()
2002 spin_unlock_irqrestore(&ppd->dd->uctxt_lock, flags); in qib_set_uevent_bits()
Dqib_init.c416 spin_lock_init(&dd->uctxt_lock); in loadtime_init()
1358 spin_lock_irqsave(&dd->uctxt_lock, flags); in cleanup_device_data()
1361 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in cleanup_device_data()
Dqib.h900 spinlock_t uctxt_lock; /* rcd and user context changes */ member
Dqib_iba7220.c4369 spin_lock_irqsave(&dd->uctxt_lock, flags); in qib_7220_txchk_change()
4377 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_7220_txchk_change()
Dqib_iba7322.c7100 spin_lock_irqsave(&dd->uctxt_lock, flags); in qib_7322_txchk_change()
7109 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_7322_txchk_change()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dfile_ops.c666 spin_lock_irqsave(&dd->uctxt_lock, flags); in hfi1_file_close()
669 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in hfi1_file_close()
672 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in hfi1_file_close()
765 spin_lock_irqsave(&fd->dd->uctxt_lock, flags); in complete_subctxt()
767 spin_unlock_irqrestore(&fd->dd->uctxt_lock, flags); in complete_subctxt()
868 spin_lock_irqsave(&dd->uctxt_lock, flags); in match_ctxt()
871 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in match_ctxt()
878 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in match_ctxt()
884 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in match_ctxt()
1442 spin_lock_irq(&dd->uctxt_lock); in poll_urgent()
[all …]
Dintr.c249 spin_lock_irqsave(&dd->uctxt_lock, flags); in handle_user_interrupt()
262 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in handle_user_interrupt()
Dinit.c218 spin_lock_irqsave(&rcd->dd->uctxt_lock, flags); in hfi1_rcd_free()
220 spin_unlock_irqrestore(&rcd->dd->uctxt_lock, flags); in hfi1_rcd_free()
271 spin_lock_irqsave(&dd->uctxt_lock, flags); in allocate_rcd_index()
281 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in allocate_rcd_index()
329 spin_lock_irqsave(&dd->uctxt_lock, flags); in hfi1_rcd_get_by_index()
335 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in hfi1_rcd_get_by_index()
1311 spin_lock_init(&dd->uctxt_lock); in hfi1_alloc_devdata()
Dhfi.h1179 spinlock_t uctxt_lock; /* protect rcd changes */ member