Searched refs:mem_alloc (Results 1 – 15 of 15) sorted by relevance
120 xprt = mem_alloc(sizeof (SVCXPRT)); in svc_dg_create()125 su = mem_alloc(sizeof (*su)); in svc_dg_create()129 if ((rpc_buffer(xprt) = mem_alloc(su->su_iosz)) == NULL) in svc_dg_create()143 xprt->xp_ltaddr.buf = mem_alloc(sizeof (struct sockaddr_storage)); in svc_dg_create()189 xprt->xp_rtaddr.buf = mem_alloc(alen); in svc_dg_recv()319 (type *) mem_alloc((sizeof (type) * (size)))475 newbuf = mem_alloc(su->su_iosz); in cache_set()
133 r = mem_alloc(sizeof(*r)); in svc_vc_create()141 xprt = mem_alloc(sizeof(SVCXPRT)); in svc_vc_create()162 xprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len); in svc_vc_create()203 ret->xp_ltaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create()216 ret->xp_rtaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create()248 xprt = mem_alloc(sizeof(SVCXPRT)); in makefd_xprt()254 cd = mem_alloc(sizeof(struct cf_conn)); in makefd_xprt()315 newxprt->xp_rtaddr.buf = mem_alloc(len); in rendezvous_request()
103 auth = mem_alloc(sizeof(*auth)); in authunix_create()110 au = mem_alloc(sizeof(*au)); in authunix_create()143 au->au_origcred.oa_base = mem_alloc((u_int) len); in authunix_create()145 if ((au->au_origcred.oa_base = mem_alloc((u_int) len)) == NULL) { in authunix_create()
329 entry->rname = (char *)mem_alloc((u_int)strlen(cred->adc_fullname.name) in _svcauth_des()361 mem_alloc(sizeof(struct cache_entry) * AUTHDES_CACHESZ); in cache_init()365 authdes_lru = (short *)mem_alloc(sizeof(short) * AUTHDES_CACHESZ); in cache_init()476 cred = (struct bsdcred *)mem_alloc(sizeof(struct bsdcred)); in authdes_getucred()
62 #define ALLOC(object_type) (object_type *) mem_alloc(sizeof(object_type))181 ad->ad_fullname = (char *)mem_alloc(ad->ad_fullnamelen + 1); in authdes_pk_seccreate()183 ad->ad_servername = (char *)mem_alloc(ad->ad_servernamelen + 1); in authdes_pk_seccreate()190 ad->ad_timehost = (char *)mem_alloc(strlen(timehost) + 1); in authdes_pk_seccreate()
129 mem_alloc(oa->oa_length); in xdr_callmsg()165 mem_alloc(oa->oa_length); in xdr_callmsg()
165 dg_fd_locks = (int *) mem_alloc(fd_allocsz); in clnt_dg_create()174 dg_cv = (cond_t *) mem_alloc(cv_allocsz); in clnt_dg_create()213 if ((cl = mem_alloc(sizeof (CLIENT))) == NULL) in clnt_dg_create()220 cu = mem_alloc(sizeof (*cu) + sendsz + recvsz); in clnt_dg_create()
108 mem_alloc(FD_SETSIZE * sizeof(SVCXPRT *)); in xprt_register()203 s = mem_alloc(sizeof (struct svc_callout)); in svc_reg()283 s = mem_alloc(sizeof(struct svc_callout)); in svc_register()
173 cl = (CLIENT *)mem_alloc(sizeof (*cl)); in clnt_vc_create()174 ct = (struct ct_data *)mem_alloc(sizeof (*ct)); in clnt_vc_create()190 vc_fd_locks = (int *) mem_alloc(fd_allocsz); in clnt_vc_create()200 vc_cv = (cond_t *) mem_alloc(cv_allocsz); in clnt_vc_create()
185 asp = mem_alloc(sizeof (*asp)); in svc_auth_reg()
63 #define mem_alloc(bsize) calloc(1, bsize) macro
82 *pp = loc = (caddr_t) mem_alloc(size); in xdr_reference()
99 *addrp = target = mem_alloc(nodesize); in xdr_array()
169 RECSTREAM *rstrm = mem_alloc(sizeof(RECSTREAM)); in xdrrec_create()180 rstrm->out_base = mem_alloc(rstrm->sendsize); in xdrrec_create()187 rstrm->in_base = mem_alloc(recvsize); in xdrrec_create()
587 *cpp = sp = mem_alloc(nodesize); in xdr_bytes()729 *cpp = sp = mem_alloc(nodesize); in xdr_string()