Searched refs:init_lock (Results 1 – 9 of 9) sorted by relevance
240 down_read(&zram->init_lock); in initstate_show()242 up_read(&zram->init_lock); in initstate_show()266 down_write(&zram->init_lock); in mem_limit_store()268 up_write(&zram->init_lock); in mem_limit_store()284 down_read(&zram->init_lock); in mem_used_max_store()289 up_read(&zram->init_lock); in mem_used_max_store()304 down_read(&zram->init_lock); in idle_store()306 up_read(&zram->init_lock); in idle_store()322 up_read(&zram->init_lock); in idle_store()338 down_read(&zram->init_lock); in writeback_limit_enable_store()[all …]
99 struct rw_semaphore init_lock; member
82 static DECLARE_RWSEM(init_lock);225 if (!down_read_trylock(&init_lock)) { in process_recv()336 up_read(&init_lock); in process_recv()510 if (!down_read_trylock(&init_lock)) { in cros_ec_pkt_xfer_ish()556 up_read(&init_lock); in cros_ec_pkt_xfer_ish()595 down_write(&init_lock); in reset_handler()607 up_write(&init_lock); in reset_handler()619 up_write(&init_lock); in reset_handler()630 up_write(&init_lock); in reset_handler()650 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()
134 static DEFINE_SPINLOCK(init_lock);603 spin_lock_irqsave(&init_lock, flags); in linflex_earlycon_putchar()632 spin_unlock_irqrestore(&init_lock, flags); in linflex_earlycon_putchar()735 spin_lock_irqsave(&init_lock, flags); in linflex_console_setup()737 spin_unlock_irqrestore(&init_lock, flags); in linflex_console_setup()753 spin_lock_irqsave(&init_lock, flags); in linflex_console_setup()766 spin_unlock_irqrestore(&init_lock, flags); in linflex_console_setup()
155 struct mutex init_lock; member410 mutex_lock(&dart_domain->init_lock); in apple_dart_finalize_domain()444 mutex_unlock(&dart_domain->init_lock); in apple_dart_finalize_domain()587 mutex_init(&dart_domain->init_lock); in apple_dart_domain_alloc()
229 struct mutex init_lock; member
1031 mutex_lock(&btt->init_lock); in btt_meta_init()1053 mutex_unlock(&btt->init_lock); in btt_meta_init()1593 mutex_init(&btt->init_lock); in btt_init()
682 static DEFINE_MUTEX(init_lock); in load_gpu()685 mutex_lock(&init_lock); in load_gpu()690 mutex_unlock(&init_lock); in load_gpu()