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

12

/freebsd-11.0-release/sys/rpc/
H A Dtypes.h67 #define mem_alloc(bsize) malloc(bsize, M_RPC, M_WAITOK|M_ZERO) macro
70 #define mem_alloc(bsize) calloc(1, bsize) macro
H A Dauth_unix.c184 auth = mem_alloc(sizeof(*auth));
185 au = mem_alloc(sizeof(*au));
207 au->au_origcred.oa_base = mem_alloc((u_int) len);
H A Drpc_callmsg.c128 mem_alloc(oa->oa_length);
164 mem_alloc(oa->oa_length);
H A Dclnt_rc.c88 cl = mem_alloc(sizeof (CLIENT));
89 rc = mem_alloc(sizeof (*rc));
/freebsd-11.0-release/lib/libc/xdr/
H A Dxdr_reference.c85 *pp = loc = (caddr_t) mem_alloc(size);
H A Dxdr_array.c103 *addrp = target = mem_alloc(nodesize);
H A Dxdr_rec.c177 RECSTREAM *rstrm = mem_alloc(sizeof(RECSTREAM));
188 rstrm->out_base = mem_alloc(rstrm->sendsize);
195 rstrm->in_base = mem_alloc(recvsize);
H A Dxdr.c586 *cpp = sp = mem_alloc(nodesize);
720 *cpp = sp = mem_alloc(nodesize);
/freebsd-11.0-release/sys/xdr/
H A Dxdr_reference.c79 *pp = loc = (caddr_t) mem_alloc(size);
H A Dxdr_array.c97 *addrp = target = mem_alloc(nodesize);
H A Dxdr.c528 *cpp = sp = mem_alloc(nodesize);
659 *cpp = sp = mem_alloc(nodesize);
/freebsd-11.0-release/lib/libc/rpc/
H A Dauth_unix.c107 auth = mem_alloc(sizeof(*auth));
114 au = mem_alloc(sizeof(*au));
147 au->au_origcred.oa_base = mem_alloc((u_int) len);
149 if ((au->au_origcred.oa_base = mem_alloc((u_int) len)) == NULL) {
H A Dauth_des.c66 #define ALLOC(object_type) (object_type *) mem_alloc(sizeof(object_type))
184 ad->ad_fullname = (char *)mem_alloc(ad->ad_fullnamelen + 1);
186 ad->ad_servername = (char *)mem_alloc(ad->ad_servernamelen + 1);
193 ad->ad_timehost = (char *)mem_alloc(strlen(timehost) + 1);
H A Dsvc_auth.c211 asp = mem_alloc(sizeof (*asp));
H A Dsvc_auth_des.c329 entry->rname = (char *)mem_alloc((u_int)strlen(cred->adc_fullname.name)
361 mem_alloc(sizeof(struct cache_entry) * AUTHDES_CACHESZ);
365 authdes_lru = (short *)mem_alloc(sizeof(short) * AUTHDES_CACHESZ);
475 cred = (struct bsdcred *)mem_alloc(sizeof(struct bsdcred));
H A Drpc_callmsg.c133 mem_alloc(oa->oa_length);
169 mem_alloc(oa->oa_length);
H A Dsvc.c111 mem_alloc(FD_SETSIZE * sizeof(SVCXPRT *));
207 s = mem_alloc(sizeof (struct svc_callout));
287 s = mem_alloc(sizeof(struct svc_callout));
537 xprt = mem_alloc(sizeof(SVCXPRT));
541 ext = mem_alloc(sizeof(SVCXPRT_EXT));
H A Dsvc_dg.c131 su = mem_alloc(sizeof (*su));
135 if ((rpc_buffer(xprt) = mem_alloc(su->su_iosz)) == NULL)
151 xprt->xp_ltaddr.buf = mem_alloc(sizeof (struct sockaddr_storage));
162 su->su_srcaddr.buf = mem_alloc(sizeof (ss));
271 xprt->xp_rtaddr.buf = mem_alloc(alen);
457 (type *) mem_alloc((sizeof (type) * (size)))
613 newbuf = mem_alloc(su->su_iosz);
H A Dsvc_vc.c136 r = mem_alloc(sizeof(*r));
162 xprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len);
203 ret->xp_ltaddr.buf = mem_alloc((size_t)ss.ss_len);
216 ret->xp_rtaddr.buf = mem_alloc((size_t)ss.ss_len);
253 cd = mem_alloc(sizeof(struct cf_conn));
314 newxprt->xp_rtaddr.buf = mem_alloc(len);
355 newxprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len);
/freebsd-11.0-release/sys/kgssapi/
H A Dgssd_prot.c102 oid = mem_alloc(sizeof(gss_OID_desc));
167 set = mem_alloc(sizeof(gss_OID_set_desc));
222 ch = mem_alloc(sizeof(*ch));
/freebsd-11.0-release/sys/arm64/include/
H A Dbus_dma_impl.h63 int (*mem_alloc)(bus_dma_tag_t dmat, void** vaddr, int flags, member in struct:bus_dma_impl
/freebsd-11.0-release/sys/x86/include/
H A Dbusdma_impl.h63 int (*mem_alloc)(bus_dma_tag_t dmat, void** vaddr, int flags, member in struct:bus_dma_impl
/freebsd-11.0-release/lib/librpcsec_gss/
H A Dsvc_rpcsec_gss.c171 scb = mem_alloc(sizeof(struct svc_rpc_gss_callback));
258 buf.value = mem_alloc(namelen);
303 result = mem_alloc(sizeof(int) + buf.length);
411 client = mem_alloc(sizeof(struct svc_rpc_gss_client));
532 if ((bp = (char *) mem_alloc(string_length))) {
710 mem_alloc(sizeof(*client->cl_rawcred.client_principal)
H A Drpcsec_gss.c164 auth = mem_alloc(sizeof(*auth));
170 gd = mem_alloc(sizeof(*gd));
289 gd->gd_verf.value = mem_alloc(verf->oa_length);
/freebsd-11.0-release/sys/rpc/rpcsec_gss/
H A Dsvc_rpcsec_gss.c194 scb = mem_alloc(sizeof(struct svc_rpc_gss_callback));
271 sname = mem_alloc(sizeof(*sname));
342 buf.value = mem_alloc(namelen);
387 result = mem_alloc(sizeof(int) + buf.length);
544 client = mem_alloc(sizeof(struct svc_rpc_gss_client));
736 if ((bp = (char *) mem_alloc(string_length))) {
945 mem_alloc(sizeof(*client->cl_rawcred.client_principal)

Completed in 70 milliseconds

12