Lines Matching defs:pl
114 struct proglst *pl;
123 for (pl = proglst; pl; pl = pl->p_nxt)
124 if (strcmp(pl->p_netid, nconf->nc_netid) == 0) {
125 svcxprt = pl->p_transp;
126 xdrbuf = pl->p_xdrbuf;
127 recvsz = pl->p_recvsz;
128 netid = pl->p_netid;
168 for (pl = proglst; pl; pl = pl->p_nxt)
169 if ((pl->p_prognum == prognum) &&
170 (pl->p_versnum == versnum) &&
171 (strcmp(pl->p_netid, netid) == 0))
173 if (pl == NULL) { /* Not yet */
192 pl = malloc(sizeof (struct proglst));
193 if (pl == NULL) {
203 pl->p_progname = progname;
204 pl->p_prognum = prognum;
205 pl->p_versnum = versnum;
206 pl->p_procnum = procnum;
207 pl->p_inproc = inproc;
208 pl->p_outproc = outproc;
209 pl->p_transp = svcxprt;
210 pl->p_xdrbuf = xdrbuf;
211 pl->p_recvsz = recvsz;
212 pl->p_netid = netid;
213 pl->p_nxt = proglst;
214 proglst = pl;
242 struct proglst *pl;
259 for (pl = proglst; pl; pl = pl->p_nxt) {
260 if (pl->p_prognum == prog && pl->p_procnum == proc &&
261 pl->p_versnum == vers &&
262 (strcmp(pl->p_netid, transp->xp_netid) == 0)) {
264 xdrbuf = pl->p_xdrbuf;
266 (void) memset(xdrbuf, 0, pl->p_recvsz);
272 if (!svc_getargs(transp, pl->p_inproc, xdrbuf)) {
277 outdata = (*(pl->p_progname))(xdrbuf);
279 pl->p_outproc != (xdrproc_t)xdr_void) {
284 if (!svc_sendreply(transp, pl->p_outproc, outdata)) {
292 (void) svc_freeargs(transp, pl->p_inproc, xdrbuf);