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

/linux-4.1.27/security/keys/
H A Dpersistent.c46 key_ref_t reg_ref, persistent_ref; key_create_persistent() local
54 persistent_ref = find_key_to_update(reg_ref, index_key); key_create_persistent()
55 if (persistent_ref) key_create_persistent()
56 return persistent_ref; key_create_persistent()
80 key_ref_t reg_ref, persistent_ref; key_get_persistent() local
92 persistent_ref = find_key_to_update(reg_ref, &index_key); key_get_persistent()
95 if (persistent_ref) key_get_persistent()
103 persistent_ref = key_create_persistent(ns, uid, &index_key); key_get_persistent()
105 if (!IS_ERR(persistent_ref)) key_get_persistent()
108 return PTR_ERR(persistent_ref); key_get_persistent()
111 ret = key_task_permission(persistent_ref, current_cred(), KEY_NEED_LINK); key_get_persistent()
113 persistent = key_ref_to_ptr(persistent_ref); key_get_persistent()
121 key_ref_put(persistent_ref); key_get_persistent()

Completed in 91 milliseconds