Lines Matching full:sccb

23  * The room for the SCCB (only for writing) is not equal to a pages size
44 struct sccb_header *sccb; in sclp_make_buffer() local
46 sccb = (struct sccb_header *) page; in sclp_make_buffer()
49 * of the sccb page. in sclp_make_buffer()
51 buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1; in sclp_make_buffer()
52 buffer->sccb = sccb; in sclp_make_buffer()
61 /* initialize sccb */ in sclp_make_buffer()
62 memset(sccb, 0, sizeof(struct sccb_header)); in sclp_make_buffer()
63 sccb->length = sizeof(struct sccb_header); in sclp_make_buffer()
75 return buffer->sccb; in sclp_unmake_buffer()
85 struct sccb_header *sccb; in sclp_initialize_mto() local
95 /* check if current buffer sccb can contain the mto */ in sclp_initialize_mto()
96 sccb = buffer->sccb; in sclp_initialize_mto()
97 if ((MAX_SCCB_ROOM - sccb->length) < msg_size) in sclp_initialize_mto()
100 msg = (struct msg_buf *)((addr_t) sccb + sccb->length); in sclp_initialize_mto()
130 * updating the sizes of MTO, enclosing MDB, event buffer and SCCB.
135 struct sccb_header *sccb; in sclp_finalize_mto() local
140 * (SCCB, Event(Message) Buffer, Message Data Block) in sclp_finalize_mto()
142 sccb = buffer->sccb; in sclp_finalize_mto()
147 sccb->length += msg->header.length; in sclp_finalize_mto()
152 * for the SCCB currently used for buffering and at all in sclp_finalize_mto()
164 * returns number of characters written to the output sccb
271 /* transfer current line to SCCB */ in sclp_write()
303 * Return the number of free bytes in the sccb
308 struct sccb_header *sccb; in sclp_buffer_space() local
311 sccb = buffer->sccb; in sclp_buffer_space()
312 count = MAX_SCCB_ROOM - sccb->length; in sclp_buffer_space()
361 struct sccb_header *sccb; in sclp_writedata_callback() local
364 sccb = buffer->sccb; in sclp_writedata_callback()
372 switch (sccb->response_code) { in sclp_writedata_callback()
384 if (sclp_remove_processed((struct sccb_header *) sccb) > 0) { in sclp_writedata_callback()
386 sccb->response_code = 0x0000; in sclp_writedata_callback()
402 sccb->response_code = 0x0000; in sclp_writedata_callback()
409 if (sccb->response_code == 0x71f0) in sclp_writedata_callback()
440 buffer->request.sccb = buffer->sccb; in sclp_emit_buffer()