Home
last modified time | relevance | path

Searched refs:rlock (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dspinlock.h329 return &lock->rlock; in spinlock_check()
354 raw_spin_lock(&lock->rlock); in spin_lock()
359 raw_spin_lock_bh(&lock->rlock); in spin_lock_bh()
364 return raw_spin_trylock(&lock->rlock); in spin_trylock()
379 raw_spin_lock_irq(&lock->rlock); in spin_lock_irq()
394 raw_spin_unlock(&lock->rlock); in spin_unlock()
399 raw_spin_unlock_bh(&lock->rlock); in spin_unlock_bh()
404 raw_spin_unlock_irq(&lock->rlock); in spin_unlock_irq()
409 raw_spin_unlock_irqrestore(&lock->rlock, flags); in spin_unlock_irqrestore()
414 return raw_spin_trylock_bh(&lock->rlock); in spin_trylock_bh()
[all …]
Dspinlock_types.h73 struct raw_spinlock rlock; member
92 { { .rlock = ___SPIN_LOCK_INITIALIZER(lockname) } }
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-imx-gpcv2.c22 struct raw_spinlock rlock; member
80 raw_spin_lock_irqsave(&cd->rlock, flags); in imx_gpcv2_irq_set_wake()
85 raw_spin_unlock_irqrestore(&cd->rlock, flags); in imx_gpcv2_irq_set_wake()
101 raw_spin_lock(&cd->rlock); in imx_gpcv2_irq_unmask()
106 raw_spin_unlock(&cd->rlock); in imx_gpcv2_irq_unmask()
117 raw_spin_lock(&cd->rlock); in imx_gpcv2_irq_mask()
122 raw_spin_unlock(&cd->rlock); in imx_gpcv2_irq_mask()
236 raw_spin_lock_init(&cd->rlock); in imx_gpcv2_irqchip_init()
Dirq-stm32-exti.c57 struct raw_spinlock rlock; member
464 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_eoi()
470 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_eoi()
481 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_mask()
483 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_mask()
494 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_unmask()
496 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_unmask()
511 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_set_type()
535 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_set_type()
545 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_set_wake()
[all …]
/kernel/linux/linux-5.10/drivers/clk/st/
Dclk-flexgen.c317 spinlock_t *rlock = NULL; in st_of_flexgen_setup() local
363 rlock = kzalloc(sizeof(spinlock_t), GFP_KERNEL); in st_of_flexgen_setup()
364 if (!rlock) in st_of_flexgen_setup()
367 spin_lock_init(rlock); in st_of_flexgen_setup()
388 reg, rlock, i, flex_flags, clk_mode); in st_of_flexgen_setup()
407 kfree(rlock); in st_of_flexgen_setup()
/kernel/linux/linux-5.10/drivers/usb/class/
Dcdc-wdm.c99 struct mutex rlock; member
513 rv = mutex_lock_interruptible(&desc->rlock); /*concurrent reads */ in wdm_read()
610 mutex_unlock(&desc->rlock); in wdm_read()
860 mutex_init(&desc->rlock); in wdm_create()
1050 mutex_lock(&desc->rlock); in wdm_disconnect()
1056 mutex_unlock(&desc->rlock); in wdm_disconnect()
1080 mutex_lock(&desc->rlock); in wdm_suspend()
1102 mutex_unlock(&desc->rlock); in wdm_suspend()
1154 mutex_lock(&desc->rlock); in wdm_pre_reset()
1172 mutex_unlock(&desc->rlock); in wdm_post_reset()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c252 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_enter()
267 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_enter()
281 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_enter()
936 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_zero()
948 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_zero()
964 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_copy()
979 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_copy()
Dbook3s_64_vio_hv.c551 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_rm_h_put_tce_indirect()
596 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_rm_h_put_tce_indirect()
/kernel/linux/linux-5.10/lib/
Dlockref.c16 while (likely(arch_spin_value_unlocked(old.lock.rlock.raw_lock))) { \
Dtest_lockup.c484 offsetof(spinlock_t, rlock.magic), in test_lockup_init()
490 offsetof(struct mutex, wait_lock.rlock.magic), in test_lockup_init()
/kernel/linux/linux-5.10/Documentation/locking/
Dlockstat.rst195 …&(&zone->lru_lock)->rlock: 93000 94934 0.16 59.18 188253.…
199 …&(&dentry->d_lockref.lock)->rlock: 39791 40179 0.15 1302.08 …
/kernel/linux/linux-5.10/drivers/net/wan/
Dcosa.c114 struct mutex rlock; member
562 mutex_init(&chan->rlock); in cosa_probe()
783 if (mutex_lock_interruptible(&chan->rlock)) in cosa_read()
788 mutex_unlock(&chan->rlock); in cosa_read()
806 mutex_unlock(&chan->rlock); in cosa_read()
815 mutex_unlock(&chan->rlock); in cosa_read()
/kernel/linux/linux-5.10/Documentation/RCU/
Dlockdep-splat.rst36 #2: (&(&q->__queue_lock)->rlock){-.-.}, at: [<ffffffff812b6233>]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/arm/
Djuno-motherboard.dtsi64 rlock-button {
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0025_linux_drivers_irqchip.patch178 struct raw_spinlock rlock;
237 raw_spin_unlock_irqrestore(&cd->rlock, flags);
/kernel/linux/linux-5.10/drivers/net/ppp/
Dppp_generic.c120 spinlock_t rlock; /* lock for receive side 58 */ member
370 #define ppp_recv_lock(ppp) spin_lock_bh(&(ppp)->rlock)
371 #define ppp_recv_unlock(ppp) spin_unlock_bh(&(ppp)->rlock)
1127 spin_lock_init(&ppp->rlock); in ppp_dev_configure()
/kernel/linux/linux-5.10/drivers/clk/
Dclk-stm32mp1.c20 static DEFINE_SPINLOCK(rlock);
2076 err = stm32_register_hw_clk(NULL, clk_data, base, &rlock, in stm32_rcc_init()