Searched refs:keyring_sem (Results 1 – 5 of 5) sorted by relevance
91 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()
45 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()
68 .keyring_sem = __RWSEM_INITIALIZER(init_user_ns.keyring_sem),
134 init_rwsem(&ns->keyring_sem); in create_user_ns()
79 struct rw_semaphore keyring_sem; member