Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dspinlock.h326 return &lock->rlock; in spinlock_check()
351 raw_spin_lock(&lock->rlock); in spin_lock()
356 raw_spin_lock_bh(&lock->rlock); in spin_lock_bh()
361 return raw_spin_trylock(&lock->rlock); in spin_trylock()
376 raw_spin_lock_irq(&lock->rlock); in spin_lock_irq()
391 raw_spin_unlock(&lock->rlock); in spin_unlock()
396 raw_spin_unlock_bh(&lock->rlock); in spin_unlock_bh()
401 raw_spin_unlock_irq(&lock->rlock); in spin_unlock_irq()
406 raw_spin_unlock_irqrestore(&lock->rlock, flags); in spin_unlock_irqrestore()
411 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.6.21/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.c52 struct raw_spinlock rlock; member
522 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_eoi()
528 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_eoi()
539 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_mask()
541 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_mask()
552 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_unmask()
554 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_unmask()
569 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_set_type()
593 raw_spin_unlock(&chip_data->rlock); in stm32_exti_h_set_type()
603 raw_spin_lock(&chip_data->rlock); in stm32_exti_h_set_wake()
[all …]
/linux-6.6.21/drivers/clk/st/
Dclk-flexgen.c649 spinlock_t *rlock = NULL; in st_of_flexgen_setup() local
700 rlock = kzalloc(sizeof(spinlock_t), GFP_KERNEL); in st_of_flexgen_setup()
701 if (!rlock) in st_of_flexgen_setup()
704 spin_lock_init(rlock); in st_of_flexgen_setup()
728 reg, rlock, i, flex_flags, clk_mode); in st_of_flexgen_setup()
747 kfree(rlock); in st_of_flexgen_setup()
/linux-6.6.21/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()
1028 mutex_init(&desc->rlock); in wdm_create()
1226 mutex_lock(&desc->rlock); in wdm_disconnect()
1232 mutex_unlock(&desc->rlock); in wdm_disconnect()
1256 mutex_lock(&desc->rlock); in wdm_suspend()
1278 mutex_unlock(&desc->rlock); in wdm_suspend()
1330 mutex_lock(&desc->rlock); in wdm_pre_reset()
1348 mutex_unlock(&desc->rlock); in wdm_post_reset()
/linux-6.6.21/arch/parisc/include/asm/
Dmmu_context.h58 mtctl(__pa(__ldcw_align(&pgd_lock->rlock.raw_lock)), 28); in switch_mm_irqs_off()
/linux-6.6.21/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.6.21/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.6.21/tools/perf/util/bpf_skel/vmlinux/
Dvmlinux.h55 struct raw_spinlock rlock; member
/linux-6.6.21/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.6.21/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.6.21/Documentation/RCU/
Dlockdep-splat.rst36 #2: (&(&q->__queue_lock)->rlock){-.-.}, at: [<ffffffff812b6233>]
/linux-6.6.21/arch/arm64/boot/dts/arm/
Djuno-motherboard.dtsi64 rlock-button {
/linux-6.6.21/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.6.21/fs/smb/server/
Dsmb2pdu.c7179 struct file_lock *rlock = NULL; in smb2_lock() local
7181 rlock = smb_flock_init(filp); in smb2_lock()
7182 rlock->fl_type = F_UNLCK; in smb2_lock()
7183 rlock->fl_start = smb_lock->start; in smb2_lock()
7184 rlock->fl_end = smb_lock->end; in smb2_lock()
7186 rc = vfs_lock_file(filp, F_SETLK, rlock, NULL); in smb2_lock()
7198 locks_free_lock(rlock); in smb2_lock()
/linux-6.6.21/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()