Lines Matching refs:head_new
991 struct obj_attrs *head_new = NULL; in entry_set_attribute_value() local
1068 head_new = TEE_Malloc(template_size, TEE_MALLOC_FILL_ZERO); in entry_set_attribute_value()
1069 if (!head_new) { in entry_set_attribute_value()
1074 TEE_MemMove(head_new, obj->attributes, template_size); in entry_set_attribute_value()
1080 rc = modify_attributes_list(&head_new, head); in entry_set_attribute_value()
1085 rc = set_check_value_attr(&head_new); in entry_set_attribute_value()
1091 obj->attributes = head_new; in entry_set_attribute_value()
1092 head_new = NULL; in entry_set_attribute_value()
1110 TEE_Free(head_new); in entry_set_attribute_value()
1129 struct obj_attrs *head_new = NULL; in entry_copy_object() local
1236 head_new = TEE_Malloc(template_size, TEE_MALLOC_FILL_ZERO); in entry_copy_object()
1237 if (!head_new) { in entry_copy_object()
1242 TEE_MemMove(head_new, obj->attributes, template_size); in entry_copy_object()
1248 rc = modify_attributes_list(&head_new, head); in entry_copy_object()
1253 rc = set_check_value_attr(&head_new); in entry_copy_object()
1262 rc = create_object(session, head_new, &obj_handle); in entry_copy_object()
1273 head_new = NULL; in entry_copy_object()
1282 TEE_Free(head_new); in entry_copy_object()