Home
last modified time | relevance | path

Searched refs:evbuf (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/s390/char/
H A Dsclp_sdias.c42 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()
82 if (!(sccb->evbuf.hdr.flags & 0x80)) { in sdias_sclp_send()
84 sccb->evbuf.hdr.flags); in sdias_sclp_send()
91 memcpy(&sdias_evbuf, &sccb->evbuf, sizeof(sdias_evbuf)); in sdias_sclp_send()
118 sccb->evbuf.hdr.length = sizeof(struct sdias_evbuf); in sclp_sdias_blk_count()
119 sccb->evbuf.hdr.type = EVTYP_SDIAS; in sclp_sdias_blk_count()
120 sccb->evbuf.event_qual = SDIAS_EQ_SIZE; in sclp_sdias_blk_count()
121 sccb->evbuf in sclp_sdias_blk_count()
[all...]
H A Dsclp_ftp.c49 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 in sclp_ftp_et7()
[all...]
H A Dsclp_sd.c49 struct sclp_sd_evbuf evbuf; member
69 * @evbuf: Contains the resulting Store Data response after completion
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
[all...]
H A Dsclp_pci.c47 struct err_notify_evbuf evbuf; member
164 sccb->evbuf.header.length = sizeof(sccb->evbuf) + report->length; in sclp_pci_report()
165 sccb->evbuf.header.type = EVTYP_ERRNOTIFY; in sclp_pci_report()
166 sccb->header.length = sizeof(sccb->header) + sccb->evbuf.header.length; in sclp_pci_report()
168 sccb->evbuf.action = report->action; in sclp_pci_report()
169 sccb->evbuf.atype = SCLP_ATYPE_PCI; in sclp_pci_report()
170 sccb->evbuf.fh = fh; in sclp_pci_report()
171 sccb->evbuf.fid = fid; in sclp_pci_report()
173 memcpy(sccb->evbuf in sclp_pci_report()
[all...]
H A Dsclp.c402 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 in sclp_remove_processed()
[all...]
H A Dsclp_ocf.c43 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()
H A Dsclp_vt220.c51 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 in sclp_vt220_receiver_fn()
[all...]
H A Dsclp_config.c68 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()
H A Dsclp_tty.c464 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()
H A Dsclp_sdias.h44 struct sdias_evbuf evbuf; member
H A Dsclp_diag.h82 * @evbuf: event buffer
87 struct sclp_diag_evbuf evbuf; member
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dsclp_sdias.c42 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()
82 if (!(sccb->evbuf.hdr.flags & 0x80)) { in sdias_sclp_send()
84 sccb->evbuf.hdr.flags); in sdias_sclp_send()
91 memcpy(&sdias_evbuf, &sccb->evbuf, sizeof(sdias_evbuf)); in sdias_sclp_send()
118 sccb->evbuf.hdr.length = sizeof(struct sdias_evbuf); in sclp_sdias_blk_count()
119 sccb->evbuf.hdr.type = EVTYP_SDIAS; in sclp_sdias_blk_count()
120 sccb->evbuf.event_qual = SDIAS_EQ_SIZE; in sclp_sdias_blk_count()
121 sccb->evbuf in sclp_sdias_blk_count()
[all...]
H A Dsclp_ftp.c50 * @evbuf: pointer to Diagnostic Test (ET7) event buffer
52 static void sclp_ftp_rxcb(struct evbuf_header *evbuf) in sclp_ftp_rxcb() argument
54 struct sclp_diag_evbuf *diag = (struct sclp_diag_evbuf *) evbuf; in sclp_ftp_rxcb()
59 if (evbuf->type != EVTYP_DIAG_TEST || in sclp_ftp_rxcb()
62 evbuf->length < SCLP_DIAG_FTP_EVBUF_LEN) in sclp_ftp_rxcb()
67 evbuf, 24, evbuf); in sclp_ftp_rxcb()
105 sccb->evbuf.hdr.type = EVTYP_DIAG_TEST; in sclp_ftp_et7()
106 sccb->evbuf.hdr.length = SCLP_DIAG_FTP_EVBUF_LEN; in sclp_ftp_et7()
107 sccb->evbuf in sclp_ftp_et7()
[all...]
H A Dsclp_sd.c49 struct sclp_sd_evbuf evbuf; member
69 * @evbuf: Contains the resulting Store Data response after completion
75 struct sclp_sd_evbuf evbuf; member
147 struct sclp_sd_evbuf *evbuf = (struct sclp_sd_evbuf *) evbuf_hdr; in sclp_sd_receiver() local
151 pr_debug("received event (id=0x%08x)\n", evbuf->id); in sclp_sd_receiver()
154 if (listener->id != evbuf->id) in sclp_sd_receiver()
157 listener->evbuf = *evbuf; in sclp_sd_receiver()
165 pr_debug("unsolicited event (id=0x%08x)\n", evbuf->id); in sclp_sd_receiver()
194 struct sclp_sd_evbuf *evbuf; in sclp_sd_sync() local
[all...]
H A Dsclp_pci.c47 struct err_notify_evbuf evbuf; member
164 sccb->evbuf.header.length = sizeof(sccb->evbuf) + report->length; in sclp_pci_report()
165 sccb->evbuf.header.type = EVTYP_ERRNOTIFY; in sclp_pci_report()
166 sccb->header.length = sizeof(sccb->header) + sccb->evbuf.header.length; in sclp_pci_report()
168 sccb->evbuf.action = report->action; in sclp_pci_report()
169 sccb->evbuf.atype = SCLP_ATYPE_PCI; in sclp_pci_report()
170 sccb->evbuf.fh = fh; in sclp_pci_report()
171 sccb->evbuf.fid = fid; in sclp_pci_report()
173 memcpy(sccb->evbuf in sclp_pci_report()
[all...]
H A Dsclp.c112 struct evbuf_header *evbuf = (struct evbuf_header *)(sccb + 1); in abbrev_len() local
121 (evbuf->type == EVTYP_MSG || evbuf->type == EVTYP_VT220MSG)) in abbrev_len()
139 struct evbuf_header *evbuf, bool err) in sclp_trace_evbuf()
142 sclp_trace_bin(prio + 1, evbuf, in sclp_trace_evbuf()
143 min((int)evbuf->length, (int)SCLP_TRACE_EVENT_MAX_SIZE), in sclp_trace_evbuf()
144 err ? evbuf->length : 0); in sclp_trace_evbuf()
532 struct evbuf_header *evbuf; in sclp_dispatch_evbufs() local
541 offset += evbuf->length) { in sclp_dispatch_evbufs()
542 evbuf in sclp_dispatch_evbufs()
138 sclp_trace_evbuf(int prio, char *id, u32 a, u64 b, struct evbuf_header *evbuf, bool err) sclp_trace_evbuf() argument
624 struct evbuf_header *evbuf; ok_response() local
815 sclp_state_change_cb(struct evbuf_header *evbuf) sclp_state_change_cb() argument
916 struct evbuf_header *evbuf; sclp_remove_processed() local
[all...]
H A Dsclp_vt220.c52 struct evbuf_header evbuf; member
95 static void sclp_vt220_receiver_fn(struct evbuf_header *evbuf);
276 sccb->evbuf.type = EVTYP_VT220MSG; in sclp_vt220_initialize_page()
277 sccb->evbuf.length = sizeof(struct evbuf_header); in sclp_vt220_initialize_page()
296 return sccb->evbuf.length - sizeof(struct evbuf_header); in sclp_vt220_chars_stored()
340 sccb->evbuf.length += to; in sclp_vt220_add_msg()
345 sccb->evbuf.length += count; in sclp_vt220_add_msg()
526 sclp_vt220_receiver_fn(struct evbuf_header *evbuf) in sclp_vt220_receiver_fn() argument
531 buffer = (char *) ((addr_t) evbuf + sizeof(struct evbuf_header)); in sclp_vt220_receiver_fn()
532 count = evbuf in sclp_vt220_receiver_fn()
[all...]
H A Dsclp_ocf.c43 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()
H A Dsclp_config.c67 static void sclp_conf_receiver_fn(struct evbuf_header *evbuf) in sclp_conf_receiver_fn() argument
71 cdata = (struct conf_mgm_data *)(evbuf + 1); in sclp_conf_receiver_fn()
H A Dsclp_tty.c460 static void sclp_tty_receiver(struct evbuf_header *evbuf) in sclp_tty_receiver() argument
464 v = sclp_find_gds_vector(evbuf + 1, (void *) evbuf + evbuf->length, in sclp_tty_receiver()
H A Dsclp_sdias.h44 struct sdias_evbuf evbuf; member
H A Dsclp_quiesce.c34 static void sclp_quiesce_handler(struct evbuf_header *evbuf) in sclp_quiesce_handler() argument
H A Dsclp_diag.h82 * @evbuf: event buffer
87 struct sclp_diag_evbuf evbuf; member
/third_party/ltp/testcases/kernel/syscalls/io_submit/
H A Dio_submit02.c73 struct io_event evbuf; in run() local
85 tst_syscall(__NR_io_getevents, *tc[i].ctx, 1, 1, &evbuf, in run()
H A Dio_submit01.c119 struct io_event evbuf; in verify_io_submit() local
130 io_getevents(*t->ctx, 1, 1, &evbuf, &timeout); in verify_io_submit()

Completed in 13 milliseconds

12