Home
last modified time | relevance | path

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

/linux/drivers/block/zram/
H A Dzram_drv.c233 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 …]
H A Dzram_drv.h112 struct rw_semaphore init_lock; member
/linux/drivers/platform/chrome/
H A Dcros_ec_ishtp.c85 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 …]
/linux/drivers/net/wireguard/
H A 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()
/linux/fs/smb/server/
H A Dconnection.c18 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()
/linux/drivers/tty/serial/
H A Dfsl_linflexuart.c134 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()
/linux/arch/powerpc/platforms/pasemi/
H A Ddma_lib.c501 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()
/linux/drivers/infiniband/hw/mlx5/
H A Dumr.c150 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()
H A Dmlx5_ib.h766 struct mutex init_lock; member
/linux/drivers/nvdimm/
H A Dbtt.h229 struct mutex init_lock; member
H A Dbtt.c1026 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()
/linux/drivers/gpu/drm/msm/
H A Dmsm_drv.c320 static DEFINE_MUTEX(init_lock); in load_gpu()
323 mutex_lock(&init_lock); in load_gpu()
328 mutex_unlock(&init_lock); in load_gpu()
/linux/drivers/iommu/
H A Dapple-dart.c265 struct mutex init_lock; member
584 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()