Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
1454 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
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/
H A 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()
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()