Lines Matching defs:sccb
124 page = request->sclp_req.sccb;
159 struct sclp_vt220_sccb *sccb;
166 sccb = (struct sclp_vt220_sccb *) vt220_request->sclp_req.sccb;
169 switch (sccb->header.response_code) {
180 if (sclp_remove_processed((struct sccb_header *) sccb) > 0) {
182 sccb->header.response_code = 0x0000;
192 sccb->header.response_code = 0x0000;
231 struct sclp_vt220_sccb *sccb;
235 sccb = (struct sclp_vt220_sccb *)
236 sclp_vt220_current_request->sclp_req.sccb;
238 if (sccb->header.length != sizeof(struct sclp_vt220_sccb)) {
272 struct sclp_vt220_sccb *sccb;
278 request->sclp_req.sccb = page;
280 sccb = (struct sclp_vt220_sccb *) page;
281 memset((void *) sccb, 0, sizeof(struct sclp_vt220_sccb));
282 sccb->header.length = sizeof(struct sclp_vt220_sccb);
283 sccb->header.function_code = SCLP_NORMAL_WRITE;
284 sccb->header.response_code = 0x0000;
285 sccb->evbuf.type = EVTYP_VT220MSG;
286 sccb->evbuf.length = sizeof(struct evbuf_header);
294 struct sclp_vt220_sccb *sccb;
295 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb;
297 sccb->header.length;
303 struct sclp_vt220_sccb *sccb;
304 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb;
305 return sccb->evbuf.length - sizeof(struct evbuf_header);
316 struct sclp_vt220_sccb *sccb;
327 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb;
328 buffer = (void *) ((addr_t) sccb + sccb->header.length);
348 sccb->header.length += to;
349 sccb->evbuf.length += to;
353 sccb->header.length += count;
354 sccb->evbuf.length += count;