Home
last modified time | relevance | path

Searched refs:mem_alloc (Results 1 – 20 of 20) sorted by relevance

/minix3/external/bsd/bind/dist/bin/tests/
H A Dlwresconf_test.c46 mem_alloc(void *arg, size_t size) { in mem_alloc() function
78 ret = lwres_context_create(&ctx, mem, mem_alloc, mem_free, 0); in main()
H A Dlwres_test.c236 mem_alloc(void *arg, size_t size) { in mem_alloc() function
265 ret = lwres_context_create(&ctx, mem, mem_alloc, mem_free, 0); in main()
/minix3/external/bsd/bind/dist/lib/dns/
H A Dopenssl_link.c126 mem_alloc(size_t size) { in mem_alloc() function
175 CRYPTO_set_mem_functions(mem_alloc, mem_realloc, mem_free); in dst__openssl_init()
177 locks = mem_alloc(sizeof(isc_mutex_t) * nlocks); in dst__openssl_init()
188 rm = mem_alloc(sizeof(RAND_METHOD)); in dst__openssl_init()
/minix3/lib/libc/rpc/
H A Dsvc_vc.c149 r = mem_alloc(sizeof(*r)); in svc_vc_create()
157 xprt = mem_alloc(sizeof(SVCXPRT)); in svc_vc_create()
186 xprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len); in svc_vc_create()
228 ret->xp_ltaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create()
241 ret->xp_rtaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create()
273 xprt = mem_alloc(sizeof(SVCXPRT)); in makefd_xprt()
277 cd = mem_alloc(sizeof(struct cf_conn)); in makefd_xprt()
344 newxprt->xp_rtaddr.buf = mem_alloc(len); in rendezvous_request()
515 xprt->xp_p2 = mem_alloc(SOCKCREDSIZE(sc->sc_ngroups)); in read_vc()
H A Dauth_unix.c117 auth = mem_alloc(sizeof(*auth)); in authunix_create()
124 au = mem_alloc(sizeof(*au)); in authunix_create()
157 au->au_origcred.oa_base = mem_alloc((size_t)len); in authunix_create()
159 if ((au->au_origcred.oa_base = mem_alloc((size_t)len)) == NULL) { in authunix_create()
H A Dsvc_dg.c132 xprt = mem_alloc(sizeof (SVCXPRT)); in svc_dg_create()
137 su = mem_alloc(sizeof (*su)); in svc_dg_create()
156 xprt->xp_ltaddr.buf = mem_alloc(sizeof (struct sockaddr_storage)); in svc_dg_create()
211 xprt->xp_rtaddr.buf = mem_alloc(alen); in svc_dg_recv()
358 mem_alloc((sizeof (type) * (size)))
527 newbuf = mem_alloc(su->su_iosz); in cache_set()
H A Dxdr_reference.c89 *pp = loc = mem_alloc(size); in __weak_alias()
H A Drpc_callmsg.c143 oa->oa_base = mem_alloc(oa->oa_length); in __weak_alias()
178 oa->oa_base = mem_alloc(oa->oa_length); in __weak_alias()
H A Dxdr_array.c105 *addrp = target = mem_alloc(nodesize); in __weak_alias()
H A Dsvc_auth.c211 asp = mem_alloc(sizeof (*asp)); in svc_auth_reg()
H A Dclnt_vc.c209 h = mem_alloc(sizeof(*h)); in clnt_vc_create()
216 ct = mem_alloc(sizeof(*ct)); in clnt_vc_create()
233 vc_fd_locks = mem_alloc(fd_allocsz); in clnt_vc_create()
241 vc_cv = mem_alloc(cv_allocsz); in clnt_vc_create()
H A Dsvc.c142 __svc_xports = mem_alloc(FD_SETSIZE * sizeof(SVCXPRT *)); in xprt_register()
251 s = mem_alloc(sizeof (struct svc_callout)); in svc_reg()
335 s = mem_alloc(sizeof(struct svc_callout)); in svc_register()
H A Dclnt_dg.c189 dg_fd_locks = mem_alloc(fd_allocsz); in clnt_dg_create()
197 dg_cv = mem_alloc(cv_allocsz); in clnt_dg_create()
235 if ((cl = mem_alloc(sizeof (CLIENT))) == NULL) in clnt_dg_create()
H A Dsvc_simple.c174 if (((xdrbuf = mem_alloc((size_t)recvsz)) == NULL) || in rpc_reg()
H A Dxdr.c621 *cpp = sp = mem_alloc(nodesize); in xdr_bytes()
771 *cpp = sp = mem_alloc(nodesize); in xdr_string()
H A Dxdr_rec.c189 RECSTREAM *rstrm = mem_alloc(sizeof(RECSTREAM)); in xdrrec_create()
/minix3/minix/lib/libmagicrt/
H A Dmagic_eval_lib.c73 static void *mem_alloc(struct memh *mh, size_t len);
156 if (expr && (str = (char *) mem_alloc(mh, strlen(expr)+1))) { in evaluate()
219 list = (struct tok *) mem_alloc(mh, i * sizeof(struct tok)); in tokenize()
377 tok = (struct tok *) mem_alloc(mh, tok_size); in tokenize()
612 t = (struct tok *) mem_alloc(mh, sizeof(struct tok)); in eval()
660 valstk = (struct val *) mem_alloc(mh, vcnt * sizeof(struct val)); in eval()
661 opstk = (struct tok **) mem_alloc(mh, ocnt * sizeof(struct tok *)); in eval()
1046 void *mem_alloc(struct memh *mh, size_t len) { in mem_alloc() function
1096 void *mem_alloc(struct memh *mh, size_t len) { in mem_alloc() function
1135 vt = (struct vartable *) mem_alloc(mh, sizeof(struct vartable)); in create_vartable()
[all …]
/minix3/include/rpc/
H A Dtypes.h65 #define mem_alloc(bsize) calloc((size_t)1, bsize) macro
/minix3/external/bsd/bind/dist/bin/nsupdate/
H A Dnsupdate.c381 mem_alloc(void *arg, size_t size) { in mem_alloc() function
847 lwresult = lwres_context_create(&lwctx, gmctx, mem_alloc, mem_free, 1); in setup_system()
/minix3/external/bsd/bind/dist/bin/dig/
H A Ddighost.c387 mem_alloc(void *arg, size_t size) { in mem_alloc() function
1327 lwresult = lwres_context_create(&lwctx, mctx, mem_alloc, mem_free, in setup_system()