Searched refs:token_id (Results 1 – 3 of 3) sorted by relevance
55 struct ck_token *get_token(unsigned int token_id) in get_token() argument57 if (token_id < TOKEN_COUNT) in get_token()58 return &ck_token[confine_array_index(token_id, TOKEN_COUNT)]; in get_token()253 uint32_t token_id = 0; in entry_ck_slot_list() local254 const size_t out_size = sizeof(token_id) * TOKEN_COUNT; in entry_ck_slot_list()270 for (token_id = 0, id = out->memref.buffer; token_id < TOKEN_COUNT; in entry_ck_slot_list()271 token_id++, id += sizeof(token_id)) in entry_ck_slot_list()272 TEE_MemMove(id, &token_id, sizeof(token_id)); in entry_ck_slot_list()319 uint32_t token_id = 0; in entry_ck_slot_info() local338 rc = serialargs_get(&ctrlargs, &token_id, sizeof(token_id)); in entry_ck_slot_info()[all …]
578 struct ck_token *init_persistent_db(unsigned int token_id) in init_persistent_db() argument580 struct ck_token *token = get_token(token_id); in init_persistent_db()606 IMSG("PKCS11 token %u: load db", token_id); in init_persistent_db()654 IMSG("PKCS11 token %u: init db", token_id); in init_persistent_db()
199 struct ck_token *get_token(unsigned int token_id);208 struct ck_token *init_persistent_db(unsigned int token_id);