Lines Matching refs:head
170 static struct pkcs11_object *create_obj_instance(struct obj_attrs *head, in create_obj_instance() argument
181 obj->attributes = head; in create_obj_instance()
187 struct pkcs11_object *create_token_object(struct obj_attrs *head, in create_token_object() argument
191 struct pkcs11_object *obj = create_obj_instance(head, token); in create_token_object()
206 enum pkcs11_rc create_object(void *sess, struct obj_attrs *head, in create_object() argument
215 trace_attributes("[create]", head); in create_object()
223 obj = create_obj_instance(head, NULL); in create_object()
290 if (get_bool(head, PKCS11_CKA_TOKEN)) in create_object()
310 struct obj_attrs *head = NULL; in entry_create_object() local
344 rc = create_attributes_from_template(&head, template, template_size, in entry_create_object()
358 head); in entry_create_object()
362 rc = check_created_attrs_against_token(session, head); in entry_create_object()
366 rc = check_access_attrs_against_token(session, head); in entry_create_object()
375 rc = create_object(session, head, &obj_handle); in entry_create_object()
386 head = NULL; in entry_create_object()
396 TEE_Free(head); in entry_create_object()
974 struct obj_attrs *head = NULL; in entry_set_attribute_value() local
1036 rc = create_attributes_from_template(&head, template, template_size, in entry_set_attribute_value()
1044 rc = check_attrs_against_modification(session, head, obj, function); in entry_set_attribute_value()
1052 rc = modify_attributes_list(&obj->attributes, head); in entry_set_attribute_value()
1066 TEE_Free(head); in entry_set_attribute_value()
1084 struct obj_attrs *head = NULL; in entry_copy_object() local
1152 rc = create_attributes_from_template(&head, template, template_size, in entry_copy_object()
1160 rc = check_attrs_against_modification(session, head, obj, function); in entry_copy_object()
1177 rc = get_attribute(head, PKCS11_CKA_EXTRACTABLE, &bbool, &size); in entry_copy_object()
1179 rc = add_attribute(&head, PKCS11_CKA_NEVER_EXTRACTABLE, in entry_copy_object()
1204 rc = modify_attributes_list(&head_new, head); in entry_copy_object()
1234 TEE_Free(head); in entry_copy_object()