Lines Matching defs:rx

285 	rpcb_xact_t *rx;
296 rx = NULL;
314 rx = NULL; /* XXX gcc */
317 rv = ipf_p_rpcb_decoderep(fin, nat, rs, rm, &rx);
322 if (rx != NULL) {
324 ipf_p_rpcb_deref(rs, rx);
341 if (rx->rx_type == RPCB_RES_STRING)
343 else if (rx->rx_type == RPCB_RES_LIST)
352 if (rx != NULL) {
357 * finished with rx, and the other signals that we've
360 ipf_p_rpcb_deref(rs, rx);
361 ipf_p_rpcb_deref(rs, rx);
423 rpcb_xact_t rx;
429 bzero((char *)&rx, sizeof(rx));
433 rx.rx_xid = B(p++); /* Record this message's XID. */
470 rx.rx_type = RPCB_RES_PMAP;
471 rx.rx_proto = xdr;
479 rx.rx_type = RPCB_RES_STRING;
480 rx.rx_proto = (u_int)fin->fin_p;
485 rx.rx_type = RPCB_RES_LIST;
512 if (ipf_p_rpcb_insert(rs, &rx) != 0) {
569 /* rx(I) - pointer to RPCB transaction structure */
572 ipf_p_rpcb_insert(rs, rx)
574 rpcb_xact_t *rx;
578 rxp = ipf_p_rpcb_lookup(rs, rx->rx_xid);
591 bcopy((char *)rx, (char *)rxp, sizeof(*rx));
866 rpcb_xact_t *rx;
873 bzero((char *)&rx, sizeof(rx));
881 if ((rx = ipf_p_rpcb_lookup(rs, xdr)) == NULL) {
885 ++rx->rx_ref; /* per thread reference */
888 *rxp = rx;
916 switch(rx->rx_type)
935 if (ipf_p_rpcb_getnat(fin, nat, rx->rx_proto, (u_int)xdr) != 0)
961 if (ipf_p_rpcb_getnat(fin, nat, rx->rx_proto,
1026 IPF_PANIC(1, ("illegal rx_type %d", rx->rx_type));
1044 rpcb_xact_t *rx;
1049 for (rx = rs->rs_rxlist; rx != NULL; rx = rx->rx_next)
1050 if (rx->rx_xid == xid)
1053 return(rx);
1060 /* rx(I) - pointer to RPC transaction struct to remove */
1065 /* Free the RPCB transaction record rx from the chain of entries. */
1068 ipf_p_rpcb_deref(rs, rx)
1070 rpcb_xact_t *rx;
1074 if (rx == NULL)
1077 if (--rx->rx_ref != 0)
1080 if (rx->rx_next != NULL)
1081 rx->rx_next->rx_pnext = rx->rx_pnext;
1083 *rx->rx_pnext = rx->rx_next;
1085 KFREE(rx);