assert(cmnd->done);
BUG_ON(!cmnd->done);
static void uspace_cmnd_done(struct tgt_cmnd *cmnd, char *data,			     int result, uint32_t len){	int i;	assert(cmnd->done);	if (len) {		cmnd->bufflen = len;		cmnd->offset = 0;		__tgt_alloc_buffer(cmnd);		for (i = 0; i < cmnd->sg_count; i++) {			uint32_t copy = min_t(uint32_t, len, PAGE_CACHE_SIZE);			char *p = data;			memcpy(page_address(cmnd->sg[i].page), p, copy);			p += copy;			len -= copy;		}	}	cmnd_done(cmnd, result);}