Lines Matching refs:evbuf
49 struct sclp_sd_evbuf evbuf; member
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
202 sccb->hdr.length = sizeof(sccb->hdr) + sizeof(sccb->evbuf); in sclp_sd_sync()
203 evbuf = &sccb->evbuf; in sclp_sd_sync()
204 evbuf->hdr.length = sizeof(*evbuf); in sclp_sd_sync()
205 evbuf->hdr.type = EVTYP_STORE_DATA; in sclp_sd_sync()
206 evbuf->eq = eq; in sclp_sd_sync()
207 evbuf->di = di; in sclp_sd_sync()
208 evbuf->id = listener.id; in sclp_sd_sync()
209 evbuf->fmt = 1; in sclp_sd_sync()
210 evbuf->sat = sat; in sclp_sd_sync()
211 evbuf->sa = sa; in sclp_sd_sync()
213 evbuf->dsize = *dsize_ptr; in sclp_sd_sync()
228 if (sccb->hdr.response_code != 0x0020 || !(evbuf->hdr.flags & 0x80)) { in sclp_sd_sync()
232 if (!(evbuf->rflags & 0x80)) { in sclp_sd_sync()
236 evbuf = &listener.evbuf; in sclp_sd_sync()
238 switch (evbuf->status) { in sclp_sd_sync()
241 *dsize_ptr = evbuf->dsize; in sclp_sd_sync()
243 *esize_ptr = evbuf->esize; in sclp_sd_sync()
244 pr_debug("success (dsize=%u, esize=%u)\n", evbuf->dsize, in sclp_sd_sync()
245 evbuf->esize); in sclp_sd_sync()
261 eq, di, sccb->hdr.response_code, evbuf->hdr.flags, in sclp_sd_sync()
262 evbuf->status, rc); in sclp_sd_sync()