/linux-4.19.296/drivers/s390/char/ |
D | sclp_sdias.c | 42 static void sclp_sdias_receiver_fn(struct evbuf_header *evbuf) in sclp_sdias_receiver_fn() argument 44 memcpy(&sdias_evbuf, evbuf, in sclp_sdias_receiver_fn() 45 min_t(unsigned long, sizeof(sdias_evbuf), evbuf->length)); in sclp_sdias_receiver_fn() 81 if (!(sccb.evbuf.hdr.flags & 0x80)) { in sdias_sclp_send() 83 sccb.evbuf.hdr.flags); in sdias_sclp_send() 90 memcpy(&sdias_evbuf, &sccb.evbuf, sizeof(sdias_evbuf)); in sdias_sclp_send() 116 sccb.evbuf.hdr.length = sizeof(struct sdias_evbuf); in sclp_sdias_blk_count() 117 sccb.evbuf.hdr.type = EVTYP_SDIAS; in sclp_sdias_blk_count() 118 sccb.evbuf.event_qual = SDIAS_EQ_SIZE; in sclp_sdias_blk_count() 119 sccb.evbuf.data_id = SDIAS_DI_FCP_DUMP; in sclp_sdias_blk_count() [all …]
|
D | sclp_ftp.c | 49 static void sclp_ftp_rxcb(struct evbuf_header *evbuf) in sclp_ftp_rxcb() argument 51 struct sclp_diag_evbuf *diag = (struct sclp_diag_evbuf *) evbuf; in sclp_ftp_rxcb() 56 if (evbuf->type != EVTYP_DIAG_TEST || in sclp_ftp_rxcb() 59 evbuf->length < SCLP_DIAG_FTP_EVBUF_LEN) in sclp_ftp_rxcb() 64 evbuf, 24, evbuf); in sclp_ftp_rxcb() 102 sccb->evbuf.hdr.type = EVTYP_DIAG_TEST; in sclp_ftp_et7() 103 sccb->evbuf.hdr.length = SCLP_DIAG_FTP_EVBUF_LEN; in sclp_ftp_et7() 104 sccb->evbuf.hdr.flags = 0; /* clear processed-buffer */ in sclp_ftp_et7() 105 sccb->evbuf.route = SCLP_DIAG_FTP_ROUTE; in sclp_ftp_et7() 106 sccb->evbuf.mdd.ftp.pcx = SCLP_DIAG_FTP_XPCX; in sclp_ftp_et7() [all …]
|
D | sclp_sd.c | 49 struct sclp_sd_evbuf evbuf; member 75 struct sclp_sd_evbuf evbuf; member 146 struct sclp_sd_evbuf *evbuf = (struct sclp_sd_evbuf *) evbuf_hdr; in sclp_sd_receiver() local 150 pr_debug("received event (id=0x%08x)\n", evbuf->id); in sclp_sd_receiver() 153 if (listener->id != evbuf->id) in sclp_sd_receiver() 156 listener->evbuf = *evbuf; in sclp_sd_receiver() 164 pr_debug("unsolicited event (id=0x%08x)\n", evbuf->id); in sclp_sd_receiver() 193 struct sclp_sd_evbuf *evbuf; in sclp_sd_sync() local 201 sccb->hdr.length = sizeof(sccb->hdr) + sizeof(sccb->evbuf); in sclp_sd_sync() 202 evbuf = &sccb->evbuf; in sclp_sd_sync() [all …]
|
D | sclp_async.c | 46 struct async_evbuf evbuf; member 105 sccb->evbuf.header.type = EVTYP_ASYNC; in sclp_async_send_wait() 106 sccb->evbuf.rtype = 0xA5; in sclp_async_send_wait() 107 sccb->evbuf.otype = 0x00; in sclp_async_send_wait() 108 evb = &sccb->evbuf; in sclp_async_send_wait() 112 strncpy(sccb->evbuf.data, message, sizeof(sccb->evbuf.data)); in sclp_async_send_wait() 117 strncpy(sccb->evbuf.comp_id, CONFIG_SCLP_ASYNC_ID, in sclp_async_send_wait() 118 sizeof(sccb->evbuf.comp_id)); in sclp_async_send_wait() 119 sccb->evbuf.header.length = sizeof(sccb->evbuf); in sclp_async_send_wait() 120 sccb->header.length = sizeof(sccb->evbuf) + sizeof(sccb->header); in sclp_async_send_wait()
|
D | sclp_pci.c | 46 struct err_notify_evbuf evbuf; member 158 sccb->evbuf.header.length = sizeof(sccb->evbuf) + report->length; in sclp_pci_report() 159 sccb->evbuf.header.type = EVTYP_ERRNOTIFY; in sclp_pci_report() 160 sccb->header.length = sizeof(sccb->header) + sccb->evbuf.header.length; in sclp_pci_report() 162 sccb->evbuf.action = report->action; in sclp_pci_report() 163 sccb->evbuf.atype = SCLP_ATYPE_PCI; in sclp_pci_report() 164 sccb->evbuf.fh = fh; in sclp_pci_report() 165 sccb->evbuf.fid = fid; in sclp_pci_report() 167 memcpy(sccb->evbuf.data, report->data, report->length); in sclp_pci_report()
|
D | sclp_early.c | 196 sccb->evbuf.hdr.length = sizeof(struct sdias_evbuf); in sclp_early_hsa_size_init() 197 sccb->evbuf.hdr.type = EVTYP_SDIAS; in sclp_early_hsa_size_init() 198 sccb->evbuf.event_qual = SDIAS_EQ_SIZE; in sclp_early_hsa_size_init() 199 sccb->evbuf.data_id = SDIAS_DI_FCP_DUMP; in sclp_early_hsa_size_init() 200 sccb->evbuf.event_id = 4712; in sclp_early_hsa_size_init() 201 sccb->evbuf.dbs = 1; in sclp_early_hsa_size_init() 206 if (sccb->evbuf.blk_cnt == 0) in sclp_early_hsa_size_init() 208 return (sccb->evbuf.blk_cnt - 1) * PAGE_SIZE; in sclp_early_hsa_size_init() 219 if (sccb->evbuf.blk_cnt == 0) in sclp_early_hsa_copy_wait() 221 return (sccb->evbuf.blk_cnt - 1) * PAGE_SIZE; in sclp_early_hsa_copy_wait()
|
D | sclp.c | 402 struct evbuf_header *evbuf; in sclp_dispatch_evbufs() local 411 offset += evbuf->length) { in sclp_dispatch_evbufs() 412 evbuf = (struct evbuf_header *) ((addr_t) sccb + offset); in sclp_dispatch_evbufs() 414 if (evbuf->length == 0) in sclp_dispatch_evbufs() 420 if (reg->receive_mask & SCLP_EVTYP_MASK(evbuf->type)) in sclp_dispatch_evbufs() 427 reg->receiver_fn(evbuf); in sclp_dispatch_evbufs() 632 sclp_state_change_cb(struct evbuf_header *evbuf) in sclp_state_change_cb() argument 639 scbuf = (struct sclp_statechangebuf *) evbuf; in sclp_state_change_cb() 728 struct evbuf_header *evbuf; in sclp_remove_processed() local 732 evbuf = (struct evbuf_header *) (sccb + 1); in sclp_remove_processed() [all …]
|
D | sclp_ocf.c | 43 static void sclp_ocf_handler(struct evbuf_header *evbuf) in sclp_ocf_handler() argument 50 v = sclp_find_gds_vector(evbuf + 1, (void *) evbuf + evbuf->length, in sclp_ocf_handler()
|
D | sclp_vt220.c | 51 struct evbuf_header evbuf; member 97 static void sclp_vt220_receiver_fn(struct evbuf_header *evbuf); 282 sccb->evbuf.type = EVTYP_VT220MSG; in sclp_vt220_initialize_page() 283 sccb->evbuf.length = sizeof(struct evbuf_header); in sclp_vt220_initialize_page() 302 return sccb->evbuf.length - sizeof(struct evbuf_header); in sclp_vt220_chars_stored() 346 sccb->evbuf.length += to; in sclp_vt220_add_msg() 351 sccb->evbuf.length += count; in sclp_vt220_add_msg() 532 sclp_vt220_receiver_fn(struct evbuf_header *evbuf) in sclp_vt220_receiver_fn() argument 537 buffer = (char *) ((addr_t) evbuf + sizeof(struct evbuf_header)); in sclp_vt220_receiver_fn() 538 count = evbuf->length - sizeof(struct evbuf_header); in sclp_vt220_receiver_fn()
|
D | sclp_tty.c | 464 static void sclp_tty_receiver(struct evbuf_header *evbuf) in sclp_tty_receiver() argument 468 v = sclp_find_gds_vector(evbuf + 1, (void *) evbuf + evbuf->length, in sclp_tty_receiver()
|
D | sclp_config.c | 68 static void sclp_conf_receiver_fn(struct evbuf_header *evbuf) in sclp_conf_receiver_fn() argument 72 cdata = (struct conf_mgm_data *)(evbuf + 1); in sclp_conf_receiver_fn()
|
D | sclp_sdias.h | 44 struct sdias_evbuf evbuf; member
|
D | sclp_diag.h | 87 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
|