Lines Matching refs:evbuf
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()
203 evbuf->hdr.length = sizeof(*evbuf); in sclp_sd_sync()
204 evbuf->hdr.type = EVTYP_STORE_DATA; in sclp_sd_sync()
205 evbuf->eq = eq; in sclp_sd_sync()
206 evbuf->di = di; in sclp_sd_sync()
207 evbuf->id = listener.id; in sclp_sd_sync()
208 evbuf->fmt = 1; in sclp_sd_sync()
209 evbuf->sat = sat; in sclp_sd_sync()
210 evbuf->sa = sa; in sclp_sd_sync()
212 evbuf->dsize = *dsize_ptr; in sclp_sd_sync()
227 if (sccb->hdr.response_code != 0x0020 || !(evbuf->hdr.flags & 0x80)) { in sclp_sd_sync()
231 if (!(evbuf->rflags & 0x80)) { in sclp_sd_sync()
235 evbuf = &listener.evbuf; in sclp_sd_sync()
237 switch (evbuf->status) { in sclp_sd_sync()
240 *dsize_ptr = evbuf->dsize; in sclp_sd_sync()
242 *esize_ptr = evbuf->esize; in sclp_sd_sync()
243 pr_debug("success (dsize=%u, esize=%u)\n", evbuf->dsize, in sclp_sd_sync()
244 evbuf->esize); in sclp_sd_sync()
260 eq, di, sccb->hdr.response_code, evbuf->hdr.flags, in sclp_sd_sync()
261 evbuf->status, rc); in sclp_sd_sync()