Lines Matching refs:rmt
542 struct rmtcallfd_list *rmt;
560 rmt = malloc(sizeof (struct rmtcallfd_list));
561 if (rmt == NULL) {
566 rmt->netid = strdup(nconf->nc_netid);
567 if (rmt->netid == NULL) {
568 free(rmt);
573 if (svc_add_input(fd, MASKVAL, handle_reply, rmt->netid) == -1) {
574 free(rmt->netid);
575 free(rmt);
580 rmt->fd = fd;
581 rmt->next = NULL;
583 rmthead = rmt;
584 rmttail = rmt;
586 rmttail->next = rmt;
587 rmttail = rmt;
596 struct rmtcallfd_list *rmt;
598 for (rmt = rmthead; rmt != NULL; rmt = rmt->next) {
599 if (strcmp(netid, rmt->netid) == 0) {
600 return (rmt->fd);