Lines Matching refs:userid_t
74 std::set<userid_t> s_ephemeral_users;
77 std::map<userid_t, std::string> s_de_key_raw_refs;
78 std::map<userid_t, std::string> s_ce_key_raw_refs;
80 std::map<userid_t, std::string> s_ce_keys;
177 static std::string get_de_key_path(userid_t user_id) { in get_de_key_path()
181 static std::string get_ce_key_directory_path(userid_t user_id) { in get_ce_key_directory_path()
253 static bool read_and_fixate_user_ce_key(userid_t user_id, in read_and_fixate_user_ce_key()
270 static bool read_and_install_user_ce_key(userid_t user_id, in read_and_install_user_ce_key()
334 static bool create_and_install_user_keys(userid_t user_id, bool create_ephemeral) { in create_and_install_user_keys()
365 static bool lookup_key_ref(const std::map<userid_t, std::string>& key_map, userid_t user_id, in lookup_key_ref() argument
419 userid_t user_id = atoi(entry->d_name); in load_all_de_keys()
511 bool e4crypt_vold_create_user_key(userid_t user_id, int serial, bool ephemeral) { in e4crypt_vold_create_user_key()
547 static bool evict_ce_key(userid_t user_id) { in evict_ce_key()
559 bool e4crypt_destroy_user_key(userid_t user_id) { in e4crypt_destroy_user_key()
628 bool e4crypt_add_user_key_auth(userid_t user_id, int serial, const char* token_hex, in e4crypt_add_user_key_auth()
653 bool e4crypt_fixate_newest_user_key_auth(userid_t user_id) { in e4crypt_fixate_newest_user_key_auth()
668 bool e4crypt_unlock_user_key(userid_t user_id, int serial, const char* token_hex, in e4crypt_unlock_user_key()
701 bool e4crypt_lock_user_key(userid_t user_id) { in e4crypt_lock_user_key()
719 bool e4crypt_prepare_user_storage(const char* volume_uuid, userid_t user_id, int serial, in e4crypt_prepare_user_storage()
788 bool e4crypt_destroy_user_storage(const char* volume_uuid, userid_t user_id, int flags) { in e4crypt_destroy_user_storage()