Home
last modified time | relevance | path

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

/openbsd-src/lib/libc/rpc/
H A Dauth_unix.c104 auth = (AUTH *)mem_alloc(sizeof(*auth)); in authunix_create()
109 au = (struct audata *)mem_alloc(sizeof(*au)); in authunix_create()
141 au->au_origcred.oa_base = mem_alloc((u_int) len); in authunix_create()
143 if ((au->au_origcred.oa_base = mem_alloc((u_int) len)) == NULL) in authunix_create()
H A Dsvc_tcp.c154 r = (struct tcp_rendezvous *)mem_alloc(sizeof(*r)); in svctcp_create()
162 xprt = (SVCXPRT *)mem_alloc(sizeof(SVCXPRT)); in svctcp_create()
203 xprt = (SVCXPRT *)mem_alloc(sizeof(SVCXPRT)); in makefd_xprt()
206 cd = (struct tcp_conn *)mem_alloc(sizeof(struct tcp_conn)); in makefd_xprt()
H A Drpc_callmsg.c115 mem_alloc(oa->oa_length); in xdr_callmsg()
151 mem_alloc(oa->oa_length); in xdr_callmsg()
H A Dxdr_array.c88 *addrp = target = mem_alloc(nodesize); in xdr_array()
H A Dxdr.c521 *cpp = sp = (char *)mem_alloc(nodesize); in xdr_bytes()
651 *cpp = sp = (char *)mem_alloc(nodesize); in xdr_string()
H A Dclnt_tcp.c120 h = (CLIENT *)mem_alloc(sizeof(*h)); in clnttcp_create()
126 ct = (struct ct_data *)mem_alloc(sizeof(*ct)); in clnttcp_create()
H A Dclnt_udp.c72 args->cl = (CLIENT *)mem_alloc(sizeof(CLIENT)); in clntudp_bufcreate1()
80 args->cu = (struct cu_data *)mem_alloc(sizeof(*args->cu) + in clntudp_bufcreate1()
H A Dsvc.c176 if ((fds = (fd_set *)mem_alloc(bytes)) != NULL) { in svc_fd_insert()
303 s = (struct svc_callout *)mem_alloc(sizeof(struct svc_callout)); in svc_register()
H A Dxdr_rec.c169 (RECSTREAM *)mem_alloc(sizeof(RECSTREAM)); in xdrrec_create()
/openbsd-src/sys/dev/pcmcia/
H A Dpcmciachip.h62 int (*mem_alloc)(pcmcia_chipset_handle_t, bus_size_t, member
100 ((*(tag)->mem_alloc)((handle), (size), (pcmhp)))
/openbsd-src/include/rpc/
H A Dtypes.h58 #define mem_alloc(bsize) malloc(bsize) macro
/openbsd-src/regress/lib/libz/
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()
/openbsd-src/sys/arch/luna88k/cbus/
H A Di82365_cbus.c117 .mem_alloc = pcic_chip_mem_alloc,