Lines Matching refs:pg
86 SunProg *pg; in sunRpcRequestThread() local
116 if((pg = sunFindProg(srv, m, &m->rpc, &c)) == nil){ in sunRpcRequestThread()
124 if((ok = sunCallUnpackAlloc(pg, m->rpc.proc<<1, p, ep, &p, &m->call)) != SunSuccess){ in sunRpcRequestThread()
133 m->pg = pg; in sunRpcRequestThread()
142 SunProg *pg; in sunFindProg() local
148 pg = srv->prog[i]; in sunFindProg()
149 if(pg->prog != rpc->prog) in sunFindProg()
151 if(pg->vers == rpc->vers){ in sunFindProg()
153 return pg; in sunFindProg()
156 if(pg->vers < vlo) in sunFindProg()
157 vlo = pg->vers; in sunFindProg()
158 if(pg->vers > vhi) in sunFindProg()
159 vhi = pg->vers; in sunFindProg()
243 n2 = sunCallSize(m->pg, c); in sunMsgReply()
252 if(sunCallPack(m->pg, p, ep, &p, c) != SunSuccess){ in sunMsgReply()