Lines Matching defs:offset
128 dcons_init_port(int port, int offset, int size, struct dcons_buf *buf,
140 dc->o.buf = (char *)buf + offset;
149 buf->ooffset[port] = htonl(offset);
150 buf->ioffset[port] = htonl(offset + osize);
196 int size0, size1, offset;
198 offset = DCONS_HEADER_SIZE;
199 size0 = (size - offset);
202 dcons_init_port(0, offset, size1, buf, sc);
203 offset += size1;
204 dcons_init_port(1, offset, size0 - size1, buf, sc);