Home
last modified time | relevance | path

Searched refs:init_lock (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/zram/
Dzram_drv.c186 down_read(&zram->init_lock); in initstate_show()
188 up_read(&zram->init_lock); in initstate_show()
212 down_write(&zram->init_lock); in mem_limit_store()
214 up_write(&zram->init_lock); in mem_limit_store()
230 down_read(&zram->init_lock); in mem_used_max_store()
235 up_read(&zram->init_lock); in mem_used_max_store()
250 down_read(&zram->init_lock); in idle_store()
252 up_read(&zram->init_lock); in idle_store()
268 up_read(&zram->init_lock); in idle_store()
284 down_read(&zram->init_lock); in writeback_limit_enable_store()
[all …]
Dzram_drv.h118 struct rw_semaphore init_lock; member
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_ishtp.c82 static DECLARE_RWSEM(init_lock);
229 if (!down_read_trylock(&init_lock)) { in process_recv()
340 up_read(&init_lock); in process_recv()
514 if (!down_read_trylock(&init_lock)) { in cros_ec_pkt_xfer_ish()
560 up_read(&init_lock); in cros_ec_pkt_xfer_ish()
599 down_write(&init_lock); in reset_handler()
611 up_write(&init_lock); in reset_handler()
623 up_write(&init_lock); in reset_handler()
634 up_write(&init_lock); in reset_handler()
654 down_write(&init_lock); in cros_ec_ishtp_probe()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireguard/
Dratelimiter.c15 static DEFINE_MUTEX(init_lock);
160 mutex_lock(&init_lock); in wg_ratelimiter_init()
194 mutex_unlock(&init_lock); in wg_ratelimiter_init()
201 mutex_unlock(&init_lock); in wg_ratelimiter_init()
207 mutex_lock(&init_lock); in wg_ratelimiter_uninit()
220 mutex_unlock(&init_lock); in wg_ratelimiter_uninit()
/kernel/linux/linux-5.10/drivers/hyperhold/
Dhp_core.c45 struct mutex init_lock; member
68 mutex_lock(&hyperhold.init_lock); in hyperhold_disable()
84 mutex_unlock(&hyperhold.init_lock); in hyperhold_disable()
95 mutex_lock(&hyperhold.init_lock); in hyperhold_enable()
123 mutex_unlock(&hyperhold.init_lock); in hyperhold_enable()
179 mutex_lock(&hyperhold.init_lock); in device_sysctl_handler()
191 mutex_unlock(&hyperhold.init_lock); in device_sysctl_handler()
201 mutex_lock(&hyperhold.init_lock); in extent_sysctl_handler()
209 mutex_unlock(&hyperhold.init_lock); in extent_sysctl_handler()
219 mutex_lock(&hyperhold.init_lock); in crypto_sysctl_handler()
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/
Dfsl_linflexuart.c134 static DEFINE_SPINLOCK(init_lock);
604 spin_lock_irqsave(&init_lock, flags); in linflex_earlycon_putchar()
633 spin_unlock_irqrestore(&init_lock, flags); in linflex_earlycon_putchar()
736 spin_lock_irqsave(&init_lock, flags); in linflex_console_setup()
738 spin_unlock_irqrestore(&init_lock, flags); in linflex_console_setup()
754 spin_lock_irqsave(&init_lock, flags); in linflex_console_setup()
767 spin_unlock_irqrestore(&init_lock, flags); in linflex_console_setup()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pasemi/
Ddma_lib.c499 static DEFINE_SPINLOCK(init_lock); in pasemi_dma_init()
511 spin_lock(&init_lock); in pasemi_dma_init()
616 spin_unlock(&init_lock); in pasemi_dma_init()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dbtt.h230 struct mutex init_lock; member
Dbtt.c1030 mutex_lock(&btt->init_lock); in btt_meta_init()
1052 mutex_unlock(&btt->init_lock); in btt_meta_init()
1604 mutex_init(&btt->init_lock); in btt_init()
/kernel/linux/linux-5.10/drivers/block/zram/zram_group/
Dzram_group.h36 struct mutex init_lock; member
Dzram_group.c97 mutex_init(&zgrp->wbgrp.init_lock); in zram_group_meta_alloc()
345 mutex_lock(&zgrp->wbgrp.init_lock); in zram_group_apply_writeback()
388 mutex_unlock(&zgrp->wbgrp.init_lock); in zram_group_apply_writeback()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_drv.c572 static DEFINE_MUTEX(init_lock); in load_gpu()
575 mutex_lock(&init_lock); in load_gpu()
580 mutex_unlock(&init_lock); in load_gpu()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0034_linux_drivers_usb_vfio_wdt_tty_uio.patch953 spin_unlock_irqrestore(&init_lock, flags);
1069 spin_lock_irqsave(&init_lock, flags);