Lines Matching defs:user_id
134 static std::string get_de_key_path(userid_t user_id) { in get_de_key_path()
138 static std::string get_ce_key_directory_path(userid_t user_id) { in get_ce_key_directory_path()
212 static bool read_and_fixate_user_ce_key(userid_t user_id, in read_and_fixate_user_ce_key()
319 static bool read_and_install_user_ce_key(userid_t user_id, in read_and_install_user_ce_key()
361 static bool de_key_exists(userid_t user_id) { in de_key_exists()
366 static bool ce_key_exists(userid_t user_id) { in ce_key_exists()
376 static bool create_de_key(userid_t user_id, bool ephemeral) { in create_de_key()
389 static bool create_ce_key(userid_t user_id, bool ephemeral) { in create_ce_key()
407 static bool lookup_policy(const std::map<userid_t, EncryptionPolicy>& key_map, userid_t user_id, in lookup_policy() argument
446 userid_t user_id = std::stoi(entry->d_name); in load_all_de_keys() local
618 bool fscrypt_vold_create_user_key(userid_t user_id, int serial, bool ephemeral) { in fscrypt_vold_create_user_key()
657 static bool evict_ce_key(userid_t user_id) { in evict_ce_key()
670 bool fscrypt_destroy_user_key(userid_t user_id) { in fscrypt_destroy_user_key()
768 bool fscrypt_set_user_key_protection(userid_t user_id, const std::string& secret_hex) { in fscrypt_set_user_key_protection()
868 bool fscrypt_unlock_user_key(userid_t user_id, int serial, const std::string& secret_hex) { in fscrypt_unlock_user_key()
886 bool fscrypt_lock_user_key(userid_t user_id) { in fscrypt_lock_user_key()
895 userid_t user_id, int flags) { in prepare_subdirs()
905 bool fscrypt_prepare_user_storage(const std::string& volume_uuid, userid_t user_id, int serial, in fscrypt_prepare_user_storage()
1033 bool fscrypt_destroy_user_storage(const std::string& volume_uuid, userid_t user_id, int flags) { in fscrypt_destroy_user_storage()