• Home
  • Raw
  • Download

Lines Matching refs:sccb

50 	struct write_sccb *sccb;  in sclp_make_buffer()  local
52 sccb = (struct write_sccb *) page; in sclp_make_buffer()
57 buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1; in sclp_make_buffer()
58 buffer->sccb = sccb; in sclp_make_buffer()
68 memset(sccb, 0, sizeof(struct write_sccb)); in sclp_make_buffer()
69 sccb->header.length = sizeof(struct write_sccb); in sclp_make_buffer()
70 sccb->msg_buf.header.length = sizeof(struct msg_buf); in sclp_make_buffer()
71 sccb->msg_buf.header.type = EVTYP_MSG; in sclp_make_buffer()
72 sccb->msg_buf.mdb.header.length = sizeof(struct mdb); in sclp_make_buffer()
73 sccb->msg_buf.mdb.header.type = 1; in sclp_make_buffer()
74 sccb->msg_buf.mdb.header.tag = 0xD4C4C240; /* ebcdic "MDB " */ in sclp_make_buffer()
75 sccb->msg_buf.mdb.header.revision_code = 1; in sclp_make_buffer()
76 sccb->msg_buf.mdb.go.length = sizeof(struct go); in sclp_make_buffer()
77 sccb->msg_buf.mdb.go.type = 1; in sclp_make_buffer()
89 return buffer->sccb; in sclp_unmake_buffer()
99 struct write_sccb *sccb; in sclp_initialize_mto() local
107 sccb = buffer->sccb; in sclp_initialize_mto()
108 if ((MAX_SCCB_ROOM - sccb->header.length) < mto_size) in sclp_initialize_mto()
112 mto = (struct mto *)(((addr_t) sccb) + sccb->header.length); in sclp_initialize_mto()
137 struct write_sccb *sccb; in sclp_finalize_mto() local
149 sccb = buffer->sccb; in sclp_finalize_mto()
150 mto = (struct mto *)(((addr_t) sccb) + sccb->header.length); in sclp_finalize_mto()
159 sccb->header.length += mto_size; in sclp_finalize_mto()
160 sccb->msg_buf.header.length += mto_size; in sclp_finalize_mto()
161 sccb->msg_buf.mdb.header.length += mto_size; in sclp_finalize_mto()
221 buffer->sccb->msg_buf.mdb.go.general_msg_flags |= in sclp_write()
314 count = MAX_SCCB_ROOM - buffer->sccb->header.length; in sclp_buffer_space()
381 struct write_sccb *sccb; in sclp_writedata_callback() local
384 sccb = buffer->sccb; in sclp_writedata_callback()
392 switch (sccb->header.response_code) { in sclp_writedata_callback()
404 if (sclp_remove_processed((struct sccb_header *) sccb) > 0) { in sclp_writedata_callback()
406 sccb->header.response_code = 0x0000; in sclp_writedata_callback()
422 sccb->header.response_code = 0x0000; in sclp_writedata_callback()
429 if (sccb->header.response_code == 0x71f0) in sclp_writedata_callback()
448 struct write_sccb *sccb; in sclp_emit_buffer() local
458 sccb = buffer->sccb; in sclp_emit_buffer()
461 sccb->msg_buf.header.type = EVTYP_MSG; in sclp_emit_buffer()
464 sccb->msg_buf.header.type = EVTYP_PMSGCMD; in sclp_emit_buffer()
471 buffer->request.sccb = sccb; in sclp_emit_buffer()