| /freebsd-12-stable/sys/rpc/ |
| D | types.h | 69 #define mem_alloc(bsize) malloc(bsize, M_RPC, M_WAITOK|M_ZERO) macro 72 #define mem_alloc(bsize) calloc(1, bsize) macro
|
| D | auth_unix.c | 186 auth = mem_alloc(sizeof(*auth)); in authunix_create() 187 au = mem_alloc(sizeof(*au)); in authunix_create() 209 au->au_origcred.oa_base = mem_alloc((u_int) len); in authunix_create()
|
| D | rpc_callmsg.c | 130 mem_alloc(oa->oa_length); in xdr_callmsg() 166 mem_alloc(oa->oa_length); in xdr_callmsg()
|
| /freebsd-12-stable/lib/libc/rpc/ |
| D | auth_unix.c | 109 auth = mem_alloc(sizeof(*auth)); in authunix_create() 116 au = mem_alloc(sizeof(*au)); in authunix_create() 149 au->au_origcred.oa_base = mem_alloc((u_int) len); in authunix_create() 151 if ((au->au_origcred.oa_base = mem_alloc((u_int) len)) == NULL) { in authunix_create()
|
| D | svc_dg.c | 133 su = mem_alloc(sizeof (*su)); in svc_dg_create() 137 if ((rpc_buffer(xprt) = mem_alloc(su->su_iosz)) == NULL) in svc_dg_create() 153 xprt->xp_ltaddr.buf = mem_alloc(sizeof (struct sockaddr_storage)); in svc_dg_create() 164 su->su_srcaddr.buf = mem_alloc(sizeof (ss)); in svc_dg_create() 273 xprt->xp_rtaddr.buf = mem_alloc(alen); in svc_dg_recv() 459 (type *) mem_alloc((sizeof (type) * (size))) 615 newbuf = mem_alloc(su->su_iosz); in cache_set()
|
| D | svc_vc.c | 138 r = mem_alloc(sizeof(*r)); in svc_vc_create() 164 xprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len); in svc_vc_create() 205 ret->xp_ltaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create() 218 ret->xp_rtaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create() 255 cd = mem_alloc(sizeof(struct cf_conn)); in makefd_xprt() 316 newxprt->xp_rtaddr.buf = mem_alloc(len); in rendezvous_request() 357 newxprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len); in rendezvous_request()
|
| D | svc_auth_des.c | 331 entry->rname = (char *)mem_alloc((u_int)strlen(cred->adc_fullname.name) in _svcauth_des() 363 mem_alloc(sizeof(struct cache_entry) * AUTHDES_CACHESZ); in cache_init() 367 authdes_lru = (short *)mem_alloc(sizeof(short) * AUTHDES_CACHESZ); in cache_init() 477 cred = (struct bsdcred *)mem_alloc(sizeof(struct bsdcred)); in authdes_getucred()
|
| D | svc.c | 113 mem_alloc((FD_SETSIZE + 1) * sizeof(SVCXPRT *)); in xprt_register() 211 s = mem_alloc(sizeof (struct svc_callout)); in svc_reg() 291 s = mem_alloc(sizeof(struct svc_callout)); in svc_register() 541 xprt = mem_alloc(sizeof(SVCXPRT)); in svc_xprt_alloc() 545 ext = mem_alloc(sizeof(SVCXPRT_EXT)); in svc_xprt_alloc()
|
| D | auth_des.c | 68 #define ALLOC(object_type) (object_type *) mem_alloc(sizeof(object_type)) 186 ad->ad_fullname = (char *)mem_alloc(ad->ad_fullnamelen + 1); in authdes_pk_seccreate() 188 ad->ad_servername = (char *)mem_alloc(ad->ad_servernamelen + 1); in authdes_pk_seccreate() 195 ad->ad_timehost = (char *)mem_alloc(strlen(timehost) + 1); in authdes_pk_seccreate()
|
| D | rpc_callmsg.c | 135 mem_alloc(oa->oa_length); in xdr_callmsg() 171 mem_alloc(oa->oa_length); in xdr_callmsg()
|
| D | svc_auth.c | 213 asp = mem_alloc(sizeof (*asp)); in svc_auth_reg()
|
| /freebsd-12-stable/sys/kgssapi/ |
| D | gssd_prot.c | 104 oid = mem_alloc(sizeof(gss_OID_desc)); in xdr_gss_OID() 169 set = mem_alloc(sizeof(gss_OID_set_desc)); in xdr_gss_OID_set() 224 ch = mem_alloc(sizeof(*ch)); in xdr_gss_channel_bindings_t()
|
| /freebsd-12-stable/lib/librpcsec_gss/ |
| D | svc_rpcsec_gss.c | 173 scb = mem_alloc(sizeof(struct svc_rpc_gss_callback)); in rpc_gss_set_callback() 260 buf.value = mem_alloc(namelen); in rpc_gss_get_principal_name() 305 result = mem_alloc(sizeof(int) + buf.length); in rpc_gss_get_principal_name() 413 client = mem_alloc(sizeof(struct svc_rpc_gss_client)); in svc_rpc_gss_create_client() 534 if ((bp = (char *) mem_alloc(string_length))) { in gss_oid_to_str() 712 mem_alloc(sizeof(*client->cl_rawcred.client_principal) in svc_rpc_gss_accept_sec_context()
|
| D | rpcsec_gss.c | 166 auth = mem_alloc(sizeof(*auth)); in rpc_gss_seccreate() 172 gd = mem_alloc(sizeof(*gd)); in rpc_gss_seccreate() 291 gd->gd_verf.value = mem_alloc(verf->oa_length); in rpc_gss_validate()
|
| /freebsd-12-stable/sys/xdr/ |
| D | xdr_reference.c | 79 *pp = loc = (caddr_t) mem_alloc(size); in xdr_reference()
|
| D | xdr_array.c | 97 *addrp = target = mem_alloc(nodesize); in xdr_array()
|
| /freebsd-12-stable/lib/libc/xdr/ |
| D | xdr_reference.c | 87 *pp = loc = (caddr_t) mem_alloc(size); in xdr_reference()
|
| D | xdr_array.c | 105 *addrp = target = mem_alloc(nodesize); in xdr_array()
|
| D | xdr_rec.c | 179 RECSTREAM *rstrm = mem_alloc(sizeof(RECSTREAM)); in xdrrec_create() 190 rstrm->out_base = mem_alloc(rstrm->sendsize); in xdrrec_create() 197 rstrm->in_base = mem_alloc(recvsize); in xdrrec_create()
|
| /freebsd-12-stable/sys/rpc/rpcsec_gss/ |
| D | svc_rpcsec_gss.c | 215 scb = mem_alloc(sizeof(struct svc_rpc_gss_callback)); in rpc_gss_set_callback() 292 sname = mem_alloc(sizeof(*sname)); in rpc_gss_set_svc_name() 363 buf.value = mem_alloc(namelen); in rpc_gss_get_principal_name() 408 result = mem_alloc(sizeof(int) + buf.length); in rpc_gss_get_principal_name() 568 client = mem_alloc(sizeof(struct svc_rpc_gss_client)); in svc_rpc_gss_create_client() 982 mem_alloc(sizeof(*client->cl_rawcred.client_principal) in svc_rpc_gss_accept_sec_context()
|
| D | rpcsec_gss.c | 385 auth = mem_alloc(sizeof(*auth)); in rpc_gss_seccreate_int() 391 gd = mem_alloc(sizeof(*gd)); in rpc_gss_seccreate_int() 560 pr = mem_alloc(sizeof(struct rpc_pending_request)); in rpc_gss_marshal() 651 gd->gd_verf.value = mem_alloc(verf->oa_length); in rpc_gss_validate()
|
| /freebsd-12-stable/sys/x86/include/ |
| D | busdma_impl.h | 67 int (*mem_alloc)(bus_dma_tag_t dmat, void** vaddr, int flags, member
|
| /freebsd-12-stable/sys/arm64/include/ |
| D | bus_dma_impl.h | 64 int (*mem_alloc)(bus_dma_tag_t dmat, void** vaddr, int flags, member
|
| /freebsd-12-stable/sys/riscv/include/ |
| D | bus_dma_impl.h | 63 int (*mem_alloc)(bus_dma_tag_t dmat, void** vaddr, int flags, member
|
| D | bus_dma.h | 49 return (tc->impl->mem_alloc(dmat, vaddr, flags, mapp)); in bus_dmamem_alloc()
|