Home
last modified time | relevance | path

Searched refs:keyring_sem (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/security/keys/
Dpersistent.c91 down_read(&ns->keyring_sem); in key_get_persistent()
93 up_read(&ns->keyring_sem); in key_get_persistent()
102 down_write(&ns->keyring_sem); in key_get_persistent()
104 up_write(&ns->keyring_sem); in key_get_persistent()
Dprocess_keys.c45 down_write(&user_ns->keyring_sem); in get_user_register()
64 up_write(&user_ns->keyring_sem); in get_user_register()
94 down_write(&user_ns->keyring_sem); in look_up_user_keyrings()
158 up_write(&user_ns->keyring_sem); in look_up_user_keyrings()
176 up_write(&user_ns->keyring_sem); in look_up_user_keyrings()
/kernel/linux/linux-5.10/kernel/
Duser.c68 .keyring_sem = __RWSEM_INITIALIZER(init_user_ns.keyring_sem),
Duser_namespace.c134 init_rwsem(&ns->keyring_sem); in create_user_ns()
/kernel/linux/linux-5.10/include/linux/
Duser_namespace.h79 struct rw_semaphore keyring_sem; member