dprintk("cid %llu pg_count %d offset %llu len %d\n", cmd->cid, cmd->sg_count, cmd->offset, cmd->bufflen);
dprintk("cid %" PRIx64 " pg_count %d offset %" PRIu64 " len %d\n", cmd->cid, cmd->sg_count, cmd->offset, cmd->bufflen);
void __tgt_alloc_buffer(struct tgt_cmd *cmd){	uint64_t offset = cmd->offset;	uint32_t len = cmd->bufflen;	int i;	cmd->sg_count = pgcnt(len, offset);	offset &= ~PAGE_CACHE_MASK;	dprintk("cid %llu pg_count %d offset %llu len %d\n", cmd->cid,		cmd->sg_count, cmd->offset, cmd->bufflen);	cmd->sg = kmalloc(cmd->sg_count * sizeof(struct scatterlist),			   GFP_KERNEL | __GFP_NOFAIL);	for (i = 0; i < cmd->sg_count; i++) {		struct scatterlist *sg = &cmd->sg[i];		sg->page = alloc_page(GFP_KERNEL | __GFP_NOFAIL);		sg->offset = offset;		sg->length = min_t(uint32_t, PAGE_CACHE_SIZE - offset, len);		offset = 0;		len -= sg->length;	}}