Home
last modified time | relevance | path

Searched refs:caddr_t (Results 1 – 25 of 97) sorted by relevance

1234

/glibc-2.36/sunrpc/
Dxdr_rec.c57 static bool_t xdrrec_getbytes (XDR *, caddr_t, u_int);
96 caddr_t tcp_handle;
97 caddr_t the_buffer;
102 caddr_t out_base; /* output buffer (points to frag header) */
103 caddr_t out_finger; /* next output position */
104 caddr_t out_boundry; /* data cannot up to this address */
112 caddr_t in_base;
113 caddr_t in_finger; /* location of next byte to be had */
114 caddr_t in_boundry; /* can read up to this location */
126 static bool_t get_input_bytes (RECSTREAM *, caddr_t, int);
[all …]
Dclnt_tcp.c79 static enum clnt_stat clnttcp_call (CLIENT *, u_long, xdrproc_t, caddr_t,
80 xdrproc_t, caddr_t, struct timeval);
83 static bool_t clnttcp_freeres (CLIENT *, xdrproc_t, caddr_t);
138 mem_free ((caddr_t) ct, sizeof (struct ct_data)); in clnttcp_create()
139 mem_free ((caddr_t) h, sizeof (CLIENT)); in clnttcp_create()
207 (caddr_t) ct, readtcp, writetcp); in clnttcp_create()
209 h->cl_private = (caddr_t) ct; in clnttcp_create()
217 mem_free ((caddr_t) ct, sizeof (struct ct_data)); in clnttcp_create()
218 mem_free ((caddr_t) h, sizeof (CLIENT)); in clnttcp_create()
228 clnttcp_call (CLIENT *h, u_long proc, xdrproc_t xdr_args, caddr_t args_ptr, in libc_hidden_def()
[all …]
Dsvc_tcp.c74 static bool_t svctcp_getargs (SVCXPRT *, xdrproc_t, caddr_t);
76 static bool_t svctcp_freeargs (SVCXPRT *, xdrproc_t, caddr_t);
108 (bool_t (*) (SVCXPRT *, xdrproc_t, caddr_t)) svctcp_rendezvous_abort,
110 (bool_t (*) (SVCXPRT *, xdrproc_t, caddr_t)) svctcp_rendezvous_abort,
197 xprt->xp_p1 = (caddr_t) r; in svctcp_create()
240 (caddr_t) xprt, readtcp, writetcp); in libc_hidden_nolink_sunrpc()
242 xprt->xp_p1 = (caddr_t) cd; in libc_hidden_nolink_sunrpc()
310 mem_free ((caddr_t) cd, sizeof (struct tcp_conn)); in svctcp_destroy()
311 mem_free ((caddr_t) xprt, sizeof (SVCXPRT)); in svctcp_destroy()
409 svctcp_getargs (SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr) in svctcp_getargs()
[all …]
Dsvc_unix.c74 static bool_t svcunix_getargs (SVCXPRT *, xdrproc_t, caddr_t);
76 static bool_t svcunix_freeargs (SVCXPRT *, xdrproc_t, caddr_t);
108 (bool_t (*) (SVCXPRT *, xdrproc_t, caddr_t)) svcunix_rendezvous_abort,
110 (bool_t (*) (SVCXPRT *, xdrproc_t, caddr_t)) svcunix_rendezvous_abort,
194 xprt->xp_p1 = (caddr_t) r; in svcunix_create()
233 (caddr_t) xprt, readunix, writeunix); in libc_hidden_nolink_sunrpc()
235 xprt->xp_p1 = (caddr_t) cd; in libc_hidden_nolink_sunrpc()
306 mem_free ((caddr_t) cd, sizeof (struct unix_conn)); in svcunix_destroy()
307 mem_free ((caddr_t) xprt, sizeof (SVCXPRT)); in svcunix_destroy()
339 msg.msg_control = (caddr_t) &cm; in __msgread()
[all …]
Dxdr_stdio.c52 static bool_t xdrstdio_getbytes (XDR *, caddr_t, u_int);
90 xdrs->x_private = (caddr_t) file; in xdrstdio_create()
111 if (fread ((caddr_t) &mycopy, 4, 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_getlong()
122 if (fwrite ((caddr_t) &mycopy, 4, 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_putlong()
128 xdrstdio_getbytes (XDR *xdrs, const caddr_t addr, u_int len) in xdrstdio_getbytes()
177 if (fread ((caddr_t) &mycopy, 4, 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_getint32()
189 if (fwrite ((caddr_t) ip, 4, 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_putint32()
Dauthdes_prot.c54 ATTEMPT (xdr_opaque (xdrs, (caddr_t) & cred->adc_fullname.key, in xdr_authdes_cred()
56 ATTEMPT (xdr_opaque (xdrs, (caddr_t) & cred->adc_fullname.window, in xdr_authdes_cred()
60 ATTEMPT (xdr_opaque (xdrs, (caddr_t) & cred->adc_nickname, in xdr_authdes_cred()
76 ATTEMPT (xdr_opaque (xdrs, (caddr_t) & verf->adv_xtimestamp, in libc_hidden_nolink_sunrpc()
78 ATTEMPT (xdr_opaque (xdrs, (caddr_t) & verf->adv_int_u, in libc_hidden_nolink_sunrpc()
Dclnt_unix.c80 static enum clnt_stat clntunix_call (CLIENT *, u_long, xdrproc_t, caddr_t,
81 xdrproc_t, caddr_t, struct timeval);
84 static bool_t clntunix_freeres (CLIENT *, xdrproc_t, caddr_t);
190 (caddr_t) ct, readunix, writeunix); in clntunix_create()
192 h->cl_private = (caddr_t) ct; in clntunix_create()
200 mem_free ((caddr_t) ct, sizeof (struct ct_data)); in clntunix_create()
201 mem_free ((caddr_t) h, sizeof (CLIENT)); in clntunix_create()
207 clntunix_call (CLIENT *h, u_long proc, xdrproc_t xdr_args, caddr_t args_ptr, in libc_hidden_nolink_sunrpc()
208 xdrproc_t xdr_results, caddr_t results_ptr, in libc_hidden_nolink_sunrpc()
316 clntunix_freeres (CLIENT *cl, xdrproc_t xdr_res, caddr_t res_ptr) in clntunix_freeres()
[all …]
Dpmap_rmt.c69 xdrproc_t xdrargs, caddr_t argsp, xdrproc_t xdrres, caddr_t resp, in pmap_rmtcall()
92 (caddr_t)&a, (xdrproc_t)xdr_rmtcallres, in pmap_rmtcall()
93 (caddr_t)&r, tout); in pmap_rmtcall()
146 caddr_t port_ptr; in libc_hidden_nolink_sunrpc()
148 port_ptr = (caddr_t) crp->port_ptr; in libc_hidden_nolink_sunrpc()
208 caddr_t argsp, in clnt_broadcast()
212 caddr_t resultsp, in clnt_broadcast()
315 msg.acpted_rply.ar_results.where = (caddr_t) & r; in clnt_broadcast()
Dclnt_raw.c64 static enum clnt_stat clntraw_call (CLIENT *, u_long, xdrproc_t, caddr_t,
65 xdrproc_t, caddr_t, struct timeval);
68 static bool_t clntraw_freeres (CLIENT *, xdrproc_t, caddr_t);
132 clntraw_call (CLIENT *h, u_long proc, xdrproc_t xargs, caddr_t argsp, in libc_hidden_nolink_sunrpc()
133 xdrproc_t xresults, caddr_t resultsp, struct timeval timeout) in libc_hidden_nolink_sunrpc()
217 clntraw_freeres (CLIENT *cl, xdrproc_t xdr_res, caddr_t res_ptr) in clntraw_freeres()
Drpc_cmsg.c79 memcpy ((caddr_t) buf, oa->oa_base, oa->oa_length); in xdr_callmsg()
87 memcpy ((caddr_t) buf, oa->oa_base, oa->oa_length); in xdr_callmsg()
123 oa->oa_base = (caddr_t) in xdr_callmsg()
135 memcpy (oa->oa_base, (caddr_t) buf, oa->oa_length); in xdr_callmsg()
163 oa->oa_base = (caddr_t) in xdr_callmsg()
175 memcpy (oa->oa_base, (caddr_t) buf, oa->oa_length); in xdr_callmsg()
Dclnt_udp.c67 static enum clnt_stat clntudp_call (CLIENT *, u_long, xdrproc_t, caddr_t,
68 xdrproc_t, caddr_t, struct timeval);
71 static bool_t clntudp_freeres (CLIENT *, xdrproc_t, caddr_t);
158 cl->cl_private = (caddr_t) cu; in __libc_clntudp_bufcreate()
206 mem_free ((caddr_t) cu, sizeof (*cu) + sendsz + recvsz); in __libc_clntudp_bufcreate()
208 mem_free ((caddr_t) cl, sizeof (CLIENT)); in __libc_clntudp_bufcreate()
272 caddr_t argsp, in clntudp_call()
276 caddr_t resultsp, in clntudp_call()
538 clntudp_freeres (CLIENT *cl, xdrproc_t xdr_res, caddr_t res_ptr) in clntudp_freeres()
655 mem_free ((caddr_t) cu, (sizeof (*cu) + cu->cu_sendsz + cu->cu_recvsz)); in clntudp_destroy()
[all …]
Dxdr_mem.c45 static bool_t xdrmem_getbytes (XDR *, caddr_t, u_int);
73 xdrmem_create (XDR *xdrs, const caddr_t addr, u_int size, enum xdr_op op) in xdrmem_create()
137 xdrmem_getbytes (XDR *xdrs, caddr_t addr, u_int len) in xdrmem_getbytes()
178 caddr_t newaddr = xdrs->x_base + pos; in xdrmem_setpos()
179 caddr_t lastaddr = xdrs->x_private + xdrs->x_handy; in xdrmem_setpos()
Dxdr_sizeof.c90 if ((xdrs->x_private = (caddr_t) malloc (len)) == NULL) in x_inline()
136 typedef bool_t (*dummyfunc2) (XDR *, caddr_t, u_int); in xdr_sizeof()
155 x.x_private = (caddr_t) NULL; in xdr_sizeof()
156 x.x_base = (caddr_t) 0; in xdr_sizeof()
Dsvc_raw.c55 static bool_t svcraw_getargs (SVCXPRT *, xdrproc_t, caddr_t);
57 static bool_t svcraw_freeargs (SVCXPRT *, xdrproc_t, caddr_t);
130 svcraw_getargs (SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr) in svcraw_getargs()
140 svcraw_freeargs (SVCXPRT *xprt, xdrproc_t xdr_args, caddr_t args_ptr) in svcraw_freeargs()
Dpmap_clnt.c125 (caddr_t)&parms, (xdrproc_t)xdr_bool, (caddr_t)&rslt, in pmap_set()
160 (caddr_t)&parms, (xdrproc_t)xdr_bool, (caddr_t)&rslt, in libc_hidden_nolink_sunrpc()
Dxdr_ref.c60 caddr_t *pp, in xdr_reference()
66 caddr_t loc = *pp; in xdr_reference()
76 *pp = loc = (caddr_t) calloc (1, size); in xdr_reference()
/glibc-2.36/nis/
Dypclnt.c129 (xdrproc_t) xdr_domainname, (caddr_t) &domain, in yp_bind_ypbindprog()
131 (caddr_t) &ypbr, RPCTIMEOUT) != RPC_SUCCESS) in yp_bind_ypbindprog()
274 caddr_t req, xdrproc_t xres, caddr_t resp, dom_binding **ydb, in libnsl_hidden_nolink_def()
297 caddr_t req, xdrproc_t xres, caddr_t resp) in do_ypcall()
368 caddr_t req, xdrproc_t xres, caddr_t resp) in do_ypcall_tr()
461 (caddr_t) &req, (xdrproc_t) xdr_ypresp_val, in libnsl_hidden_nolink_def()
462 (caddr_t) &resp); in libnsl_hidden_nolink_def()
503 (caddr_t) &req, (xdrproc_t) xdr_ypresp_key_val, in libnsl_hidden_nolink_def()
504 (caddr_t) &resp); in libnsl_hidden_nolink_def()
562 (caddr_t) &req, (xdrproc_t) xdr_ypresp_key_val, in libnsl_hidden_nolink_def()
[all …]
Dnis_intern.h56 u_long prog, xdrproc_t xargs, caddr_t req,
57 xdrproc_t xres, caddr_t resp,
60 xdrproc_t xargs, caddr_t req,
61 xdrproc_t xres, caddr_t resp,
64 xdrproc_t xargs, caddr_t req,
65 xdrproc_t xres, caddr_t resp,
Dnis_mkdir.c31 (caddr_t) &dir, (xdrproc_t) _xdr_nis_error, in nis_mkdir()
32 (caddr_t) &res, 0, NULL); in nis_mkdir()
36 (caddr_t) &dir, (xdrproc_t) _xdr_nis_error, in nis_mkdir()
37 (caddr_t) &res, 0, NULL); in nis_mkdir()
Dnis_table.c148 (caddr_t) &req, (xdrproc_t) _xdr_nis_result, in get_tablepath()
149 (caddr_t) &res, RPCTIMEOUT); in get_tablepath()
310 (xdrproc_t) _xdr_ib_request, (caddr_t) ibreq, in libnsl_hidden_nolink_def()
312 (caddr_t) res, RPCTIMEOUT); in libnsl_hidden_nolink_def()
606 (caddr_t) ibreq, in libnsl_hidden_nolink_def()
608 (caddr_t) res, 0, NULL); in libnsl_hidden_nolink_def()
665 (caddr_t) ibreq, (xdrproc_t) _xdr_nis_result, in libnsl_hidden_nolink_def()
666 (caddr_t) res, 0, NULL); in libnsl_hidden_nolink_def()
715 (caddr_t) ibreq, (xdrproc_t) _xdr_nis_result, in libnsl_hidden_nolink_def()
716 (caddr_t) res, 0, NULL)) != NIS_SUCCESS) in libnsl_hidden_nolink_def()
[all …]
Dnis_server.c42 (caddr_t) &taglist, (xdrproc_t) _xdr_nis_taglist, in nis_servstate()
43 (caddr_t) &tagres, 0, NULL) != NIS_SUCCESS) in nis_servstate()
69 (caddr_t) &taglist, (xdrproc_t) _xdr_nis_taglist, in libnsl_hidden_nolink_def()
70 (caddr_t) &tagres, 0, NULL) != NIS_SUCCESS) in libnsl_hidden_nolink_def()
/glibc-2.36/sunrpc/rpc/
Dpmap_clnt.h45 typedef bool_t (*resultproc_t) (caddr_t __resp, struct sockaddr_in *__raddr);
79 caddr_t __argsp, xdrproc_t __xdrres,
80 caddr_t __resp, struct timeval __tout,
85 caddr_t __argsp, xdrproc_t __xresults,
86 caddr_t __resultsp,
Dsvc.h100 caddr_t __args_ptr); /* get arguments */
104 caddr_t __args_ptr);
112 caddr_t xp_p1; /* private */
113 caddr_t xp_p2; /* private */
169 caddr_t rq_clntcred; /* read only cooked cred */
245 caddr_t __xdr_location) __THROW;
Dxdr.h119 bool_t (*x_getbytes) (XDR *__xdrs, caddr_t __addr, u_int __len);
137 caddr_t x_public; /* users' data */
138 caddr_t x_private; /* pointer to private data */
139 caddr_t x_base; /* private used for position info */
308 extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep,
313 extern bool_t xdr_opaque (XDR *__xdrs, caddr_t __cp, u_int __cnt) __THROW;
324 extern bool_t xdr_reference (XDR *__xdrs, caddr_t *__xpp, u_int __size,
350 extern void xdrmem_create (XDR *__xdrs, const caddr_t __addr,
359 u_int __recvsize, caddr_t __tcp_handle,
/glibc-2.36/elf/
Ddl-map-segments.h119 (__mprotect ((caddr_t) (l->l_addr + c->mapend), in _dl_map_segments()
171 if (__mprotect ((caddr_t) (zero in _dl_map_segments()
178 __mprotect ((caddr_t) (zero & ~(GLRO(dl_pagesize) - 1)), in _dl_map_segments()
185 caddr_t mapat; in _dl_map_segments()
186 mapat = __mmap ((caddr_t) zeropage, zeroend - zeropage, in _dl_map_segments()

1234