Lines Matching refs:t
583 BlockCopyTask *t = container_of(task, BlockCopyTask, task); in block_copy_task_entry() local
584 BlockCopyState *s = t->s; in block_copy_task_entry()
586 BlockCopyMethod method = t->method; in block_copy_task_entry()
590 ret = block_copy_do_copy(s, t->req.offset, t->req.bytes, &method, in block_copy_task_entry()
595 if (s->method == t->method) { in block_copy_task_entry()
600 if (!t->call_state->ret) { in block_copy_task_entry()
601 t->call_state->ret = ret; in block_copy_task_entry()
602 t->call_state->error_is_read = error_is_read; in block_copy_task_entry()
605 progress_work_done(s->progress, t->req.bytes); in block_copy_task_entry()
608 co_put_to_shres(s->mem, t->req.bytes); in block_copy_task_entry()
609 block_copy_task_end(t, ret); in block_copy_task_entry()
613 MIN(t->req.offset + t->req.bytes, s->len) - t->req.offset; in block_copy_task_entry()
615 bdrv_co_pdiscard(s->source, t->req.offset, nbytes); in block_copy_task_entry()