Lines Matching defs:objp

41 xdr_rpcbs_addrlist(XDR *xdrs, rpcbs_addrlist *objp)
43 if (!xdr_u_int(xdrs, (uint_t *)&objp->prog))
45 if (!xdr_u_int(xdrs, (uint_t *)&objp->vers))
47 if (!xdr_int(xdrs, &objp->success))
49 if (!xdr_int(xdrs, &objp->failure))
51 return (xdr_string(xdrs, &objp->netid, ~0));
57 xdr_rpcbs_rmtcalllist(XDR *xdrs, rpcbs_rmtcalllist *objp)
65 if (!xdr_u_int(xdrs, (uint_t *)&objp->prog))
67 if (!xdr_u_int(xdrs, (uint_t *)&objp->vers))
69 if (!xdr_u_int(xdrs, (uint_t *)&objp->proc))
71 if (!xdr_int(xdrs, &objp->success))
73 if (!xdr_int(xdrs, &objp->failure))
75 if (!xdr_int(xdrs, &objp->indirect))
78 IXDR_PUT_U_INT32(buf, objp->prog);
79 IXDR_PUT_U_INT32(buf, objp->vers);
80 IXDR_PUT_U_INT32(buf, objp->proc);
81 IXDR_PUT_INT32(buf, objp->success);
82 IXDR_PUT_INT32(buf, objp->failure);
83 IXDR_PUT_INT32(buf, objp->indirect);
85 if (!xdr_string(xdrs, &objp->netid, ~0))
87 return (xdr_pointer(xdrs, (char **)&objp->next,
93 if (!xdr_u_int(xdrs, (uint_t *)&objp->prog))
95 if (!xdr_u_int(xdrs, (uint_t *)&objp->vers))
97 if (!xdr_u_int(xdrs, (uint_t *)&objp->proc))
99 if (!xdr_int(xdrs, &objp->success))
101 if (!xdr_int(xdrs, &objp->failure))
103 if (!xdr_int(xdrs, &objp->indirect))
106 objp->prog = IXDR_GET_U_INT32(buf);
107 objp->vers = IXDR_GET_U_INT32(buf);
108 objp->proc = IXDR_GET_U_INT32(buf);
109 objp->success = IXDR_GET_INT32(buf);
110 objp->failure = IXDR_GET_INT32(buf);
111 objp->indirect = IXDR_GET_INT32(buf);
113 if (!xdr_string(xdrs, &objp->netid, ~0))
115 return (xdr_pointer(xdrs, (char **)&objp->next,
119 if (!xdr_u_int(xdrs, (uint_t *)&objp->prog))
121 if (!xdr_u_int(xdrs, (uint_t *)&objp->vers))
123 if (!xdr_u_int(xdrs, (uint_t *)&objp->proc))
125 if (!xdr_int(xdrs, &objp->success))
127 if (!xdr_int(xdrs, &objp->failure))
129 if (!xdr_int(xdrs, &objp->indirect))
131 if (!xdr_string(xdrs, &objp->netid, ~0))
133 return (xdr_pointer(xdrs, (char **)&objp->next,
142 xdr_rpcbs_proc(XDR *xdrs, rpcbs_proc objp)
144 return (xdr_vector(xdrs, (char *)objp, RPCBSTAT_HIGHPROC, sizeof (int),
149 xdr_rpcbs_addrlist_ptr(XDR *xdrs, rpcbs_addrlist_ptr *objp)
155 more_data = (*objp != NULL);
164 nextp = &(*objp)->next;
166 if (!xdr_reference(xdrs, (char **)objp,
171 objp = (xdrs->x_op == XDR_FREE) ? nextp : &(*objp)->next;
174 *objp = NULL;
179 xdr_rpcbs_rmtcalllist_ptr(XDR *xdrs, rpcbs_rmtcalllist_ptr *objp)
181 return (xdr_pointer(xdrs, (char **)objp, sizeof (rpcbs_rmtcalllist),
186 xdr_rpcb_stat(XDR *xdrs, rpcb_stat *objp)
188 if (!xdr_rpcbs_proc(xdrs, objp->info))
190 if (!xdr_int(xdrs, &objp->setinfo))
192 if (!xdr_int(xdrs, &objp->unsetinfo))
194 if (!xdr_rpcbs_addrlist_ptr(xdrs, &objp->addrinfo))
196 return (xdr_rpcbs_rmtcalllist_ptr(xdrs, &objp->rmtinfo));
204 xdr_rpcb_stat_byvers(XDR *xdrs, rpcb_stat_byvers objp)
206 return (xdr_vector(xdrs, (char *)objp, RPCBVERS_STAT,