Searched refs:init_lock (Results 1 – 11 of 11) sorted by relevance
238 down_read(&zram->init_lock); in initstate_show()240 up_read(&zram->init_lock); in initstate_show()264 down_write(&zram->init_lock); in mem_limit_store()266 up_write(&zram->init_lock); in mem_limit_store()282 down_read(&zram->init_lock); in mem_used_max_store()287 up_read(&zram->init_lock); in mem_used_max_store()341 down_read(&zram->init_lock); in idle_store()353 up_read(&zram->init_lock); in idle_store()369 down_read(&zram->init_lock); in writeback_limit_enable_store()373 up_read(&zram->init_lock); in writeback_limit_enable_store()[all …]
98 struct rw_semaphore init_lock; member
85 static DECLARE_RWSEM(init_lock);228 if (!down_read_trylock(&init_lock)) { in process_recv()339 up_read(&init_lock); in process_recv()513 if (!down_read_trylock(&init_lock)) { in cros_ec_pkt_xfer_ish()561 up_read(&init_lock); in cros_ec_pkt_xfer_ish()600 down_write(&init_lock); in reset_handler()612 up_write(&init_lock); in reset_handler()624 up_write(&init_lock); in reset_handler()635 up_write(&init_lock); in reset_handler()655 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()
18 static DEFINE_MUTEX(init_lock);395 mutex_lock(&init_lock); in ksmbd_conn_transport_init()408 mutex_unlock(&init_lock); in ksmbd_conn_transport_init()444 mutex_lock(&init_lock); in ksmbd_conn_transport_destroy()448 mutex_unlock(&init_lock); in ksmbd_conn_transport_destroy()
134 static DEFINE_SPINLOCK(init_lock);591 spin_lock_irqsave(&init_lock, flags); in linflex_earlycon_putchar()620 spin_unlock_irqrestore(&init_lock, flags); in linflex_earlycon_putchar()723 spin_lock_irqsave(&init_lock, flags); in linflex_console_setup()725 spin_unlock_irqrestore(&init_lock, flags); in linflex_console_setup()741 spin_lock_irqsave(&init_lock, flags); in linflex_console_setup()754 spin_unlock_irqrestore(&init_lock, flags); in linflex_console_setup()
501 static DEFINE_SPINLOCK(init_lock); in pasemi_dma_init()513 spin_lock(&init_lock); in pasemi_dma_init()618 spin_unlock(&init_lock); in pasemi_dma_init()
163 struct mutex init_lock; member418 mutex_lock(&dart_domain->init_lock); in apple_dart_finalize_domain()452 mutex_unlock(&dart_domain->init_lock); in apple_dart_finalize_domain()591 mutex_init(&dart_domain->init_lock); in apple_dart_domain_alloc()
229 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()1596 mutex_init(&btt->init_lock); in btt_init()
555 static DEFINE_MUTEX(init_lock); in load_gpu()558 mutex_lock(&init_lock); in load_gpu()563 mutex_unlock(&init_lock); in load_gpu()