Lines Matching refs:evbuf
48 static void sclp_ftp_rxcb(struct evbuf_header *evbuf) in sclp_ftp_rxcb() argument
50 struct sclp_diag_evbuf *diag = (struct sclp_diag_evbuf *) evbuf; in sclp_ftp_rxcb()
55 if (evbuf->type != EVTYP_DIAG_TEST || in sclp_ftp_rxcb()
58 evbuf->length < SCLP_DIAG_FTP_EVBUF_LEN) in sclp_ftp_rxcb()
63 evbuf, 24, evbuf); in sclp_ftp_rxcb()
101 sccb->evbuf.hdr.type = EVTYP_DIAG_TEST; in sclp_ftp_et7()
102 sccb->evbuf.hdr.length = SCLP_DIAG_FTP_EVBUF_LEN; in sclp_ftp_et7()
103 sccb->evbuf.hdr.flags = 0; /* clear processed-buffer */ in sclp_ftp_et7()
104 sccb->evbuf.route = SCLP_DIAG_FTP_ROUTE; in sclp_ftp_et7()
105 sccb->evbuf.mdd.ftp.pcx = SCLP_DIAG_FTP_XPCX; in sclp_ftp_et7()
106 sccb->evbuf.mdd.ftp.srcflg = 0; in sclp_ftp_et7()
107 sccb->evbuf.mdd.ftp.pgsize = 0; in sclp_ftp_et7()
108 sccb->evbuf.mdd.ftp.asce = _ASCE_REAL_SPACE; in sclp_ftp_et7()
109 sccb->evbuf.mdd.ftp.ldflg = SCLP_DIAG_FTP_LDFAIL; in sclp_ftp_et7()
110 sccb->evbuf.mdd.ftp.fsize = 0; in sclp_ftp_et7()
111 sccb->evbuf.mdd.ftp.cmd = ftp->id; in sclp_ftp_et7()
112 sccb->evbuf.mdd.ftp.offset = ftp->ofs; in sclp_ftp_et7()
113 sccb->evbuf.mdd.ftp.length = ftp->len; in sclp_ftp_et7()
114 sccb->evbuf.mdd.ftp.bufaddr = virt_to_phys(ftp->buf); in sclp_ftp_et7()
116 len = strlcpy(sccb->evbuf.mdd.ftp.fident, ftp->fname, in sclp_ftp_et7()
140 sccb->hdr.response_code, sccb->evbuf.hdr.flags); in sclp_ftp_et7()
149 (sccb->evbuf.hdr.flags & 0x80) == 0 || /* processed-buffer */ in sclp_ftp_et7()