Lines Matching refs:evbuf
52 struct sclp_sd_evbuf evbuf; member
78 struct sclp_sd_evbuf evbuf; member
150 struct sclp_sd_evbuf *evbuf = (struct sclp_sd_evbuf *) evbuf_hdr; in sclp_sd_receiver() local
154 pr_debug("received event (id=0x%08x)\n", evbuf->id); in sclp_sd_receiver()
157 if (listener->id != evbuf->id) in sclp_sd_receiver()
160 listener->evbuf = *evbuf; in sclp_sd_receiver()
168 pr_debug("unsolicited event (id=0x%08x)\n", evbuf->id); in sclp_sd_receiver()
197 struct sclp_sd_evbuf *evbuf; in sclp_sd_sync() local
209 sccb->hdr.length = sizeof(sccb->hdr) + sizeof(sccb->evbuf); in sclp_sd_sync()
210 evbuf = &sccb->evbuf; in sclp_sd_sync()
211 evbuf->hdr.length = sizeof(*evbuf); in sclp_sd_sync()
212 evbuf->hdr.type = EVTYP_STORE_DATA; in sclp_sd_sync()
213 evbuf->eq = eq; in sclp_sd_sync()
214 evbuf->di = di; in sclp_sd_sync()
215 evbuf->id = listener.id; in sclp_sd_sync()
216 evbuf->fmt = 1; in sclp_sd_sync()
217 evbuf->sat = sat; in sclp_sd_sync()
218 evbuf->sa = sa; in sclp_sd_sync()
220 evbuf->dsize = *dsize_ptr; in sclp_sd_sync()
235 if (sccb->hdr.response_code != 0x0020 || !(evbuf->hdr.flags & 0x80)) { in sclp_sd_sync()
239 if (!(evbuf->rflags & 0x80)) { in sclp_sd_sync()
246 evbuf = &listener.evbuf; in sclp_sd_sync()
248 switch (evbuf->status) { in sclp_sd_sync()
251 *dsize_ptr = evbuf->dsize; in sclp_sd_sync()
253 *esize_ptr = evbuf->esize; in sclp_sd_sync()
254 pr_debug("success (dsize=%u, esize=%u)\n", evbuf->dsize, in sclp_sd_sync()
255 evbuf->esize); in sclp_sd_sync()
271 eq, di, sccb->hdr.response_code, evbuf->hdr.flags, in sclp_sd_sync()
272 evbuf->status, rc); in sclp_sd_sync()