Searched refs:evbuf (Results 1 – 12 of 12) sorted by relevance
/drivers/s390/char/ |
D | sclp_sdias.c | 41 static void sclp_sdias_receiver_fn(struct evbuf_header *evbuf) in sclp_sdias_receiver_fn() argument 43 memcpy(&sdias_evbuf, evbuf, in sclp_sdias_receiver_fn() 44 min_t(unsigned long, sizeof(sdias_evbuf), evbuf->length)); in sclp_sdias_receiver_fn() 80 if (!(sccb.evbuf.hdr.flags & 0x80)) { in sdias_sclp_send() 82 sccb.evbuf.hdr.flags); in sdias_sclp_send() 89 memcpy(&sdias_evbuf, &sccb.evbuf, sizeof(sdias_evbuf)); in sdias_sclp_send() 115 sccb.evbuf.hdr.length = sizeof(struct sdias_evbuf); in sclp_sdias_blk_count() 116 sccb.evbuf.hdr.type = EVTYP_SDIAS; in sclp_sdias_blk_count() 117 sccb.evbuf.event_qual = SDIAS_EQ_SIZE; in sclp_sdias_blk_count() 118 sccb.evbuf.data_id = SDIAS_DI_FCP_DUMP; in sclp_sdias_blk_count() [all …]
|
D | sclp_ftp.c | 48 static void sclp_ftp_rxcb(struct evbuf_header *evbuf) in sclp_ftp_rxcb() argument 50 struct sclp_diag_evbuf *diag = (struct sclp_diag_evbuf *) evbuf; in sclp_ftp_rxcb() 55 if (evbuf->type != EVTYP_DIAG_TEST || in sclp_ftp_rxcb() 58 evbuf->length < SCLP_DIAG_FTP_EVBUF_LEN) in sclp_ftp_rxcb() 63 evbuf, 24, evbuf); in sclp_ftp_rxcb() 101 sccb->evbuf.hdr.type = EVTYP_DIAG_TEST; in sclp_ftp_et7() 102 sccb->evbuf.hdr.length = SCLP_DIAG_FTP_EVBUF_LEN; in sclp_ftp_et7() 103 sccb->evbuf.hdr.flags = 0; /* clear processed-buffer */ in sclp_ftp_et7() 104 sccb->evbuf.route = SCLP_DIAG_FTP_ROUTE; in sclp_ftp_et7() 105 sccb->evbuf.mdd.ftp.pcx = SCLP_DIAG_FTP_XPCX; in sclp_ftp_et7() [all …]
|
D | sclp_async.c | 45 struct async_evbuf evbuf; member 128 sccb->evbuf.header.type = EVTYP_ASYNC; in sclp_async_send_wait() 129 sccb->evbuf.rtype = 0xA5; in sclp_async_send_wait() 130 sccb->evbuf.otype = 0x00; in sclp_async_send_wait() 131 evb = &sccb->evbuf; in sclp_async_send_wait() 135 strncpy(sccb->evbuf.data, message, sizeof(sccb->evbuf.data)); in sclp_async_send_wait() 140 strncpy(sccb->evbuf.comp_id, CONFIG_SCLP_ASYNC_ID, in sclp_async_send_wait() 141 sizeof(sccb->evbuf.comp_id)); in sclp_async_send_wait() 142 sccb->evbuf.header.length = sizeof(sccb->evbuf); in sclp_async_send_wait() 143 sccb->header.length = sizeof(sccb->evbuf) + sizeof(sccb->header); in sclp_async_send_wait()
|
D | sclp_early.c | 178 sccb->evbuf.hdr.length = sizeof(struct sdias_evbuf); in sccb_init_eq_size() 179 sccb->evbuf.hdr.type = EVTYP_SDIAS; in sccb_init_eq_size() 180 sccb->evbuf.event_qual = SDIAS_EQ_SIZE; in sccb_init_eq_size() 181 sccb->evbuf.data_id = SDIAS_DI_FCP_DUMP; in sccb_init_eq_size() 182 sccb->evbuf.event_id = 4712; in sccb_init_eq_size() 183 sccb->evbuf.dbs = 1; in sccb_init_eq_size() 203 if (sccb->evbuf.blk_cnt == 0) in sclp_hsa_size_init() 205 return (sccb->evbuf.blk_cnt - 1) * PAGE_SIZE; in sclp_hsa_size_init() 214 if (((struct sdias_sccb *) sccb)->evbuf.blk_cnt == 0) in sclp_hsa_copy_wait() 216 return (((struct sdias_sccb *) sccb)->evbuf.blk_cnt - 1) * PAGE_SIZE; in sclp_hsa_copy_wait()
|
D | sclp.c | 425 struct evbuf_header *evbuf; in sclp_dispatch_evbufs() local 434 offset += evbuf->length) { in sclp_dispatch_evbufs() 435 evbuf = (struct evbuf_header *) ((addr_t) sccb + offset); in sclp_dispatch_evbufs() 437 if (evbuf->length == 0) in sclp_dispatch_evbufs() 443 if (reg->receive_mask & (1 << (32 - evbuf->type))) in sclp_dispatch_evbufs() 450 reg->receiver_fn(evbuf); in sclp_dispatch_evbufs() 653 sclp_state_change_cb(struct evbuf_header *evbuf) in sclp_state_change_cb() argument 658 scbuf = (struct sclp_statechangebuf *) evbuf; in sclp_state_change_cb() 749 struct evbuf_header *evbuf; in sclp_remove_processed() local 753 evbuf = (struct evbuf_header *) (sccb + 1); in sclp_remove_processed() [all …]
|
D | sclp_ocf.c | 42 static void sclp_ocf_handler(struct evbuf_header *evbuf) in sclp_ocf_handler() argument 49 v = sclp_find_gds_vector(evbuf + 1, (void *) evbuf + evbuf->length, in sclp_ocf_handler()
|
D | sclp_vt220.c | 50 struct evbuf_header evbuf; member 96 static void sclp_vt220_receiver_fn(struct evbuf_header *evbuf); 281 sccb->evbuf.type = EVTYP_VT220MSG; in sclp_vt220_initialize_page() 282 sccb->evbuf.length = sizeof(struct evbuf_header); in sclp_vt220_initialize_page() 301 return sccb->evbuf.length - sizeof(struct evbuf_header); in sclp_vt220_chars_stored() 345 sccb->evbuf.length += to; in sclp_vt220_add_msg() 350 sccb->evbuf.length += count; in sclp_vt220_add_msg() 533 sclp_vt220_receiver_fn(struct evbuf_header *evbuf) in sclp_vt220_receiver_fn() argument 538 buffer = (char *) ((addr_t) evbuf + sizeof(struct evbuf_header)); in sclp_vt220_receiver_fn() 539 count = evbuf->length - sizeof(struct evbuf_header); in sclp_vt220_receiver_fn()
|
D | sclp_config.c | 51 static void sclp_conf_receiver_fn(struct evbuf_header *evbuf) in sclp_conf_receiver_fn() argument 55 cdata = (struct conf_mgm_data *)(evbuf + 1); in sclp_conf_receiver_fn()
|
D | sclp_tty.c | 468 static void sclp_tty_receiver(struct evbuf_header *evbuf) in sclp_tty_receiver() argument 472 v = sclp_find_gds_vector(evbuf + 1, (void *) evbuf + evbuf->length, in sclp_tty_receiver()
|
D | sclp_sdias.h | 43 struct sdias_evbuf evbuf; member
|
D | sclp_diag.h | 86 struct sclp_diag_evbuf evbuf; member
|
D | sclp_quiesce.c | 38 static void sclp_quiesce_handler(struct evbuf_header *evbuf) in sclp_quiesce_handler() argument
|