Searched refs:tr_trans (Results 1 – 3 of 3) sorted by relevance
85 struct trace_transfer *tr_trans; in trace_transfer_create() local92 tr_trans = CALLOC_STRUCT(trace_transfer); in trace_transfer_create()93 if (!tr_trans) in trace_transfer_create()96 memcpy(&tr_trans->base, transfer, sizeof(struct pipe_transfer)); in trace_transfer_create()98 tr_trans->base.resource = NULL; in trace_transfer_create()99 tr_trans->transfer = transfer; in trace_transfer_create()101 pipe_resource_reference(&tr_trans->base.resource, res); in trace_transfer_create()102 assert(tr_trans->base.resource == res); in trace_transfer_create()104 return &tr_trans->base; in trace_transfer_create()114 struct trace_transfer *tr_trans) in trace_transfer_destroy() argument[all …]
119 struct trace_transfer *tr_trans);
1469 struct trace_transfer *tr_trans = trace_transfer(_transfer); in trace_context_transfer_unmap() local1471 struct pipe_transfer *transfer = tr_trans->transfer; in trace_context_transfer_unmap()1473 if (tr_trans->map) { in trace_context_transfer_unmap()1497 trace_dump_box_bytes(tr_trans->map, in trace_context_transfer_unmap()1520 trace_dump_box_bytes(tr_trans->map, in trace_context_transfer_unmap()1533 tr_trans->map = NULL; in trace_context_transfer_unmap()1537 trace_transfer_destroy(tr_ctx, tr_trans); in trace_context_transfer_unmap()