/linux-master/drivers/nvme/host/ |
H A D | multipath.c | 57 lockdep_assert_held(&subsys->lock); 67 lockdep_assert_held(&subsys->lock); 77 lockdep_assert_held(&subsys->lock); 523 mutex_init(&head->lock); 593 mutex_lock(&head->lock); 602 mutex_unlock(&head->lock);
|
H A D | core.c | 541 spin_lock_irqsave(&ctrl->lock, flags); 615 spin_unlock_irqrestore(&ctrl->lock, flags); 1164 mutex_lock(&ctrl->subsys->lock); 1180 mutex_unlock(&ctrl->subsys->lock); 1286 spin_lock_irqsave(&ctrl->lock, flags); 1290 spin_unlock_irqrestore(&ctrl->lock, flags); 2872 mutex_init(&subsys->lock); 3392 lockdep_assert_held(&ctrl->subsys->lock); 3417 lockdep_assert_held(&subsys->lock); 3566 * lock ove [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_debugfs.c | 2712 mutex_lock(&mcam->lock); 2727 mutex_unlock(&mcam->lock); 2745 mutex_unlock(&mcam->lock); 3009 mutex_lock(&mcam->lock); 3053 mutex_unlock(&mcam->lock); 3072 mutex_lock(&table->lock); 3141 mutex_unlock(&table->lock);
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 311 * Tx buffers. Called with the Tx queue lock held. 367 * the Tx lock hold time O(1). 2266 spin_lock(&eohw_txq->lock); 2380 spin_unlock(&eohw_txq->lock); 2435 spin_lock_bh(&eosw_txq->lock); 2451 spin_unlock_bh(&eosw_txq->lock); 2455 spin_unlock_bh(&eosw_txq->lock); 2557 spin_lock_bh(&eosw_txq->lock); 2609 spin_unlock_bh(&eosw_txq->lock); 2614 spin_unlock_bh(&eosw_txq->lock); [all...] |
/linux-master/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmmii.c | 145 mutex_lock(&phydev->lock); 148 mutex_unlock(&phydev->lock); 280 mutex_lock(&phydev->lock); 292 mutex_unlock(&phydev->lock);
|
H A D | bcmgenet.h | 511 spinlock_t lock; /* ring lock */ member in struct:bcmgenet_tx_ring 576 /* reg_lock: lock to serialize access to shared registers */ 628 spinlock_t lock; member in struct:bcmgenet_priv
|
H A D | bcmgenet.c | 1930 spin_lock_bh(&ring->lock); 1932 spin_unlock_bh(&ring->lock); 1944 spin_lock(&ring->lock); 1950 spin_unlock(&ring->lock); 2076 spin_lock(&ring->lock); 2166 spin_unlock(&ring->lock); 2639 spin_lock_init(&ring->lock); 3128 spin_lock_irq(&priv->lock); 3131 spin_unlock_irq(&priv->lock); 3240 spin_lock_irqsave(&priv->lock, flag [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_vm.c | 79 lockdep_assert_held(&vm->lock); 181 lockdep_assert_held(&vm->lock); 206 lockdep_assert_held(&vm->lock); 309 lockdep_assert_held(&vm->lock); 334 down_write(&vm->lock); 369 up_write(&vm->lock); 384 down_write(&vm->lock); 392 up_write(&vm->lock); 420 lockdep_assert_held(&vm->lock); 472 lockdep_assert_held(&vm->lock); [all...] |
/linux-master/drivers/gpu/drm/xe/compat-i915-headers/ |
H A D | i915_drv.h | 232 #define irq_lock irq.lock
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fence.c | 37 spinlock_t lock; member in struct:vmw_fence_manager 45 bool seqno_valid; /* Protected by @lock, and may not be set to true 82 return container_of(fence->base.lock, struct vmw_fence_manager, lock); 130 spin_lock(&fman->lock); 133 spin_unlock(&fman->lock); 193 spin_lock(f->lock); 234 spin_unlock(f->lock); 238 spin_lock(f->lock); 245 spin_unlock(f->lock); [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc.c | 1086 bool lock) 1092 dc->hwss.interdependent_update_lock(dc, context, lock); 1102 dc->hwss.pipe_control_lock(dc, pipe_ctx, lock); 1939 * SubVP lock is acquired 3459 * to build an array of commands and have them sent while the OTG lock is acquired. 3511 /*set logical flag for lock/unlock use*/ 3739 * move the SubVP lock to after the phantom pipes have been setup 3766 /*set logical flag for lock/unlock use*/ 3869 /*program triple buffer after lock based on flip type*/ 3942 * move the SubVP lock t 1083 apply_ctx_interdependent_lock(struct dc *dc, struct dc_state *context, struct dc_stream_state *stream, bool lock) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_debugfs.c | 350 drm_modeset_lock(&mgr->base.lock, NULL); 354 drm_modeset_unlock(&mgr->base.lock); 2692 drm_modeset_lock(&mgr->base.lock, NULL); 2696 drm_modeset_unlock(&mgr->base.lock);
|
H A D | amdgpu_dm.c | 2399 mutex_lock(&mgr->lock); 2440 mutex_unlock(&mgr->lock); 3876 * to trigger at end of each vblank, regardless of state of the lock, 3975 * Acquires the lock for the atomic state object and returns 10571 * CRTC while flipping on another CRTC, acquiring global lock will guarantee
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gpuvm.c | 351 * NOTE: Must be called with BO reserved i.e. bo->tbo.resv->lock held. 1021 mutex_lock(&process_info->lock); 1027 mutex_unlock(&process_info->lock); 1033 mutex_lock(&process_info->lock); 1035 mutex_unlock(&process_info->lock); 1045 * Takes the process_info->lock to protect against concurrent restore 1059 mutex_lock(&process_info->lock); 1084 mutex_unlock(&process_info->lock); 1111 mutex_unlock(&process_info->lock); 1378 mutex_init(&info->lock); [all...] |
/linux-master/drivers/firewire/ |
H A D | ohci.c | 195 * this driver with this lock held. 197 spinlock_t lock; member in struct:fw_ohci 1131 spin_lock_irqsave(&ctx->ohci->lock, flags); 1133 spin_unlock_irqrestore(&ctx->ohci->lock, flags); 1141 * context. Must be called with ohci->lock held. 1221 /* Must be called with ohci->lock held */ 1328 * Must always be called with the ochi->lock held to ensure proper 1631 ohci_err(ohci, "swap not done (CSR lock timeout)\n"); 1684 spin_lock_irqsave(&ctx->ohci->lock, flags); 1688 spin_unlock_irqrestore(&ctx->ohci->lock, flag [all...] |
/linux-master/drivers/block/ |
H A D | ublk_drv.c | 173 spinlock_t lock; member in struct:ublk_device 1034 * exiting. So lock is unnecessary. 1307 spin_lock(&ub->lock); 1312 spin_unlock(&ub->lock); 1400 spin_lock(&ub->lock); 1404 spin_unlock(&ub->lock); 1585 /* Sync with ublk_abort_queue() by holding the lock */ 1586 spin_lock(&ub->lock); 1591 spin_unlock(&ub->lock); 2386 spin_lock_init(&ub->lock); [all...] |
/linux-master/drivers/base/regmap/ |
H A D | regmap.c | 118 map->lock(map->lock_arg); 692 map->lock = map->unlock = regmap_lock_unlock_none; 695 } else if (config->lock && config->unlock) { 696 map->lock = config->lock; 709 map->lock = regmap_lock_hwlock_irqsave; 713 map->lock = regmap_lock_hwlock_irq; 717 map->lock = regmap_lock_hwlock; 728 map->lock = regmap_lock_raw_spinlock; 734 map->lock [all...] |
/linux-master/arch/s390/mm/ |
H A D | gmap.c | 117 spin_lock(&mm->context.lock); 124 spin_unlock(&mm->context.lock); 267 spin_lock(&gmap->mm->context.lock); 277 spin_unlock(&gmap->mm->context.lock); 860 * gmap_pte_op_walk - walk the gmap page table, get the page table lock 874 /* Walk the gmap page table, lock and get pte pointer */ 911 * gmap_pte_op_end - release the page table lock 921 * gmap_pmd_op_walk - walk the gmap tables, get the guest table lock 937 /* without huge pages, there is no need to take the table lock */ 2264 * This function is assumed to be called with the page table lock hel [all...] |
/linux-master/kernel/ |
H A D | workqueue.c | 146 * L: pool->lock protected. Access with pool->lock held. 148 * LN: pool->lock and wq_node_nr_active->lock protected for writes. Either for 151 * K: Only modified by worker while holding pool->lock. Can be safely read by 152 * self, while holding pool->lock or from IRQ context if %current is the 183 raw_spinlock_t lock; /* the pool lock */ member in struct:worker_pool 195 * but w/ pool->lock held. The readers grab pool->lock an 327 raw_spinlock_t lock; /* nests inside pool locks */ member in struct:wq_node_nr_active [all...] |
/linux-master/fs/nfsd/ |
H A D | nfs4xdr.c | 876 struct nfsd4_lock *lock) 880 if (xdr_stream_decode_u32(argp->xdr, &lock->lk_new_open_seqid) < 0) 882 status = nfsd4_decode_stateid4(argp, &lock->lk_new_open_stateid); 885 if (xdr_stream_decode_u32(argp->xdr, &lock->lk_new_lock_seqid) < 0) 887 return nfsd4_decode_state_owner4(argp, &lock->lk_new_clientid, 888 &lock->lk_new_owner); 893 struct nfsd4_lock *lock) 897 status = nfsd4_decode_stateid4(argp, &lock->lk_old_lock_stateid); 900 if (xdr_stream_decode_u32(argp->xdr, &lock->lk_old_lock_seqid) < 0) 907 nfsd4_decode_locker4(struct nfsd4_compoundargs *argp, struct nfsd4_lock *lock) argument 875 nfsd4_decode_open_to_lock_owner4(struct nfsd4_compoundargs *argp, struct nfsd4_lock *lock) argument 892 nfsd4_decode_exist_lock_owner4(struct nfsd4_compoundargs *argp, struct nfsd4_lock *lock) argument 919 struct nfsd4_lock *lock = &u->lock; local 4055 struct nfsd4_lock *lock = &u->lock; local [all...] |
/linux-master/fs/bcachefs/ |
H A D | btree_node_scan.c | 77 six_unlock_read(&b->c.lock); 169 mutex_lock(&f->lock); 179 mutex_unlock(&f->lock); 336 mutex_init(&f->lock);
|
H A D | btree_node_scan_types.h | 27 struct mutex lock; member in struct:find_btree_nodes
|
/linux-master/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzg2l.c | 314 spinlock_t lock; /* lock read/write registers */ member in struct:rzg2l_pinctrl 469 spin_lock_irqsave(&pctrl->lock, flags); 497 spin_unlock_irqrestore(&pctrl->lock, flags); 828 spin_lock_irqsave(&pctrl->lock, flags); 831 spin_unlock_irqrestore(&pctrl->lock, flags); 1063 spin_lock_irqsave(&pctrl->lock, flags); 1070 spin_unlock_irqrestore(&pctrl->lock, flags); 1407 spin_lock_irqsave(&pctrl->lock, flags); 1414 spin_unlock_irqrestore(&pctrl->lock, flag [all...] |
/linux-master/drivers/pinctrl/mediatek/ |
H A D | pinctrl-paris.c | 1055 spin_lock_init(&hw->lock);
|
/linux-master/drivers/pinctrl/intel/ |
H A D | pinctrl-intel.h | 236 * @lock: Lock to serialize register access 248 raw_spinlock_t lock; member in struct:intel_pinctrl
|