Searched refs:init_lock (Results 1 – 13 of 13) sorted by relevance
186 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 …]
118 struct rw_semaphore init_lock; member
82 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 …]
15 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()
45 struct mutex init_lock; member68 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 …]
134 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()
499 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()
230 struct mutex init_lock; member
1030 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()
36 struct mutex init_lock; member
97 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()
572 static DEFINE_MUTEX(init_lock); in load_gpu()575 mutex_lock(&init_lock); in load_gpu()580 mutex_unlock(&init_lock); in load_gpu()
953 spin_unlock_irqrestore(&init_lock, flags);1069 spin_lock_irqsave(&init_lock, flags);