/linux-master/include/net/ |
H A D | sch_generic.h | 70 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 D | shmem_fs.h | 21 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 D | iomode.c | 38 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 D | inode.c | 106 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 D | file.c | 193 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 D | fuse_i.h | 126 /* 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 D | dir.c | 246 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 D | vfs_file.c | 95 * 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 D | ism_drv.c | 54 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 D | device_ops.c | 135 * 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 D | device.c | 272 * 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 D | pmf.h | 272 struct mutex lock; /* protects the PMF interface */ member in struct:amd_pmf_dev
|
H A D | core.c | 189 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 D | tun.c | 197 /* 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 D | am65-cpsw-nuss.c | 1003 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 D | stmmac_main.c | 485 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 D | main.c | 1824 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 D | eswitch_offloads.c | 3311 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 D | lag.c | 52 * 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 D | otx2_tc.c | 45 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 D | cm.c | 112 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 D | ttm_pool.c | 236 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 D | radeon_atombios.c | 4137 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 D | nv50.c | 66 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 D | nouveau_bios.c | 2027 spin_lock_init(&legacy->lock);
|