Searched refs:lock (Results 51 - 75 of 6515) sorted by last modified time

1234567891011>>

/linux-master/arch/arm64/kvm/vgic/
H A Dvgic-kvm-device.c264 mutex_lock(&dev->kvm->lock);
267 mutex_unlock(&dev->kvm->lock);
275 mutex_unlock(&dev->kvm->lock);
380 mutex_lock(&dev->kvm->lock);
383 mutex_unlock(&dev->kvm->lock);
408 mutex_unlock(&dev->kvm->lock);
541 mutex_lock(&dev->kvm->lock);
544 mutex_unlock(&dev->kvm->lock);
588 mutex_unlock(&dev->kvm->lock);
/linux-master/kernel/sched/
H A Dfair.c1379 spinlock_t lock; /* nr_tasks, tasks */ member in struct:numa_group
2833 group_lock = &ng->lock;
2950 spin_lock_init(&grp->lock);
3009 double_lock_irq(&my_grp->lock, &grp->lock);
3021 spin_unlock(&my_grp->lock);
3022 spin_unlock_irq(&grp->lock);
3053 spin_lock_irqsave(&grp->lock, flags);
3059 spin_unlock_irqrestore(&grp->lock, flags);
4181 * including the state of rq->lock, shoul
[all...]
/linux-master/drivers/phy/marvell/
H A Dphy-mvebu-a3700-comphy.c266 spinlock_t lock; /* for PHY selector access */ member in struct:mvebu_a3700_comphy_priv
512 spin_lock_irqsave(&lane->priv->lock, flags);
518 spin_unlock_irqrestore(&lane->priv->lock, flags);
594 dev_err(lane->dev, "Failed to lock SATA PLL\n");
780 dev_err(lane->dev, "Failed to lock PLL for SERDES PHY %d\n",
805 dev_err(lane->dev, "Failed to lock PLL for SERDES PHY %d\n",
980 dev_err(lane->dev, "Failed to lock USB3 PLL\n");
1068 dev_err(lane->dev, "Failed to lock PCIE PLL\n");
1254 spin_lock_init(&priv->lock);
/linux-master/drivers/misc/eeprom/
H A Dat24.c77 struct mutex lock; member in struct:at24_data
450 mutex_lock(&at24->lock);
455 mutex_unlock(&at24->lock);
461 mutex_unlock(&at24->lock);
494 mutex_lock(&at24->lock);
499 mutex_unlock(&at24->lock);
508 mutex_unlock(&at24->lock);
686 mutex_init(&at24->lock);
/linux-master/drivers/irqchip/
H A Dirq-gic-v3-its.c97 raw_spinlock_t lock; member in struct:its_node
172 raw_spinlock_t lock; member in struct:__anon13
295 /* Physical LPIs are already locked via the irq_desc lock */
1130 raw_spin_lock_irqsave(&its->lock, flags); \
1134 raw_spin_unlock_irqrestore(&its->lock, flags); \
1152 raw_spin_unlock_irqrestore(&its->lock, flags); \
3290 raw_spin_lock_irqsave(&its->lock, flags);
3299 raw_spin_unlock_irqrestore(&its->lock, flags);
3474 raw_spin_lock_irqsave(&its->lock, flags);
3476 raw_spin_unlock_irqrestore(&its->lock, flag
[all...]
/linux-master/drivers/dma/xilinx/
H A Dxilinx_dpdma.c217 * @lock: lock to access struct xilinx_dpdma_chan. Must be taken before
218 * @vchan.lock, if both are to be held.
236 spinlock_t lock; /* lock to access struct xilinx_dpdma_chan */ member in struct:xilinx_dpdma_chan
835 lockdep_assert_held(&chan->lock);
1026 spin_lock_irqsave(&chan->lock, flags);
1029 spin_unlock_irqrestore(&chan->lock, flags);
1048 spin_lock_irqsave(&chan->lock, flags);
1060 spin_unlock_irqrestore(&chan->lock, flag
[all...]
H A Dxdma.c336 * vchan lock should be held where this function is called.
501 spin_lock_irqsave(&xdma_chan->vchan.lock, flags);
504 spin_unlock_irqrestore(&xdma_chan->vchan.lock, flags);
520 spin_lock_irqsave(&xdma_chan->vchan.lock, flags);
533 spin_unlock_irqrestore(&xdma_chan->vchan.lock, flags);
852 spin_lock_irqsave(&xdma_chan->vchan.lock, flags);
867 spin_unlock_irqrestore(&xdma_chan->vchan.lock, flags);
891 spin_lock(&xchan->vchan.lock);
969 spin_unlock(&xchan->vchan.lock);
/linux-master/drivers/dma/
H A Dtegra186-gpc-dma.c408 spin_lock_irqsave(&tdc->vc.lock, flags);
410 spin_unlock_irqrestore(&tdc->vc.lock, flags);
432 spin_lock_irqsave(&tdc->vc.lock, flags);
434 spin_unlock_irqrestore(&tdc->vc.lock, flags);
605 spin_lock(&tdc->vc.lock);
631 spin_unlock(&tdc->vc.lock);
643 spin_lock_irqsave(&tdc->vc.lock, flags);
657 spin_unlock_irqrestore(&tdc->vc.lock, flags);
705 spin_lock_irqsave(&tdc->vc.lock, flags);
710 spin_unlock_irqrestore(&tdc->vc.lock, flag
[all...]
H A Dpl330.c441 spinlock_t lock; member in struct:dma_pl330_chan
481 spinlock_t lock; member in struct:pl330_dmac
1101 /* check lock-up free version */
1514 spin_lock_irqsave(&pl330->lock, flags);
1552 spin_unlock_irqrestore(&pl330->lock, flags);
1571 spin_lock_irqsave(&pch->lock, flags);
1575 spin_unlock_irqrestore(&pch->lock, flags);
1586 spin_lock_irqsave(&pl330->lock, flags);
1619 spin_unlock_irqrestore(&pl330->lock, flags);
1622 spin_lock_irqsave(&pl330->lock, flag
2549 add_desc(struct list_head *pool, spinlock_t *lock, gfp_t flg, int count) argument
2572 pluck_desc(struct list_head *pool, spinlock_t *lock) argument
[all...]
H A Dowl-dma.c216 * @lock: a lock to use when change DMA controller global register
229 spinlock_t lock; member in struct:owl_dma
478 spin_lock_irqsave(&od->lock, flags);
481 spin_unlock_irqrestore(&od->lock, flags);
485 spin_unlock_irqrestore(&od->lock, flags);
509 spin_lock_irqsave(&od->lock, flags);
522 spin_unlock_irqrestore(&od->lock, flags);
570 spin_lock_irqsave(&od->lock, flags);
574 spin_unlock_irqrestore(&od->lock, flag
[all...]
H A Didma64.c145 spin_lock(&idma64c->vchan.lock);
163 spin_unlock(&idma64c->vchan.lock);
342 spin_lock_irqsave(&idma64c->vchan.lock, flags);
345 spin_unlock_irqrestore(&idma64c->vchan.lock, flags);
386 spin_lock_irqsave(&idma64c->vchan.lock, flags);
396 spin_unlock_irqrestore(&idma64c->vchan.lock, flags);
453 spin_lock_irqsave(&idma64c->vchan.lock, flags);
458 spin_unlock_irqrestore(&idma64c->vchan.lock, flags);
468 spin_lock_irqsave(&idma64c->vchan.lock, flags);
473 spin_unlock_irqrestore(&idma64c->vchan.lock, flag
[all...]
/linux-master/drivers/dma/idxd/
H A Dirq.c366 mutex_lock(&evl->lock);
383 mutex_unlock(&evl->lock);
597 * This lock protects list corruption from access of list outside of the irq handler
H A Didxd.h296 struct mutex lock; member in struct:idxd_evl
H A Dinit.c357 mutex_init(&evl->lock);
H A Ddevice.c513 * After command submitted, release lock and go to sleep until
728 * Clearing wq state is protected by wq lock.
729 * So no need to be protected by device lock.
778 mutex_lock(&evl->lock);
799 mutex_unlock(&evl->lock);
822 mutex_lock(&evl->lock);
839 mutex_unlock(&evl->lock);
H A Dcdev.c345 mutex_lock(&evl->lock);
358 mutex_unlock(&evl->lock);
H A Ddebugfs.c69 mutex_lock(&evl->lock);
90 mutex_unlock(&evl->lock);
/linux-master/arch/x86/kernel/
H A Dprocess_64.c440 mutex_lock(&task->mm->context.lock);
446 mutex_unlock(&task->mm->context.lock);
/linux-master/net/unix/
H A Dgarbage.c165 spin_lock(&x->sk_receive_queue.lock);
193 spin_unlock(&x->sk_receive_queue.lock);
210 spin_lock(&x->sk_receive_queue.lock);
220 spin_unlock(&x->sk_receive_queue.lock);
/linux-master/net/netfilter/ipvs/
H A Dip_vs_proto_sctp.c479 spin_lock_bh(&cp->lock);
481 spin_unlock_bh(&cp->lock);
/linux-master/net/mac80211/
H A Dtx.c1123 spin_lock(&tx->sta->lock);
1130 * queue yet -- if this happened we acquire the lock
1163 spin_unlock(&tx->sta->lock);
1451 spin_lock_bh(&fq->lock);
1466 spin_unlock_bh(&fq->lock);
1497 spin_lock_bh(&fq->lock);
1500 spin_unlock_bh(&fq->lock);
1550 spin_lock_bh(&fq->lock);
1553 spin_unlock_bh(&fq->lock);
1615 spin_lock_bh(&fq->lock);
[all...]
H A Drx.c4291 * it has to be invoked under RCU read lock.
4709 spin_lock_bh(&sta->lock);
4712 spin_unlock_bh(&sta->lock);
4722 spin_lock_bh(&sta->lock);
4725 spin_unlock_bh(&sta->lock);
H A Dmesh_pathtbl.c123 spin_lock_irqsave(&mpath->frame_queue.lock, flags);
131 spin_unlock_irqrestore(&mpath->frame_queue.lock, flags);
206 spin_lock_irqsave(&from_mpath->frame_queue.lock, flags);
208 spin_unlock_irqrestore(&from_mpath->frame_queue.lock, flags);
237 spin_lock_irqsave(&from_mpath->frame_queue.lock, flags);
239 spin_unlock_irqrestore(&from_mpath->frame_queue.lock, flags);
518 * Same use of the sta lock as in ieee80211_check_fast_xmit, in order
521 spin_lock_bh(&sta->lock);
604 spin_unlock_bh(&sta->lock);
/linux-master/net/ipv4/
H A Droute.c639 __be32 gw, u32 pmtu, bool lock,
679 fnhe->fnhe_mtu_locked = lock;
709 fnhe->fnhe_mtu_locked = lock;
1024 bool lock = false; local
1035 lock = true;
1039 if (rt->rt_pmtu == mtu && !lock &&
1049 update_or_create_fnhe(nhc, fl4->daddr, 0, mtu, lock,
1500 spinlock_t lock; member in struct:uncached_list
1513 spin_lock_bh(&ul->lock);
1515 spin_unlock_bh(&ul->lock);
638 update_or_create_fnhe(struct fib_nh_common *nhc, __be32 daddr, __be32 gw, u32 pmtu, bool lock, unsigned long expires) argument
[all...]
H A Dicmp.c225 spinlock_t lock; member in struct:__anon159
229 .lock = __SPIN_LOCK_UNLOCKED(icmp_global.lock),
254 spin_lock(&icmp_global.lock);
271 spin_unlock(&icmp_global.lock);

Completed in 507 milliseconds

1234567891011>>