HomeSort by: relevance | last modified time | path
    Searched refs:objp (Results 1 - 15 of 15) sorted by relevancy

  /src/sys/fs/nfs/nlm/
sm_inter_xdr.c 13 xdr_sm_name(XDR *xdrs, sm_name *objp)
16 if (!xdr_string(xdrs, &objp->mon_name, SM_MAXSTRLEN))
22 xdr_my_id(XDR *xdrs, my_id *objp)
25 if (!xdr_string(xdrs, &objp->my_name, SM_MAXSTRLEN))
27 if (!xdr_int(xdrs, &objp->my_prog))
29 if (!xdr_int(xdrs, &objp->my_vers))
31 if (!xdr_int(xdrs, &objp->my_proc))
37 xdr_mon_id(XDR *xdrs, mon_id *objp)
40 if (!xdr_string(xdrs, &objp->mon_name, SM_MAXSTRLEN))
42 if (!xdr_my_id(xdrs, &objp->my_id)
    [all...]
nlm_prot_xdr.c 19 xdr_nlm_stats(XDR *xdrs, nlm_stats *objp)
22 if (!xdr_enum(xdrs, (enum_t *)objp))
28 xdr_nlm_holder(XDR *xdrs, nlm_holder *objp)
31 if (!xdr_bool(xdrs, &objp->exclusive))
33 if (!xdr_int(xdrs, &objp->svid))
35 if (!xdr_netobj(xdrs, &objp->oh))
37 if (!xdr_u_int(xdrs, &objp->l_offset))
39 if (!xdr_u_int(xdrs, &objp->l_len))
45 xdr_nlm_testrply(XDR *xdrs, nlm_testrply *objp)
48 if (!xdr_nlm_stats(xdrs, &objp->stat)
    [all...]
  /src/lib/libc/rpc/
rpcb_st_xdr.c 67 xdr_rpcbs_addrlist(XDR *xdrs, rpcbs_addrlist *objp)
70 _DIAGASSERT(objp != NULL);
72 if (!xdr_u_int32_t(xdrs, &objp->prog)) {
75 if (!xdr_u_int32_t(xdrs, &objp->vers)) {
78 if (!xdr_int(xdrs, &objp->success)) {
81 if (!xdr_int(xdrs, &objp->failure)) {
84 if (!xdr_string(xdrs, &objp->netid, RPC_MAXDATASIZE)) {
88 if (!xdr_pointer(xdrs, (char **)(void *)&objp->next,
100 xdr_rpcbs_rmtcalllist(XDR *xdrs, rpcbs_rmtcalllist *objp)
105 _DIAGASSERT(objp != NULL)
    [all...]
rpcb_prot.c 78 xdr_rpcb(XDR *xdrs, RPCB *objp)
81 _DIAGASSERT(objp != NULL);
83 if (!xdr_u_int32_t(xdrs, &objp->r_prog)) {
86 if (!xdr_u_int32_t(xdrs, &objp->r_vers)) {
89 if (!xdr_string(xdrs, &objp->r_netid, RPC_MAXDATASIZE)) {
92 if (!xdr_string(xdrs, &objp->r_addr, RPC_MAXDATASIZE)) {
95 if (!xdr_string(xdrs, &objp->r_owner, RPC_MAXDATASIZE)) {
192 xdr_rpcb_entry(XDR *xdrs, rpcb_entry *objp)
195 _DIAGASSERT(objp != NULL);
197 if (!xdr_string(xdrs, &objp->r_maddr, RPC_MAXDATASIZE))
276 struct r_rpcb_rmtcallargs *objp = local in function:xdr_rpcb_rmtcallargs
329 struct r_rpcb_rmtcallres *objp = (struct r_rpcb_rmtcallres *)(void *)p; local in function:xdr_rpcb_rmtcallres
    [all...]
  /src/lib/libc/yp/
xdryp.c 127 xdr_domainname(XDR *xdrs, char *objp)
131 _DIAGASSERT(objp != NULL);
133 return xdr_string(xdrs, &objp, YPMAXDOMAIN);
140 xdr_peername(XDR *xdrs, char *objp)
144 _DIAGASSERT(objp != NULL);
146 return xdr_string(xdrs, &objp, YPMAXPEER);
153 xdr_mapname(XDR *xdrs, char *objp)
157 _DIAGASSERT(objp != NULL);
159 return xdr_string(xdrs, &objp, YPMAXMAP);
163 xdr_ypdomain_wrap_string(XDR *xdrs, char **objp)
    [all...]
  /src/usr.sbin/ypserv/ypserv/
ypserv_xdr.c 22 xdr_ypresp_all(XDR *xdrs, struct ypresp_all *objp)
25 if (!xdr_bool(xdrs, &objp->more))
28 switch (objp->more) {
30 if (!xdr_ypresp_key_val(xdrs, &objp->ypresp_all_u.val))
  /src/usr.sbin/sesd/srcs/
getobjmap.c 49 ses_object *objp; local in function:main
68 objp = calloc(nobj, sizeof (ses_object));
69 if (objp == NULL) {
74 if (ioctl(fd, SESIOC_GETOBJMAP, (caddr_t) objp) < 0) {
81 objp[i].obj_id, geteltnm((int)objp[i].object_type));
83 free(objp);
getencstat.c 51 ses_object *objp; local in function:main
119 objp = calloc(nobj, sizeof (ses_object));
120 if (objp == NULL) {
125 if (ioctl(fd, SESIOC_GETOBJMAP, (caddr_t) objp) < 0) {
131 ob.obj_id = objp[i].obj_id;
142 geteltnm(objp[i].object_type),
143 stat2ascii(objp[i].object_type,
149 ob.obj_id, geteltnm(objp[i].object_type),
150 stat2ascii(objp[i].object_type, ob.cstat));
152 free(objp);
    [all...]
  /src/lib/librpcsvc/
rnusers.x 112 %xdr_utmp(xdrs, objp)
114 % struct ru_utmp *objp;
125 % ptr = objp->ut_line;
126 % size = (u_int)sizeof(objp->ut_line);
129 % ptr = objp->ut_name;
130 % size = (u_int)sizeof(objp->ut_name);
133 % ptr = objp->ut_host;
134 % size = (u_int)sizeof(objp->ut_host);
137 % if (!xdr_long(xdrs, &objp->ut_time))
155 %xdr_utmparr(xdrs, objp)
    [all...]
  /src/usr.sbin/ypserv/common/
ypresp_xdr.c 22 xdr_ypresp_xfr(XDR *xdrs, struct ypresp_xfr *objp)
25 if (!xdr_u_int(xdrs, &objp->transid))
28 if (!xdr_enum(xdrs, (enum_t *)&objp->xfrstat))
  /src/common/lib/libprop/
prop_kern.c 152 prop_object_t *objp,
182 *objp = obj;
188 prop_object_t *objp,
193 rv = _prop_object_internalize_from_pref_with_type(prefp, objp, type);
217 prop_object_t *objp, prop_type_t type)
219 if (_prop_object_internalize_from_pref_with_type(prefp, objp, type)) {
228 prop_object_t *objp)
230 return _prop_object_recv_syscall(prefp, objp, PROP_TYPE_UNKNOWN);
254 _prop_object_recv_ioctl(int fd, unsigned long cmd, prop_object_t *objp,
264 rv = _prop_object_internalize_from_pref_with_type(&pref, objp, type)
    [all...]
  /src/sys/external/bsd/ipf/netinet/
ip_auth.c 901 /* objp(I) - pointer to ipf object destription */
904 /* objp is used here to get the location of where to do the copy out to. */
909 ipfobj_t *objp)
925 objp->ipfo_type = IPFOBJ_FRAUTH;
926 objp->ipfo_ptr = itp->igi_data;
927 objp->ipfo_size = sizeof(frauth_t);
953 error = ipf_outobjk(softc, objp, next);
fil.c 6188 /* objp(O) - where to store ipfobj structure */
6195 /* If objp is not NULL then we assume that the caller wants to see what is */
6200 ipf_inobj(ipf_main_softc_t *softc, void *data, ipfobj_t *objp, void *ptr,
6212 if (objp == NULL)
6213 objp = &obj;
6214 error = BCOPYIN(data, objp, sizeof(*objp));
6220 if (objp->ipfo_type != type) {
6225 if (objp->ipfo_rev >= ipf_objbytes[type][2]) {
6227 if (objp->ipfo_size < ipf_objbytes[type][1])
    [all...]
ip_nat.c 6517 ipfobj_t *objp)
6599 objp->ipfo_ptr = itp->igi_data;
6604 error = COPYOUT(nexthm, objp->ipfo_ptr, sizeof(*nexthm));
6617 objp->ipfo_size = nextipnat->in_size;
6618 objp->ipfo_type = IPFOBJ_IPNAT;
6619 error = ipf_outobjk(softc, objp, nextipnat);
6628 objp->ipfo_size = sizeof(nat_t);
6629 objp->ipfo_type = IPFOBJ_NAT;
6630 error = ipf_outobjk(softc, objp, nextnat);
  /src/common/lib/libc/rpc/
xdr.c 124 xdr_free(xdrproc_t proc, char *objp)
129 (*proc)(&x, objp);

Completed in 26 milliseconds