Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dspinlock.h325 return &lock->rlock; in spinlock_check()
350 raw_spin_lock(&lock->rlock); in spin_lock()
355 raw_spin_lock_bh(&lock->rlock); in spin_lock_bh()
360 return raw_spin_trylock(&lock->rlock); in spin_trylock()
375 raw_spin_lock_irq(&lock->rlock); in spin_lock_irq()
390 raw_spin_unlock(&lock->rlock); in spin_unlock()
395 raw_spin_unlock_bh(&lock->rlock); in spin_unlock_bh()
400 raw_spin_unlock_irq(&lock->rlock); in spin_unlock_irq()
405 raw_spin_unlock_irqrestore(&lock->rlock, flags); in spin_unlock_irqrestore()
410 return raw_spin_trylock_bh(&lock->rlock); in spin_trylock_bh()
[all …]
Dspinlock_types.h19 struct raw_spinlock rlock; member
38 { { .rlock = ___SPIN_LOCK_INITIALIZER(lockname) } }
/linux-6.1.9/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()
234 raw_spin_lock_init(&cd->rlock); in imx_gpcv2_irqchip_init()
Dirq-stm32-exti.c51 struct raw_spinlock rlock; member
507 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_eoi()
513 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_eoi()
524 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_mask()
526 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_mask()
537 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_unmask()
539 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_unmask()
554 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_set_type()
578 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_set_type()
588 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_set_wake()
[all …]
/linux-6.1.9/drivers/clk/st/
Dclk-flexgen.c648 spinlock_t *rlock = NULL; in st_of_flexgen_setup() local
699 rlock = kzalloc(sizeof(spinlock_t), GFP_KERNEL); in st_of_flexgen_setup()
700 if (!rlock) in st_of_flexgen_setup()
703 spin_lock_init(rlock); in st_of_flexgen_setup()
727 reg, rlock, i, flex_flags, clk_mode); in st_of_flexgen_setup()
746 kfree(rlock); in st_of_flexgen_setup()
/linux-6.1.9/drivers/usb/class/
Dcdc-wdm.c102 struct mutex rlock; member
527 rv = mutex_lock_interruptible(&desc->rlock); /*concurrent reads */ in wdm_read()
624 mutex_unlock(&desc->rlock); in wdm_read()
1027 mutex_init(&desc->rlock); in wdm_create()
1225 mutex_lock(&desc->rlock); in wdm_disconnect()
1231 mutex_unlock(&desc->rlock); in wdm_disconnect()
1255 mutex_lock(&desc->rlock); in wdm_suspend()
1277 mutex_unlock(&desc->rlock); in wdm_suspend()
1329 mutex_lock(&desc->rlock); in wdm_pre_reset()
1347 mutex_unlock(&desc->rlock); in wdm_post_reset()
/linux-6.1.9/arch/parisc/include/asm/
Dmmu_context.h58 mtctl(__pa(__ldcw_align(&pgd_lock->rlock.raw_lock)), 28); in switch_mm_irqs_off()
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c248 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_enter()
263 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_enter()
277 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_enter()
938 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_zero()
950 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_zero()
966 arch_spin_lock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_copy()
981 arch_spin_unlock(&kvm->mmu_lock.rlock.raw_lock); in kvmppc_do_h_page_init_copy()
/linux-6.1.9/lib/
Dlockref.c16 while (likely(arch_spin_value_unlocked(old.lock.rlock.raw_lock))) { \
Dtest_lockup.c504 offsetof(spinlock_t, rlock.magic), in test_lockup_init()
/linux-6.1.9/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 …
/linux-6.1.9/drivers/clk/stm32/
Dclk-stm32-core.c20 static DEFINE_SPINLOCK(rlock);
54 hw = (*cfg_clock->func)(dev, data, base, &rlock, in stm32_rcc_clock_init()
/linux-6.1.9/Documentation/RCU/
Dlockdep-splat.rst36 #2: (&(&q->__queue_lock)->rlock){-.-.}, at: [<ffffffff812b6233>]
/linux-6.1.9/arch/arm64/boot/dts/arm/
Djuno-motherboard.dtsi64 rlock-button {
/linux-6.1.9/drivers/net/ppp/
Dppp_generic.c120 spinlock_t rlock; /* lock for receive side 58 */ member
372 #define ppp_recv_lock(ppp) spin_lock_bh(&(ppp)->rlock)
373 #define ppp_recv_unlock(ppp) spin_unlock_bh(&(ppp)->rlock)
1238 spin_lock_init(&ppp->rlock); in ppp_dev_configure()
/linux-6.1.9/fs/ksmbd/
Dsmb2pdu.c7128 struct file_lock *rlock = NULL; in smb2_lock() local
7130 rlock = smb_flock_init(filp); in smb2_lock()
7131 rlock->fl_type = F_UNLCK; in smb2_lock()
7132 rlock->fl_start = smb_lock->start; in smb2_lock()
7133 rlock->fl_end = smb_lock->end; in smb2_lock()
7135 rc = vfs_lock_file(filp, 0, rlock, NULL); in smb2_lock()
7147 locks_free_lock(rlock); in smb2_lock()
/linux-6.1.9/drivers/clk/
Dclk-stm32mp1.c23 static DEFINE_SPINLOCK(rlock);
2329 err = stm32_register_hw_clk(dev, clk_data, base, &rlock, in stm32_rcc_clock_init()