Lines Matching full:tmp
25 vaddr_t tmp = 0; in shdr_alloc_and_copy() local
35 if (ADD_OVERFLOW(img_va, shdr_size, &tmp)) in shdr_alloc_and_copy()
210 } *tmp = NULL; in calc_next_uuid() local
224 tmp = mempool_alloc(mempool_default, sizeof(*tmp) + name_size); in calc_next_uuid()
225 if (!tmp) in calc_next_uuid()
227 memcpy(tmp->name_str, ns_name, name_size); in calc_next_uuid()
231 crypto_hash_update(ctx, (const void *)tmp->name_str, in calc_next_uuid()
232 strnlen(tmp->name_str, name_size)) || in calc_next_uuid()
233 crypto_hash_final(ctx, tmp->digest, sizeof(tmp->digest))) in calc_next_uuid()
236 tee_uuid_from_octets(&tmp->uuid, tmp->digest); in calc_next_uuid()
241 tmp->uuid.timeHiAndVersion &= ~SHIFT_U32(0xf, 12); in calc_next_uuid()
242 tmp->uuid.timeHiAndVersion |= SHIFT_U32(5, 12); in calc_next_uuid()
247 tmp->uuid.clockSeqAndNode[0] &= ~BIT(6); in calc_next_uuid()
248 tmp->uuid.clockSeqAndNode[0] |= BIT(7); in calc_next_uuid()
250 tee_uuid_to_octets(uuid, &tmp->uuid); in calc_next_uuid()
254 mempool_free(mempool_default, tmp); in calc_next_uuid()