Searched refs:init_lock (Results 1 – 13 of 13) sorted by relevance
233 down_read(&zram->init_lock); in initstate_show()235 up_read(&zram->init_lock); in initstate_show()261 up_write(&zram->init_lock); in mem_limit_store()282 up_read(&zram->init_lock); in mem_used_max_store()349 up_read(&zram->init_lock); in idle_store()369 up_read(&zram->init_lock); in writeback_limit_enable_store()385 up_read(&zram->init_lock); in writeback_limit_enable_show()404 up_read(&zram->init_lock); in writeback_limit_store()420 up_read(&zram->init_lock); in writeback_limit_show()465 up_read(&zram->init_lock); in backing_dev_show()[all …]
112 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()536 up_read(&init_lock); in cros_ec_pkt_xfer_ish()574 down_write(&init_lock); in reset_handler()583 up_write(&init_lock); in reset_handler()594 up_write(&init_lock); in reset_handler()614 down_write(&init_lock); in cros_ec_ishtp_probe()640 up_write(&init_lock); in cros_ec_ishtp_probe()645 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);428 mutex_lock(&init_lock); in ksmbd_conn_transport_init()441 mutex_unlock(&init_lock); in ksmbd_conn_transport_init()471 mutex_lock(&init_lock); in ksmbd_conn_transport_destroy()475 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()
150 mutex_lock(&dev->umrc.init_lock); in mlx5r_umr_resource_init()187 mutex_unlock(&dev->umrc.init_lock); in mlx5r_umr_resource_init()195 mutex_unlock(&dev->umrc.init_lock); in mlx5r_umr_resource_init()220 mutex_init(&dev->umrc.init_lock); in mlx5r_umr_init()230 mutex_destroy(&dev->umrc.init_lock); in mlx5r_umr_cleanup()
766 struct mutex init_lock; member
229 struct mutex init_lock; member
1026 mutex_lock(&btt->init_lock); in btt_meta_init()1048 mutex_unlock(&btt->init_lock); in btt_meta_init()1578 mutex_init(&btt->init_lock); in btt_init()
320 static DEFINE_MUTEX(init_lock); in load_gpu()323 mutex_lock(&init_lock); in load_gpu()328 mutex_unlock(&init_lock); in load_gpu()
265 struct mutex init_lock; member584 mutex_lock(&dart_domain->init_lock); in apple_dart_finalize_domain()620 mutex_unlock(&dart_domain->init_lock); in apple_dart_finalize_domain()757 mutex_init(&dart_domain->init_lock); in apple_dart_domain_alloc_paging()