Lines Matching refs:token
46 if (!object->token) in pkcs11_handle2object()
53 if (object->token != get_session_token(session)) in pkcs11_handle2object()
103 struct ck_token *token) in cleanup_persistent_object() argument
122 destroy_object_uuid(token, obj); in cleanup_persistent_object()
156 if (unregister_persistent_object(session->token, obj->uuid) && in destroy_object()
157 unregister_persistent_object(session->token, obj->uuid)) in destroy_object()
162 cleanup_persistent_object(obj, session->token); in destroy_object()
171 struct ck_token *token) in create_obj_instance() argument
182 obj->token = token; in create_obj_instance()
189 struct ck_token *token) in create_token_object() argument
191 struct pkcs11_object *obj = create_obj_instance(head, token); in create_token_object()
276 LIST_INSERT_HEAD(&session->token->object_list, obj, link); in create_object()
291 cleanup_persistent_object(obj, session->token); in create_object()
582 if (obj->token) in entry_find_objects_init()
599 LIST_FOREACH(obj, &session->token->object_list, link) { in entry_find_objects_init()