Lines Matching refs:cur

64 	char *cur = NULL;  in _remove_attribute()  local
69 cur = (char *)h + sizeof(struct obj_attrs); in _remove_attribute()
70 end = cur + h->attrs_size; in _remove_attribute()
71 for (; cur < end; cur += next_off) { in _remove_attribute()
74 TEE_MemMove(&pkcs11_ref, cur, sizeof(pkcs11_ref)); in _remove_attribute()
83 TEE_MemMove(cur, cur + next_off, end - (cur + next_off)); in _remove_attribute()
106 char *cur = (char *)head + sizeof(struct obj_attrs); in get_attribute_ptrs() local
107 char *end = cur + head->attrs_size; in get_attribute_ptrs()
114 for (; cur < end; cur += next_off) { in get_attribute_ptrs()
118 TEE_MemMove(&pkcs11_ref, cur, sizeof(pkcs11_ref)); in get_attribute_ptrs()
131 *attr_ptr++ = cur + sizeof(pkcs11_ref); in get_attribute_ptrs()
144 if (cur > end) { in get_attribute_ptrs()
209 char *cur = (char *)head + sizeof(struct obj_attrs); in modify_attributes_list() local
210 char *end = cur + head->attrs_size; in modify_attributes_list()
214 for (; cur < end; cur += len) { in modify_attributes_list()
215 struct pkcs11_attribute_head *cli_ref = (void *)cur; in modify_attributes_list()
219 TEE_MemMove(&cli_head, cur, sizeof(cli_head)); in modify_attributes_list()
336 char *cur = src; in __trace_attributes() local
347 for (; cur < (char *)end; cur += next_off) { in __trace_attributes()
351 TEE_MemMove(&pkcs11_ref, cur, sizeof(pkcs11_ref)); in __trace_attributes()
352 TEE_MemMove(&data[0], cur + sizeof(pkcs11_ref), in __trace_attributes()
368 cur + sizeof(pkcs11_ref)), in __trace_attributes()
376 cur + sizeof(pkcs11_ref)), in __trace_attributes()
385 cur + sizeof(pkcs11_ref)), in __trace_attributes()
394 cur + sizeof(pkcs11_ref)), in __trace_attributes()
403 cur + sizeof(pkcs11_ref)), in __trace_attributes()
415 cur + sizeof(pkcs11_ref)); in __trace_attributes()
423 if (cur != end) in __trace_attributes()