Home
last modified time | relevance | path

Searched refs:crypto_alg_sem (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/crypto/
H A Dalgapi.c381 down_write(&crypto_alg_sem); in crypto_alg_tested()
435 up_write(&crypto_alg_sem); in crypto_alg_tested()
465 down_write(&crypto_alg_sem); in crypto_register_alg()
471 up_write(&crypto_alg_sem); in crypto_register_alg()
500 down_write(&crypto_alg_sem); in crypto_unregister_alg()
502 up_write(&crypto_alg_sem); in crypto_unregister_alg()
551 down_write(&crypto_alg_sem); in crypto_register_template()
563 up_write(&crypto_alg_sem); in crypto_register_template()
593 down_write(&crypto_alg_sem); in crypto_unregister_template()
605 up_write(&crypto_alg_sem); in crypto_unregister_template()
[all...]
H A Dapi.c28 DECLARE_RWSEM(crypto_alg_sem); variable
29 EXPORT_SYMBOL_GPL(crypto_alg_sem); variable
138 down_write(&crypto_alg_sem); in crypto_larval_add()
144 up_write(&crypto_alg_sem); in crypto_larval_add()
159 down_write(&crypto_alg_sem); in crypto_larval_kill()
161 up_write(&crypto_alg_sem); in crypto_larval_kill()
190 down_write(&crypto_alg_sem); in crypto_start_test()
192 up_write(&crypto_alg_sem); in crypto_start_test()
197 up_write(&crypto_alg_sem); in crypto_start_test()
244 down_read(&crypto_alg_sem); in crypto_alg_lookup()
[all...]
H A Dcrypto_user_base.c40 down_read(&crypto_alg_sem); in crypto_alg_match()
67 up_read(&crypto_alg_sem); in crypto_alg_match()
237 down_read(&crypto_alg_sem); in crypto_dump_report()
251 up_read(&crypto_alg_sem); in crypto_dump_report()
281 down_write(&crypto_alg_sem); in crypto_update_alg()
288 up_write(&crypto_alg_sem); in crypto_update_alg()
370 down_write(&crypto_alg_sem); in crypto_add_alg()
375 up_write(&crypto_alg_sem); in crypto_add_alg()
445 down_read(&crypto_alg_sem); in crypto_user_rcv_msg()
448 up_read(&crypto_alg_sem); in crypto_user_rcv_msg()
[all...]
H A Dproc.c23 down_read(&crypto_alg_sem); in c_start()
34 up_read(&crypto_alg_sem); in c_stop()
H A Dinternal.h64 extern struct rw_semaphore crypto_alg_sem;
/kernel/linux/linux-5.10/crypto/
H A Dapi.c27 DECLARE_RWSEM(crypto_alg_sem); variable
28 EXPORT_SYMBOL_GPL(crypto_alg_sem); variable
137 down_write(&crypto_alg_sem); in crypto_larval_add()
143 up_write(&crypto_alg_sem); in crypto_larval_add()
158 down_write(&crypto_alg_sem); in crypto_larval_kill()
160 up_write(&crypto_alg_sem); in crypto_larval_kill()
202 down_read(&crypto_alg_sem); in crypto_alg_lookup()
212 up_read(&crypto_alg_sem); in crypto_alg_lookup()
338 down_write(&crypto_alg_sem); in crypto_shoot_alg()
340 up_write(&crypto_alg_sem); in crypto_shoot_alg()
[all...]
H A Dcrypto_user_base.c40 down_read(&crypto_alg_sem); in crypto_alg_match()
67 up_read(&crypto_alg_sem); in crypto_alg_match()
237 down_read(&crypto_alg_sem); in crypto_dump_report()
251 up_read(&crypto_alg_sem); in crypto_dump_report()
281 down_write(&crypto_alg_sem); in crypto_update_alg()
288 up_write(&crypto_alg_sem); in crypto_update_alg()
370 down_write(&crypto_alg_sem); in crypto_add_alg()
375 up_write(&crypto_alg_sem); in crypto_add_alg()
445 down_read(&crypto_alg_sem); in crypto_user_rcv_msg()
448 up_read(&crypto_alg_sem); in crypto_user_rcv_msg()
[all...]
H A Dalgapi.c304 down_write(&crypto_alg_sem); in crypto_alg_tested()
387 up_write(&crypto_alg_sem); in crypto_alg_tested()
435 down_write(&crypto_alg_sem); in crypto_register_alg()
437 up_write(&crypto_alg_sem); in crypto_register_alg()
465 down_write(&crypto_alg_sem); in crypto_unregister_alg()
467 up_write(&crypto_alg_sem); in crypto_unregister_alg()
516 down_write(&crypto_alg_sem); in crypto_register_template()
528 up_write(&crypto_alg_sem); in crypto_register_template()
558 down_write(&crypto_alg_sem); in crypto_unregister_template()
570 up_write(&crypto_alg_sem); in crypto_unregister_template()
[all...]
H A Dproc.c22 down_read(&crypto_alg_sem); in c_start()
33 up_read(&crypto_alg_sem); in c_stop()
H A Dinternal.h33 extern struct rw_semaphore crypto_alg_sem;

Completed in 7 milliseconds