Lines Matching refs:module_list_lock
67 static CRYPTO_RCU_LOCK *module_list_lock = NULL; variable
90 ossl_rcu_lock_free(module_list_lock); in module_lists_free()
91 module_list_lock = NULL; in module_lists_free()
102 module_list_lock = ossl_rcu_lock_new(1, NULL); in DEFINE_RUN_ONCE_STATIC()
103 if (module_list_lock == NULL) { in DEFINE_RUN_ONCE_STATIC()
348 ossl_rcu_write_lock(module_list_lock); in module_add()
374 ossl_rcu_write_unlock(module_list_lock); in module_add()
375 ossl_synchronize_rcu(module_list_lock); in module_add()
381 ossl_rcu_write_unlock(module_list_lock); in module_add()
413 ossl_rcu_read_lock(module_list_lock); in module_find()
419 ossl_rcu_read_unlock(module_list_lock); in module_find()
424 ossl_rcu_read_unlock(module_list_lock); in module_find()
463 ossl_rcu_write_lock(module_list_lock); in module_init()
473 ossl_rcu_write_unlock(module_list_lock); in module_init()
479 ossl_rcu_write_unlock(module_list_lock); in module_init()
488 ossl_rcu_write_unlock(module_list_lock); in module_init()
489 ossl_synchronize_rcu(module_list_lock); in module_init()
527 ossl_rcu_write_lock(module_list_lock); in CONF_modules_unload()
533 ossl_rcu_write_unlock(module_list_lock); in CONF_modules_unload()
556 ossl_rcu_write_unlock(module_list_lock); in CONF_modules_unload()
557 ossl_synchronize_rcu(module_list_lock); in CONF_modules_unload()
583 if (module_list_lock == NULL) in conf_modules_finish_int()
586 ossl_rcu_write_lock(module_list_lock); in conf_modules_finish_int()
589 ossl_rcu_write_unlock(module_list_lock); in conf_modules_finish_int()
590 ossl_synchronize_rcu(module_list_lock); in conf_modules_finish_int()