Lines Matching full:sccb
23 * The room for the SCCB (only for writing) is not equal to a pages size
51 struct sccb_header *sccb; in sclp_make_buffer() local
53 sccb = (struct sccb_header *) page; in sclp_make_buffer()
56 * of the sccb page. in sclp_make_buffer()
58 buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1; in sclp_make_buffer()
59 buffer->sccb = sccb; in sclp_make_buffer()
68 /* initialize sccb */ in sclp_make_buffer()
69 memset(sccb, 0, sizeof(struct sccb_header)); in sclp_make_buffer()
70 sccb->length = sizeof(struct sccb_header); in sclp_make_buffer()
82 return buffer->sccb; in sclp_unmake_buffer()
92 struct sccb_header *sccb; in sclp_initialize_mto() local
102 /* check if current buffer sccb can contain the mto */ in sclp_initialize_mto()
103 sccb = buffer->sccb; in sclp_initialize_mto()
104 if ((MAX_SCCB_ROOM - sccb->length) < msg_size) in sclp_initialize_mto()
107 msg = (struct msg_buf *)((addr_t) sccb + sccb->length); in sclp_initialize_mto()
137 * updating the sizes of MTO, enclosing MDB, event buffer and SCCB.
142 struct sccb_header *sccb; in sclp_finalize_mto() local
147 * (SCCB, Event(Message) Buffer, Message Data Block) in sclp_finalize_mto()
149 sccb = buffer->sccb; in sclp_finalize_mto()
154 sccb->length += msg->header.length; in sclp_finalize_mto()
159 * for the SCCB currently used for buffering and at all in sclp_finalize_mto()
171 * returns number of characters written to the output sccb
278 /* transfer current line to SCCB */ in sclp_write()
310 * Return the number of free bytes in the sccb
315 struct sccb_header *sccb; in sclp_buffer_space() local
318 sccb = buffer->sccb; in sclp_buffer_space()
319 count = MAX_SCCB_ROOM - sccb->length; in sclp_buffer_space()
368 struct sccb_header *sccb; in sclp_writedata_callback() local
371 sccb = buffer->sccb; in sclp_writedata_callback()
379 switch (sccb->response_code) { in sclp_writedata_callback()
391 if (sclp_remove_processed((struct sccb_header *) sccb) > 0) { in sclp_writedata_callback()
393 sccb->response_code = 0x0000; in sclp_writedata_callback()
409 sccb->response_code = 0x0000; in sclp_writedata_callback()
416 if (sccb->response_code == 0x71f0) in sclp_writedata_callback()
447 buffer->request.sccb = buffer->sccb; in sclp_emit_buffer()