Home
last modified time | relevance | path

Searched refs:uctxt_lock (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dfile_ops.c677 spin_lock_irqsave(&dd->uctxt_lock, flags); in hfi1_file_close()
680 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in hfi1_file_close()
683 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in hfi1_file_close()
775 spin_lock_irqsave(&fd->dd->uctxt_lock, flags); in complete_subctxt()
777 spin_unlock_irqrestore(&fd->dd->uctxt_lock, flags); in complete_subctxt()
878 spin_lock_irqsave(&dd->uctxt_lock, flags); in match_ctxt()
881 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in match_ctxt()
888 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in match_ctxt()
894 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in match_ctxt()
1457 spin_lock_irq(&dd->uctxt_lock); in poll_urgent()
[all...]
H A 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()
H A Dinit.c219 spin_lock_irqsave(&rcd->dd->uctxt_lock, flags); in hfi1_rcd_free()
221 spin_unlock_irqrestore(&rcd->dd->uctxt_lock, flags); in hfi1_rcd_free()
272 spin_lock_irqsave(&dd->uctxt_lock, flags); in allocate_rcd_index()
282 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in allocate_rcd_index()
330 spin_lock_irqsave(&dd->uctxt_lock, flags); in hfi1_rcd_get_by_index()
336 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in hfi1_rcd_get_by_index()
1293 spin_lock_init(&dd->uctxt_lock); in hfi1_alloc_devdata()
H A Dhfi.h1177 spinlock_t uctxt_lock; /* protect rcd changes */ member
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_tx.c89 * Don't need uctxt_lock here, since user has called in to us. in qib_disarm_piobufs_ifneeded()
138 spin_lock(&dd->uctxt_lock); in find_ctxt()
159 spin_unlock(&dd->uctxt_lock); in find_ctxt()
467 * context is closed after we release the uctxt_lock, but that's in qib_cancel_sends()
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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dqib.h900 spinlock_t uctxt_lock; /* rcd and user context changes */ member
H A 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()
H A Dqib_iba7322.c7098 spin_lock_irqsave(&dd->uctxt_lock, flags); in qib_7322_txchk_change()
7107 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_7322_txchk_change()
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_tx.c88 * Don't need uctxt_lock here, since user has called in to us. in qib_disarm_piobufs_ifneeded()
135 spin_lock(&dd->uctxt_lock); in find_ctxt()
156 spin_unlock(&dd->uctxt_lock); in find_ctxt()
465 * context is closed after we release the uctxt_lock, but that's in qib_cancel_sends()
469 spin_lock_irqsave(&dd->uctxt_lock, flags); in qib_cancel_sends()
486 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_cancel_sends()
492 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_cancel_sends()
H A 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()
H A Dqib_driver.c762 spin_lock_irqsave(&dd->uctxt_lock, flags); in qib_reset_device()
767 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_reset_device()
771 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_reset_device()
H A Dqib_file_ops.c1089 spin_lock_irq(&dd->uctxt_lock); in qib_poll_urgent()
1097 spin_unlock_irq(&dd->uctxt_lock); in qib_poll_urgent()
1111 spin_lock_irq(&dd->uctxt_lock); in qib_poll_next()
1118 spin_unlock_irq(&dd->uctxt_lock); in qib_poll_next()
1834 spin_lock_irqsave(&dd->uctxt_lock, flags); in qib_close()
1838 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_close()
1982 spin_lock_irqsave(&ppd->dd->uctxt_lock, flags); in qib_set_uevent_bits()
2001 spin_unlock_irqrestore(&ppd->dd->uctxt_lock, flags); in qib_set_uevent_bits()
H A Dqib_init.c416 spin_lock_init(&dd->uctxt_lock); in loadtime_init()
1357 spin_lock_irqsave(&dd->uctxt_lock, flags); in cleanup_device_data()
1360 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in cleanup_device_data()
H A Dqib.h896 spinlock_t uctxt_lock; /* rcd and user context changes */ member
H A 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()
H A Dqib_iba7322.c7069 spin_lock_irqsave(&dd->uctxt_lock, flags); in qib_7322_txchk_change()
7078 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in qib_7322_txchk_change()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dintr.c207 spin_lock_irqsave(&dd->uctxt_lock, flags); in handle_user_interrupt()
220 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in handle_user_interrupt()
H A Dfile_ops.c667 spin_lock_irqsave(&dd->uctxt_lock, flags); in hfi1_file_close()
670 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in hfi1_file_close()
673 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()
1447 spin_lock_irq(&dd->uctxt_lock); in poll_urgent()
[all...]
H A Dinit.c178 spin_lock_irqsave(&rcd->dd->uctxt_lock, flags); in hfi1_rcd_free()
180 spin_unlock_irqrestore(&rcd->dd->uctxt_lock, flags); in hfi1_rcd_free()
231 spin_lock_irqsave(&dd->uctxt_lock, flags); in allocate_rcd_index()
241 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in allocate_rcd_index()
289 spin_lock_irqsave(&dd->uctxt_lock, flags); in hfi1_rcd_get_by_index()
295 spin_unlock_irqrestore(&dd->uctxt_lock, flags); in hfi1_rcd_get_by_index()
1252 spin_lock_init(&dd->uctxt_lock); in hfi1_alloc_devdata()
H A Dhfi.h1127 spinlock_t uctxt_lock; /* protect rcd changes */ member

Completed in 77 milliseconds