Lines Matching refs:head
254 struct pkcs11_object_head head = { }; in sanitize_client_object() local
256 size_t pos = sizeof(head); in sanitize_client_object()
260 if (size < sizeof(head)) in sanitize_client_object()
263 TEE_MemMove(&head, src, sizeof(head)); in sanitize_client_object()
265 if (ADD_OVERFLOW(sizeof(head), head.attrs_size, &sz_from_hdr) || in sanitize_client_object()
399 struct pkcs11_object_head head = { }; in trace_attributes_from_api_head() local
403 TEE_MemMove(&head, ref, sizeof(head)); in trace_attributes_from_api_head()
405 if (size > sizeof(head) + head.attrs_size) { in trace_attributes_from_api_head()
407 size, sizeof(head) + head.attrs_size); in trace_attributes_from_api_head()
421 pre, head.attrs_count, head.attrs_size); in trace_attributes_from_api_head()
423 offset = sizeof(head); in trace_attributes_from_api_head()
426 (char *)ref + offset + head.attrs_size); in trace_attributes_from_api_head()