Home
last modified time | relevance | path

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

/netbsd-src/lib/libc/rpc/
H A Dsvc_vc.c145 r = mem_alloc(sizeof(*r)); in svc_vc_create()
153 xprt = mem_alloc(sizeof(SVCXPRT)); in svc_vc_create()
182 xprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len); in svc_vc_create()
224 ret->xp_ltaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create()
237 ret->xp_rtaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create()
269 xprt = mem_alloc(sizeof(SVCXPRT)); in makefd_xprt()
273 cd = mem_alloc(sizeof(struct cf_conn)); in makefd_xprt()
338 newxprt->xp_rtaddr.buf = mem_alloc(len); in rendezvous_request()
509 xprt->xp_p2 = mem_alloc(SOCKCREDSIZE(sc->sc_ngroups)); in read_vc()
H A Dauth_unix.c120 auth = mem_alloc(sizeof(*auth)); in authunix_create()
127 au = mem_alloc(sizeof(*au)); in authunix_create()
160 au->au_origcred.oa_base = mem_alloc((size_t)len); in authunix_create()
162 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()
355 mem_alloc((sizeof (type) * (size)))
520 newbuf = mem_alloc(su->su_iosz); in cache_set()
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 Dclnt_vc.c208 h = mem_alloc(sizeof(*h)); in clnt_vc_create()
215 ct = mem_alloc(sizeof(*ct)); in clnt_vc_create()
232 vc_fd_locks = mem_alloc(fd_allocsz); in clnt_vc_create()
240 vc_cv = mem_alloc(cv_allocsz); in clnt_vc_create()
H A Dxdr_reference.c89 *pp = loc = mem_alloc(size); in __weak_alias()
H A Dsvc_auth.c207 asp = mem_alloc(sizeof (*asp)); in svc_auth_reg()
H A Dclnt_dg.c188 dg_fd_locks = mem_alloc(fd_allocsz); in clnt_dg_create()
196 dg_cv = mem_alloc(cv_allocsz); in clnt_dg_create()
234 if ((cl = mem_alloc(sizeof (CLIENT))) == NULL) in clnt_dg_create()
H A Dsvc.c288 s = mem_alloc(sizeof (struct svc_callout)); in svc_reg()
372 s = mem_alloc(sizeof(struct svc_callout)); in svc_register()
H A Dsvc_simple.c171 if (((xdrbuf = mem_alloc((size_t)recvsz)) == NULL) || in rpc_reg()
H A Dxdr_rec.c190 RECSTREAM *rstrm = mem_alloc(sizeof(RECSTREAM)); in xdrrec_create()
/netbsd-src/common/include/rpc/
H A Dtypes.h71 #define mem_alloc(bsize) kmem_alloc(bsize, KM_SLEEP) macro
76 #define mem_alloc(bsize) calloc((size_t)1, bsize) macro
/netbsd-src/sys/dev/pcmcia/
H A Dpcmciachip.h61 int (*mem_alloc)(pcmcia_chipset_handle_t, bus_size_t, member
99 ((*(tag)->mem_alloc)((handle), (size), (pcmhp)))
/netbsd-src/sys/arch/hpc/hpc/platid_gen/
H A Dgram.y149 mem_alloc(size) in mem_alloc() function
170 res = mem_alloc(sizeof(node_t));
H A Dplatid_gen.h47 void *mem_alloc(int);
/netbsd-src/sys/dev/acpi/
H A Dacpi_srat.c94 mem_alloc(void) in mem_alloc() function
199 mementry = mem_alloc(); in acpisrat_parse()
300 mem = mem_alloc(); in acpisrat_quirks()
/netbsd-src/common/lib/libc/rpc/
H A Dxdr_array.c116 *addrp = target = mem_alloc(nodesize); in __weak_alias()
H A Dxdr.c633 *cpp = sp = mem_alloc(nodesize); in xdr_bytes()
792 *cpp = sp = mem_alloc(nodesize); in xdr_string()
/netbsd-src/sys/arch/hpcmips/vr/
H A Dvrecu.c79 .mem_alloc = pcic_chip_mem_alloc,
/netbsd-src/external/gpl3/binutils.old/dist/zlib/test/
H A Dinfcover.c71 local void *mem_alloc(void *mem, unsigned count, unsigned size) in mem_alloc() function
171 strm->zalloc = mem_alloc; in mem_setup()
/netbsd-src/external/gpl3/gdb/dist/zlib/test/
H A Dinfcover.c71 local void *mem_alloc(void *mem, unsigned count, unsigned size) in mem_alloc() function
171 strm->zalloc = mem_alloc; in mem_setup()
/netbsd-src/external/gpl3/gdb.old/dist/zlib/test/
H A Dinfcover.c71 local void *mem_alloc(void *mem, unsigned count, unsigned size) in mem_alloc() function
171 strm->zalloc = mem_alloc; in mem_setup()
/netbsd-src/external/gpl3/binutils/dist/zlib/test/
H A Dinfcover.c71 local void *mem_alloc(void *mem, unsigned count, unsigned size) in mem_alloc() function
171 strm->zalloc = mem_alloc; in mem_setup()
/netbsd-src/sys/arch/evbsh3/ap_ms104_sh4/
H A Dshpcmcia.c87 .mem_alloc = shpcmcia_chip_mem_alloc,
/netbsd-src/external/gpl3/gcc/dist/libgfortran/
H A DChangeLog-2014330 * io/unix.c (mem_read4): Use the correct mem_alloc function for