/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | file_ops.c | 677 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 D | intr.c | 249 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 D | init.c | 219 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 D | hfi.h | 1177 spinlock_t uctxt_lock; /* protect rcd changes */ member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_tx.c | 89 * 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 D | qib_intr.c | 195 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 D | qib_driver.c | 761 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 D | qib_file_ops.c | 1090 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 D | qib_init.c | 416 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 D | qib.h | 900 spinlock_t uctxt_lock; /* rcd and user context changes */ member
|
H A D | qib_iba7220.c | 4369 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 D | qib_iba7322.c | 7098 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 D | qib_tx.c | 88 * 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 D | qib_intr.c | 195 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 D | qib_driver.c | 762 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 D | qib_file_ops.c | 1089 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 D | qib_init.c | 416 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 D | qib.h | 896 spinlock_t uctxt_lock; /* rcd and user context changes */ member
|
H A D | qib_iba7220.c | 4369 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 D | qib_iba7322.c | 7069 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 D | intr.c | 207 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 D | file_ops.c | 667 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 D | init.c | 178 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 D | hfi.h | 1127 spinlock_t uctxt_lock; /* protect rcd changes */ member
|