Home
last modified time | relevance | path

Searched refs:flush_lock (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/staging/speakup/
Dspeakup_dectlk.c40 static spinlock_t flush_lock; variable
173 spin_lock_irqsave(&flush_lock, flags); in read_buff_add()
176 spin_unlock_irqrestore(&flush_lock, flags); in read_buff_add()
216 spin_lock_irqsave(&flush_lock, flags); in do_catch_up()
219 spin_unlock_irqrestore(&flush_lock, flags); in do_catch_up()
221 spin_lock_irqsave(&flush_lock, flags); in do_catch_up()
225 spin_unlock_irqrestore(&flush_lock, flags); in do_catch_up()
/Linux-v4.19/drivers/md/
Ddm-log-userspace-base.c54 spinlock_t flush_lock; member
229 spin_lock_init(&lc->flush_lock); in userspace_ctr()
574 spin_lock_irqsave(&lc->flush_lock, flags); in userspace_flush()
577 spin_unlock_irqrestore(&lc->flush_lock, flags); in userspace_flush()
658 spin_lock_irqsave(&lc->flush_lock, flags); in userspace_mark_region()
662 spin_unlock_irqrestore(&lc->flush_lock, flags); in userspace_mark_region()
695 spin_lock_irqsave(&lc->flush_lock, flags); in userspace_clear_region()
699 spin_unlock_irqrestore(&lc->flush_lock, flags); in userspace_clear_region()
Ddm-zoned-target.c63 spinlock_t flush_lock; member
514 spin_lock(&dmz->flush_lock); in dmz_flush_work()
516 spin_unlock(&dmz->flush_lock); in dmz_flush_work()
607 spin_lock(&dmz->flush_lock); in dmz_map()
609 spin_unlock(&dmz->flush_lock); in dmz_map()
800 spin_lock_init(&dmz->flush_lock); in dmz_ctr()
/Linux-v4.19/net/rds/
Dib_rdma.c368 while (!mutex_trylock(&pool->flush_lock)) { in rds_ib_flush_mr_pool()
390 mutex_lock(&pool->flush_lock); in rds_ib_flush_mr_pool()
445 mutex_unlock(&pool->flush_lock); in rds_ib_flush_mr_pool()
614 mutex_init(&pool->flush_lock); in rds_ib_create_mr_pool()
Dib_mr.h90 struct mutex flush_lock; /* serialize fmr invalidate */ member
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c93 __acquires(&qp->scq->flush_lock) __acquires(&qp->rcq->flush_lock) in bnxt_qplib_acquire_cq_flush_locks()
95 spin_lock_irqsave(&qp->scq->flush_lock, *flags); in bnxt_qplib_acquire_cq_flush_locks()
97 __acquire(&qp->rcq->flush_lock); in bnxt_qplib_acquire_cq_flush_locks()
99 spin_lock(&qp->rcq->flush_lock); in bnxt_qplib_acquire_cq_flush_locks()
104 __releases(&qp->scq->flush_lock) __releases(&qp->rcq->flush_lock) in bnxt_qplib_release_cq_flush_locks()
107 __release(&qp->rcq->flush_lock); in bnxt_qplib_release_cq_flush_locks()
109 spin_unlock(&qp->rcq->flush_lock); in bnxt_qplib_release_cq_flush_locks()
110 spin_unlock_irqrestore(&qp->scq->flush_lock, *flags); in bnxt_qplib_release_cq_flush_locks()
2725 spin_lock_irqsave(&cq->flush_lock, flags); in bnxt_qplib_process_flush_list()
2739 spin_unlock_irqrestore(&cq->flush_lock, flags); in bnxt_qplib_process_flush_list()
Dqplib_fp.h403 spinlock_t flush_lock; /* QP flush management */ member