Home
last modified time | relevance | path

Searched refs:mem_free (Results 1 – 25 of 63) sorted by relevance

123

/freebsd/lib/libc/rpc/
H A Dauth_unix.c160 mem_free(auth, sizeof(*auth)); in authunix_create()
163 mem_free(au->au_origcred.oa_base, (u_int)len); in authunix_create()
164 mem_free(au, sizeof(*au)); in authunix_create()
243 mem_free(au->au_shcred.oa_base, in authunix_validate()
312 mem_free(au->au_origcred.oa_base, au->au_origcred.oa_length); in authunix_destroy()
315 mem_free(au->au_shcred.oa_base, au->au_shcred.oa_length); in authunix_destroy()
317 mem_free(auth->ah_private, sizeof(struct audata)); in authunix_destroy()
320 mem_free(auth->ah_verf.oa_base, auth->ah_verf.oa_length); in authunix_destroy()
322 mem_free(auth, sizeof(*auth)); in authunix_destroy()
H A Dsvc_dg.c176 (void) mem_free(su, sizeof (*su)); in svc_dg_create()
266 mem_free(xprt->xp_rtaddr.buf, xprt->xp_rtaddr.len); in svc_dg_recv()
397 (void) mem_free(rpc_buffer(xprt), su->su_iosz); in svc_dg_destroy()
399 (void) mem_free(su->su_srcaddr.buf, su->su_srcaddr.maxlen); in svc_dg_destroy()
400 (void) mem_free(su, sizeof (*su)); in svc_dg_destroy()
402 (void) mem_free(xprt->xp_rtaddr.buf, xprt->xp_rtaddr.maxlen); in svc_dg_destroy()
404 (void) mem_free(xprt->xp_ltaddr.buf, xprt->xp_ltaddr.maxlen); in svc_dg_destroy()
459 mem_free((addr), (sizeof (type) * (size)))
H A Dsvc.c253 mem_free(s->sc_netid, sizeof (s->sc_netid) + 1); in svc_unreg()
254 mem_free(s, sizeof (struct svc_callout)); in svc_unreg()
319 mem_free(s, sizeof(struct svc_callout)); in svc_unregister()
540 mem_free(xprt, sizeof(SVCXPRT)); in svc_xprt_alloc()
557 mem_free(xprt->xp_p3, sizeof(SVCXPRT_EXT)); in svc_xprt_free()
558 mem_free(xprt, sizeof(SVCXPRT)); in svc_xprt_free()
H A Dclnt_vc.c304 mem_free(ct->ct_addr.buf, ct->ct_addr.len); in clnt_vc_create()
305 mem_free(ct, sizeof (struct ct_data)); in clnt_vc_create()
308 mem_free(cl, sizeof (CLIENT)); in clnt_vc_create()
647 mem_free(ct, sizeof(struct ct_data)); in clnt_vc_destroy()
649 mem_free(cl->cl_netid, strlen(cl->cl_netid) +1); in clnt_vc_destroy()
651 mem_free(cl->cl_tp, strlen(cl->cl_tp) +1); in clnt_vc_destroy()
652 mem_free(cl, sizeof(CLIENT)); in clnt_vc_destroy()
H A Dsvc_vc.c169 mem_free(xprt, sizeof(*xprt)); in svc_vc_create()
171 mem_free(r, sizeof(*r)); in svc_vc_create()
228 mem_free(ret->xp_ltaddr.buf, rep->xp_ltaddr.maxlen); in svc_fd_create()
394 mem_free(r, sizeof (struct cf_rendezvous)); in __svc_vc_dodestroy()
399 mem_free(cd, sizeof(struct cf_conn)); in __svc_vc_dodestroy()
402 mem_free(xprt->xp_rtaddr.buf, xprt->xp_rtaddr.maxlen); in __svc_vc_dodestroy()
404 mem_free(xprt->xp_ltaddr.buf, xprt->xp_ltaddr.maxlen); in __svc_vc_dodestroy()
H A Dclnt_dg.c297 mem_free(cl, sizeof (CLIENT)); in clnt_dg_create()
299 mem_free(cu, sizeof (*cu) + sendsz + recvsz); in clnt_dg_create()
796 mem_free(cu, (sizeof (*cu) + cu->cu_sendsz + cu->cu_recvsz)); in clnt_dg_destroy()
798 mem_free(cl->cl_netid, strlen(cl->cl_netid) +1); in clnt_dg_destroy()
800 mem_free(cl->cl_tp, strlen(cl->cl_tp) +1); in clnt_dg_destroy()
801 mem_free(cl, sizeof (CLIENT)); in clnt_dg_destroy()
/freebsd/sys/kgssapi/
H A Dgssd_prot.c105 mem_free(oid, sizeof(gss_OID_desc)); in xdr_gss_OID()
116 mem_free(oid, sizeof(gss_OID_desc)); in xdr_gss_OID()
170 mem_free(set, sizeof(gss_OID_set_desc)); in xdr_gss_OID_set()
181 mem_free(set, sizeof(gss_OID_set_desc)); in xdr_gss_OID_set()
232 mem_free(ch, sizeof(*ch)); in xdr_gss_channel_bindings_t()
245 mem_free(ch, sizeof(*ch)); in xdr_gss_channel_bindings_t()
/freebsd/crypto/krb5/src/lib/rpc/
H A Dauth_unix.c227 mem_free(au->au_shcred.oa_base, in authunix_validate()
291 mem_free(au->au_origcred.oa_base, au->au_origcred.oa_length); in authunix_destroy()
294 mem_free(au->au_shcred.oa_base, au->au_shcred.oa_length); in authunix_destroy()
296 mem_free(auth->ah_private, sizeof(struct audata)); in authunix_destroy()
299 mem_free(auth->ah_verf.oa_base, auth->ah_verf.oa_length); in authunix_destroy()
301 mem_free((caddr_t)auth, sizeof(*auth)); in authunix_destroy()
H A Dclnt_tcp.c158 mem_free((caddr_t)ct, sizeof(struct ct_data)); in clnttcp_create()
159 mem_free((caddr_t)h, sizeof(CLIENT)); in clnttcp_create()
240 mem_free((caddr_t)ct, sizeof(struct ct_data)); in clnttcp_create()
241 mem_free((caddr_t)h, sizeof(CLIENT)); in clnttcp_create()
424 mem_free((caddr_t)ct, sizeof(struct ct_data)); in clnttcp_destroy()
425 mem_free((caddr_t)h, sizeof(CLIENT)); in clnttcp_destroy()
H A Dsvc.c212 mem_free((char *) s, (u_int) sizeof(struct svc_callout)); in svc_unregister()
533 mem_free(rawcred, MAX_AUTH_BYTES); in svc_do_xprt()
534 mem_free(rawverf, MAX_AUTH_BYTES); in svc_do_xprt()
535 mem_free(cookedcred, RQCRED_SIZE); in svc_do_xprt()
H A Dclnt_udp.c208 mem_free((caddr_t)cu, sizeof(*cu) + sendsz + recvsz); in clntudp_bufcreate()
210 mem_free((caddr_t)cl, sizeof(CLIENT)); in clntudp_bufcreate()
486 mem_free((caddr_t)cu, (sizeof(*cu) + cu->cu_sendsz + cu->cu_recvsz)); in clntudp_destroy()
487 mem_free((caddr_t)cl, sizeof(CLIENT)); in clntudp_destroy()
H A Dsvc_tcp.c252 mem_free((char *) xprt, sizeof(SVCXPRT)); in makefd_xprt()
336 mem_free((caddr_t)cd, sizeof(struct tcp_conn)); in svctcp_destroy()
337 mem_free((caddr_t)xprt, sizeof(SVCXPRT)); in svctcp_destroy()
/freebsd/sys/rpc/
H A Dauth_unix.c273 mem_free(au->au_shcred.oa_base, in authunix_validate()
340 mem_free(au->au_origcred.oa_base, au->au_origcred.oa_length); in authunix_destroy()
343 mem_free(au->au_shcred.oa_base, au->au_shcred.oa_length); in authunix_destroy()
345 mem_free(auth->ah_private, sizeof(struct audata)); in authunix_destroy()
348 mem_free(auth->ah_verf.oa_base, auth->ah_verf.oa_length); in authunix_destroy()
350 mem_free(auth, sizeof(*auth)); in authunix_destroy()
H A Dtypes.h66 #define mem_free(ptr, bsize) free(ptr, M_RPC) macro
69 #define mem_free(ptr, bsize) free(ptr) macro
H A Dclnt_bck.c177 mem_free(ct, sizeof (struct ct_data)); in clnt_bck_create()
178 mem_free(cl, sizeof (CLIENT)); in clnt_bck_create()
554 mem_free(ct, sizeof(struct ct_data)); in clnt_bck_destroy()
556 mem_free(cl->cl_netid, strlen(cl->cl_netid) +1); in clnt_bck_destroy()
558 mem_free(cl->cl_tp, strlen(cl->cl_tp) +1); in clnt_bck_destroy()
559 mem_free(cl, sizeof(CLIENT)); in clnt_bck_destroy()
H A Dclnt_dg.c298 mem_free(cs, sizeof(*cs)); in clnt_dg_create()
317 mem_free(cl, sizeof (CLIENT)); in clnt_dg_create()
318 mem_free(cu, sizeof (*cu)); in clnt_dg_create()
1011 mem_free(cs, sizeof(*cs)); in clnt_dg_destroy()
1028 mem_free(cl->cl_netid, strlen(cl->cl_netid) +1); in clnt_dg_destroy()
1030 mem_free(cl->cl_tp, strlen(cl->cl_tp) +1); in clnt_dg_destroy()
1031 mem_free(cu, sizeof (*cu)); in clnt_dg_destroy()
1032 mem_free(cl, sizeof (CLIENT)); in clnt_dg_destroy()
H A Dclnt_rc.c588 mem_free(rc->rc_tlscertname, 0); /* 0 ok, since arg. ignored. */ in clnt_reconnect_destroy()
589 mem_free(rc->rc_reconarg, 0); in clnt_reconnect_destroy()
590 mem_free(rc, sizeof(*rc)); in clnt_reconnect_destroy()
591 mem_free(cl, sizeof (CLIENT)); in clnt_reconnect_destroy()
/freebsd/lib/librpcsec_gss/
H A Drpcsec_gss_prot.c183 mem_free(databuf.value, databuf.length); in xdr_rpc_gss_unwrap_data()
190 mem_free(wrapbuf.value, wrapbuf.length); in xdr_rpc_gss_unwrap_data()
193 mem_free(databuf.value, databuf.length); in xdr_rpc_gss_unwrap_data()
207 mem_free(wrapbuf.value, wrapbuf.length); in xdr_rpc_gss_unwrap_data()
/freebsd/crypto/openssl/crypto/bio/
H A Dbss_mem.c22 static int mem_free(BIO *data);
37 mem_free,
52 mem_free,
142 static int mem_free(BIO *a) in mem_free() function
/freebsd/lib/libc/xdr/
H A Dxdr_rec.c186 mem_free(rstrm, sizeof(RECSTREAM)); in xdrrec_create()
193 mem_free(rstrm->out_base, sendsize); in xdrrec_create()
194 mem_free(rstrm, sizeof(RECSTREAM)); in xdrrec_create()
420 mem_free(rstrm->out_base, rstrm->sendsize); in xdrrec_destroy()
421 mem_free(rstrm->in_base, rstrm->recvsize); in xdrrec_destroy()
422 mem_free(rstrm, sizeof(RECSTREAM)); in xdrrec_destroy()
H A Dxdr_reference.c95 mem_free(loc, size); in xdr_reference()
/freebsd/sys/xdr/
H A Dxdr.c523 mem_free(sp, nodesize); in xdr_bytes()
531 mem_free(sp, nodesize); in xdr_bytes()
668 mem_free(sp, nodesize); in xdr_string()
675 mem_free(sp, nodesize); in xdr_string()
/freebsd/crypto/heimdal/lib/hx509/
H A Dks_mem.c72 mem_free(hx509_certs certs, void *data) in mem_free() function
208 mem_free,
/freebsd/krb5/include/gssrpc/
H A Dtypes.h117 #define mem_free(ptr, bsize) free(ptr) macro
/freebsd/sys/rpc/rpcsec_gss/
H A Drpcsec_gss.c183 mem_free(VNET(rpc_gss_cache), sizeof(struct rpc_gss_data_list) * in rpc_gss_hashinit_cleanup()
412 mem_free(auth, sizeof(*auth)); in rpc_gss_seccreate_int()
505 mem_free(pr, sizeof(*pr)); in rpc_gss_purge_xid()
718 mem_free(pr, sizeof(*pr)); in rpc_gss_validate()
1132 mem_free(pr, sizeof(*pr)); in rpc_gss_destroy_context()
1176 mem_free(gd, sizeof(*gd)); in rpc_gss_destroy()
1177 mem_free(auth, sizeof(*auth)); in rpc_gss_destroy()

123