Searched refs:lock (Results 176 - 200 of 6515) sorted by last modified time

1234567891011>>

/linux-master/include/net/
H A Dsch_generic.h70 spinlock_t lock; member in struct:qdisc_skb_head
191 * the qdisc root lock acquired.
207 /* Try to take the lock again to make sure that we will either
281 /* Implements API that doesn't require rtnl lock */
410 /* called under RCU BH lock*/
424 spinlock_t lock; member in struct:tcf_proto
464 struct mutex lock; member in struct:tcf_block
477 unsigned int lockeddevcnt; /* Number of devs that require rtnl lock. */
496 return lockdep_is_held(&tp->lock);
540 return &qdisc->q.lock;
[all...]
/linux-master/include/linux/
H A Dshmem_fs.h21 spinlock_t lock; member in struct:shmem_inode_info
98 extern int shmem_lock(struct file *file, int lock, struct ucounts *ucounts);
/linux-master/fs/fuse/
H A Diomode.c38 spin_lock(&fi->lock);
41 * lock - without it the wait below might be forever.
45 spin_unlock(&fi->lock);
47 spin_lock(&fi->lock);
56 spin_unlock(&fi->lock);
67 spin_unlock(&fi->lock);
74 spin_lock(&fi->lock);
81 spin_unlock(&fi->lock);
90 spin_lock(&fi->lock);
111 spin_unlock(&fi->lock);
[all...]
H A Dinode.c106 spin_lock_init(&fi->lock);
214 lockdep_assert_held(&fi->lock);
308 spin_lock(&fi->lock);
329 spin_unlock(&fi->lock);
344 spin_unlock(&fi->lock);
486 spin_lock(&fi->lock);
488 spin_unlock(&fi->lock);
530 spin_lock(&fi->lock);
532 spin_unlock(&fi->lock);
652 spin_lock(&fc->lock);
[all...]
H A Dfile.c193 spin_lock(&fi->lock);
196 spin_unlock(&fi->lock);
225 spin_lock(&fi->lock);
228 spin_unlock(&fi->lock);
302 spin_lock(&fi->lock);
304 spin_unlock(&fi->lock);
306 spin_lock(&fc->lock);
309 spin_unlock(&fc->lock);
461 spin_lock(&fi->lock);
463 spin_unlock(&fi->lock);
[all...]
H A Dfuse_i.h126 /* Files usable in writepage. Protected by fi->lock */
171 spinlock_t lock; member in struct:fuse_inode::__anon39::__anon41
182 spinlock_t lock; member in struct:fuse_inode
343 spinlock_t lock; member in struct:fuse_io_priv
397 * .waitq.lock protects the following fields:
399 * - FR_LOCKED (may also be modified under fc->lock, tested under both)
455 __releases(fiq->lock);
461 __releases(fiq->lock);
467 __releases(fiq->lock);
483 spinlock_t lock; member in struct:fuse_iqueue
522 spinlock_t lock; member in struct:fuse_pqueue
602 spinlock_t lock; member in struct:fuse_conn
[all...]
H A Ddir.c246 spin_lock(&fi->lock);
248 spin_unlock(&fi->lock);
959 spin_lock(&fi->lock);
971 spin_unlock(&fi->lock);
1787 spin_lock(&fi->lock);
1790 spin_unlock(&fi->lock);
1813 spin_lock(&fi->lock);
1815 spin_unlock(&fi->lock);
1987 spin_lock(&fi->lock);
2006 /* NOTE: this may release/reacquire fi->lock */
[all...]
/linux-master/fs/9p/
H A Dvfs_file.c95 * v9fs_file_lock - lock a file (or directory)
97 * @cmd: lock command
98 * @fl: file lock structure
100 * Bugs: this looks like a local only lock, we should extend into 9P
108 p9_debug(P9_DEBUG_VFS, "filp: %p lock: %p\n", filp, fl);
135 /* convert posix lock to p9 tlock args */
137 /* map the lock type */
163 * for lock request, keep on trying
196 WARN_ONCE(1, "unknown lock status code: %d\n", status);
206 * incase server returned error for lock reques
[all...]
/linux-master/drivers/s390/net/
H A Dism_drv.c54 spin_lock_irqsave(&ism->lock, flags);
56 spin_unlock_irqrestore(&ism->lock, flags);
100 spin_lock_irqsave(&ism->lock, flags);
111 spin_unlock_irqrestore(&ism->lock, flags);
123 spin_unlock_irqrestore(&ism->lock, flags);
375 spin_lock_irqsave(&ism->lock, flags);
377 spin_unlock_irqrestore(&ism->lock, flags);
395 spin_lock_irqsave(&ism->lock, flags);
397 spin_unlock_irqrestore(&ism->lock, flags);
497 spin_lock(&ism->lock);
[all...]
/linux-master/drivers/s390/cio/
H A Ddevice_ops.c135 * Interrupts disabled, ccw device lock held
189 * Interrupts disabled, ccw device lock held
273 * Interrupts disabled, ccw device lock held
307 * Interrupts disabled, ccw device lock held
345 * Interrupts disabled, ccw device lock held
372 * Interrupts disabled, ccw device lock held
407 * Interrupts disabled, ccw device lock held
513 mutex_lock(&chp->lock);
515 mutex_unlock(&chp->lock);
670 mutex_lock(&chp->lock);
[all...]
H A Ddevice.c272 * enabled, ccw device lock not held
349 * enabled, ccw device lock not held
754 cdev->ccwlock = &sch->lock;
770 spin_lock_irq(&sch->lock);
772 spin_unlock_irq(&sch->lock);
857 spin_lock_irqsave(&sch->lock, flags);
859 spin_unlock_irqrestore(&sch->lock, flags);
910 spin_lock_irq(&sch->lock);
912 spin_unlock_irq(&sch->lock);
927 spin_lock_irq(&old_sch->lock);
[all...]
/linux-master/drivers/platform/x86/amd/pmf/
H A Dpmf.h272 struct mutex lock; /* protects the PMF interface */ member in struct:amd_pmf_dev
H A Dcore.c189 mutex_lock(&dev->lock);
243 mutex_unlock(&dev->lock);
445 mutex_init(&dev->lock);
471 mutex_destroy(&dev->lock);
/linux-master/drivers/net/
H A Dtun.c197 /* protected by rtnl lock */
200 spinlock_t lock; member in struct:tun_struct
237 spin_lock(&queue->lock);
239 spin_unlock(&queue->lock);
247 spin_lock(&queue->lock);
249 spin_unlock(&queue->lock);
415 spin_lock_bh(&tun->lock);
423 spin_unlock_bh(&tun->lock);
430 spin_lock_bh(&tun->lock);
440 spin_unlock_bh(&tun->lock);
[all...]
/linux-master/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.c1003 spin_lock(&tx_chn->lock);
1005 spin_unlock(&tx_chn->lock);
1263 spin_lock_bh(&tx_chn->lock);
1265 spin_unlock_bh(&tx_chn->lock);
1793 spin_lock_init(&tx_chn->lock);
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c485 mutex_lock(&priv->lock);
499 mutex_unlock(&priv->lock);
523 mutex_unlock(&priv->lock);
2300 spin_lock_irqsave(&ch->lock, flags);
2302 spin_unlock_irqrestore(&ch->lock, flags);
2878 spin_lock_irqsave(&ch->lock, flags);
2880 spin_unlock_irqrestore(&ch->lock, flags);
2887 spin_lock_irqsave(&ch->lock, flags);
2889 spin_unlock_irqrestore(&ch->lock, flags);
3104 spin_lock_irqsave(&ch->lock, flag
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c1824 mutex_init(&priv->bfregs.reg_head.lock);
1825 mutex_init(&priv->bfregs.wc_head.lock);
1895 mutex_destroy(&priv->bfregs.wc_head.lock);
1896 mutex_destroy(&priv->bfregs.reg_head.lock);
1918 mutex_destroy(&priv->bfregs.wc_head.lock);
1919 mutex_destroy(&priv->bfregs.reg_head.lock);
2265 * Upon return the interface state lock stay held to let caller uses it safely.
2293 * Upon return the interface state lock is unlocked and caller should not
H A Deswitch_offloads.c3311 mutex_init(&esw->fdb_table.offloads.vports.lock);
3367 mutex_destroy(&esw->fdb_table.offloads.vports.lock);
3381 mutex_destroy(&esw->fdb_table.offloads.vports.lock);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.c52 * Beware of lock dependencies (preferably, no locks should be acquired
233 mutex_destroy(&ldev->lock);
263 mutex_init(&ldev->lock);
957 mutex_lock(&ldev->lock);
964 mutex_unlock(&ldev->lock);
991 mutex_lock(&ldev->lock);
993 mutex_unlock(&ldev->lock);
1000 mutex_unlock(&ldev->lock);
1242 /* Must be called with HCA devcom component lock held */
1263 mutex_lock(&ldev->lock);
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c45 spinlock_t lock; /* lock for stats */ member in struct:otx2_tc_flow
160 mutex_lock(&nic->mbox.lock);
163 mutex_unlock(&nic->mbox.lock);
173 mutex_unlock(&nic->mbox.lock);
298 mutex_lock(&nic->mbox.lock);
302 mutex_unlock(&nic->mbox.lock);
315 mutex_unlock(&nic->mbox.lock);
324 mutex_unlock(&nic->mbox.lock);
374 mutex_lock(&nic->mbox.lock);
[all...]
/linux-master/drivers/infiniband/core/
H A Dcm.c112 spinlock_t lock; member in struct:ib_cm
212 spinlock_t lock; /* Do not acquire inside cm.lock */ member in struct:cm_id_private
216 * Protected by the cm.lock spinlock.
282 lockdep_assert_held(&cm_id_priv->lock);
337 lockdep_assert_held(&cm_id_priv->lock);
350 lockdep_assert_held(&cm_id_priv->lock);
624 spin_lock_irqsave(&cm.lock, flags);
646 spin_unlock_irqrestore(&cm.lock, flags);
651 spin_unlock_irqrestore(&cm.lock, flag
[all...]
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_pool.c236 spin_lock(&pt->lock);
238 spin_unlock(&pt->lock);
247 spin_lock(&pt->lock);
253 spin_unlock(&pt->lock);
265 spin_lock_init(&pt->lock);
662 spin_lock(&pt->lock);
666 spin_unlock(&pt->lock);
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c4137 void radeon_atom_output_lock(struct drm_encoder *encoder, bool lock) argument
4148 if (lock) {
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dnv50.c66 spin_lock_irqsave(&imem->base.lock, flags);
72 spin_unlock_irqrestore(&imem->base.lock, flags);
86 spin_lock_irqsave(&imem->base.lock, flags);
92 spin_unlock_irqrestore(&imem->base.lock, flags);
134 * into it. The lock has to be dropped while doing this due
231 /* Take the lock, and re-check that another thread hasn't
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_bios.c2027 spin_lock_init(&legacy->lock);

Completed in 385 milliseconds

1234567891011>>