Lines Matching defs:copy
5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
60 struct vtn_pointer *copy = ralloc(b, struct vtn_pointer);
61 *copy = *ptr;
62 copy->deref = nir_alignment_deref_cast(&b->nb, ptr->deref, alignment, 0);
64 return copy;
117 /* If we're adding access flags, make a copy of the pointer. We could
122 struct vtn_pointer *copy = ralloc(b, struct vtn_pointer);
123 *copy = *ptr;
124 copy->access |= aa.access;
125 return copy;