Lines Matching refs:rl
146 rpcbs_rmtcalllist *rl; in rpcbs_rmtcall() local
151 for (rl = inf[rtype].rmtinfo; rl; rl = rl->next) { in rpcbs_rmtcall()
153 if(rl->netid == NULL) in rpcbs_rmtcall()
156 if ((rl->prog == prog) && (rl->vers == vers) && in rpcbs_rmtcall()
157 (rl->proc == proc) && in rpcbs_rmtcall()
158 (strcmp(rl->netid, netid) == 0)) { in rpcbs_rmtcall()
161 rl->failure++; in rpcbs_rmtcall()
163 rl->success++; in rpcbs_rmtcall()
165 rl->indirect++; in rpcbs_rmtcall()
173 rl = (rpcbs_rmtcalllist *) malloc(sizeof (rpcbs_rmtcalllist)); in rpcbs_rmtcall()
174 if (rl == NULL) { in rpcbs_rmtcall()
177 rl->prog = prog; in rpcbs_rmtcall()
178 rl->vers = vers; in rpcbs_rmtcall()
179 rl->proc = proc; in rpcbs_rmtcall()
180 rl->netid = nconf->nc_netid; in rpcbs_rmtcall()
183 rl->failure = 1; in rpcbs_rmtcall()
184 rl->success = 0; in rpcbs_rmtcall()
186 rl->failure = 0; in rpcbs_rmtcall()
187 rl->success = 1; in rpcbs_rmtcall()
189 rl->indirect = 1; in rpcbs_rmtcall()
190 rl->next = inf[rtype].rmtinfo; in rpcbs_rmtcall()
191 inf[rtype].rmtinfo = rl; in rpcbs_rmtcall()