Lines Matching refs:evbuf
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.hdr.flags = 0; /* clear processed-buffer */ in sclp_ftp_et7()
108 sccb->evbuf.route = SCLP_DIAG_FTP_ROUTE; in sclp_ftp_et7()
109 sccb->evbuf.mdd.ftp.pcx = SCLP_DIAG_FTP_XPCX; in sclp_ftp_et7()
110 sccb->evbuf.mdd.ftp.srcflg = 0; in sclp_ftp_et7()
111 sccb->evbuf.mdd.ftp.pgsize = 0; in sclp_ftp_et7()
112 sccb->evbuf.mdd.ftp.asce = _ASCE_REAL_SPACE; in sclp_ftp_et7()
113 sccb->evbuf.mdd.ftp.ldflg = SCLP_DIAG_FTP_LDFAIL; in sclp_ftp_et7()
114 sccb->evbuf.mdd.ftp.fsize = 0; in sclp_ftp_et7()
115 sccb->evbuf.mdd.ftp.cmd = ftp->id; in sclp_ftp_et7()
116 sccb->evbuf.mdd.ftp.offset = ftp->ofs; in sclp_ftp_et7()
117 sccb->evbuf.mdd.ftp.length = ftp->len; in sclp_ftp_et7()
118 sccb->evbuf.mdd.ftp.bufaddr = virt_to_phys(ftp->buf); in sclp_ftp_et7()
120 len = strlcpy(sccb->evbuf.mdd.ftp.fident, ftp->fname, in sclp_ftp_et7()
144 sccb->hdr.response_code, sccb->evbuf.hdr.flags); in sclp_ftp_et7()
153 (sccb->evbuf.hdr.flags & 0x80) == 0 || /* processed-buffer */ in sclp_ftp_et7()