| /freebsd-14.2/sys/rpc/ |
| H A D | types.h | 68 #define mem_alloc(bsize) malloc(bsize, M_RPC, M_WAITOK|M_ZERO) macro 71 #define mem_alloc(bsize) calloc(1, bsize) macro
|
| H A D | auth_unix.c | 184 auth = mem_alloc(sizeof(*auth)); in authunix_create() 185 au = mem_alloc(sizeof(*au)); in authunix_create() 207 au->au_origcred.oa_base = mem_alloc((u_int) len); in authunix_create()
|
| H A D | rpc_callmsg.c | 128 mem_alloc(oa->oa_length); in xdr_callmsg() 164 mem_alloc(oa->oa_length); in xdr_callmsg()
|
| H A D | clnt_rc.c | 91 cl = mem_alloc(sizeof (CLIENT)); in clnt_reconnect_create() 92 rc = mem_alloc(sizeof (*rc)); in clnt_reconnect_create() 524 rc->rc_tlscertname = mem_alloc(slen); in clnt_reconnect_control()
|
| /freebsd-14.2/sys/kgssapi/ |
| H A D | gssd_prot.c | 102 oid = mem_alloc(sizeof(gss_OID_desc)); in xdr_gss_OID() 167 set = mem_alloc(sizeof(gss_OID_set_desc)); in xdr_gss_OID_set() 222 ch = mem_alloc(sizeof(*ch)); in xdr_gss_channel_bindings_t()
|
| H A D | gss_ip_to_dns.c | 59 args.ip_addr.ip_addr_val = mem_alloc(args.ip_addr.ip_addr_len); in gss_ip_to_dns()
|
| /freebsd-14.2/lib/libc/rpc/ |
| H A D | auth_unix.c | 106 auth = mem_alloc(sizeof(*auth)); in authunix_create() 113 au = mem_alloc(sizeof(*au)); in authunix_create() 146 au->au_origcred.oa_base = mem_alloc((u_int) len); in authunix_create() 148 if ((au->au_origcred.oa_base = mem_alloc((u_int) len)) == NULL) { in authunix_create()
|
| H A D | svc_dg.c | 130 su = mem_alloc(sizeof (*su)); in svc_dg_create() 134 if ((rpc_buffer(xprt) = mem_alloc(su->su_iosz)) == NULL) in svc_dg_create() 150 xprt->xp_ltaddr.buf = mem_alloc(sizeof (struct sockaddr_storage)); in svc_dg_create() 161 su->su_srcaddr.buf = mem_alloc(sizeof (ss)); in svc_dg_create() 270 xprt->xp_rtaddr.buf = mem_alloc(alen); in svc_dg_recv() 456 (type *) mem_alloc((sizeof (type) * (size))) 612 newbuf = mem_alloc(su->su_iosz); in cache_set()
|
| H A D | svc_vc.c | 135 r = mem_alloc(sizeof(*r)); in svc_vc_create() 161 xprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len); in svc_vc_create() 202 ret->xp_ltaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create() 215 ret->xp_rtaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create() 252 cd = mem_alloc(sizeof(struct cf_conn)); in makefd_xprt() 313 newxprt->xp_rtaddr.buf = mem_alloc(len); in rendezvous_request() 354 newxprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len); in rendezvous_request()
|
| H A D | svc_auth_des.c | 328 entry->rname = (char *)mem_alloc((u_int)strlen(cred->adc_fullname.name) in _svcauth_des() 360 mem_alloc(sizeof(struct cache_entry) * AUTHDES_CACHESZ); in cache_init() 364 authdes_lru = (short *)mem_alloc(sizeof(short) * AUTHDES_CACHESZ); in cache_init() 474 cred = (struct bsdcred *)mem_alloc(sizeof(struct bsdcred)); in authdes_getucred()
|
| H A D | svc.c | 110 mem_alloc((FD_SETSIZE + 1) * sizeof(SVCXPRT *)); in xprt_register() 208 s = mem_alloc(sizeof (struct svc_callout)); in svc_reg() 288 s = mem_alloc(sizeof(struct svc_callout)); in svc_register() 538 xprt = mem_alloc(sizeof(SVCXPRT)); in svc_xprt_alloc() 542 ext = mem_alloc(sizeof(SVCXPRT_EXT)); in svc_xprt_alloc()
|
| H A D | auth_des.c | 64 #define ALLOC(object_type) (object_type *) mem_alloc(sizeof(object_type)) 182 ad->ad_fullname = (char *)mem_alloc(ad->ad_fullnamelen + 1); in authdes_pk_seccreate() 184 ad->ad_servername = (char *)mem_alloc(ad->ad_servernamelen + 1); in authdes_pk_seccreate() 191 ad->ad_timehost = (char *)mem_alloc(strlen(timehost) + 1); in authdes_pk_seccreate()
|
| H A D | rpc_callmsg.c | 132 mem_alloc(oa->oa_length); in xdr_callmsg() 168 mem_alloc(oa->oa_length); in xdr_callmsg()
|
| H A D | svc_auth.c | 210 asp = mem_alloc(sizeof (*asp)); in svc_auth_reg()
|
| /freebsd-14.2/sys/xdr/ |
| H A D | xdr_reference.c | 77 *pp = loc = (caddr_t) mem_alloc(size); in xdr_reference()
|
| H A D | xdr_array.c | 95 *addrp = target = mem_alloc(nodesize); in xdr_array()
|
| /freebsd-14.2/lib/libc/xdr/ |
| H A D | xdr_reference.c | 84 *pp = loc = (caddr_t) mem_alloc(size); in xdr_reference()
|
| H A D | xdr_array.c | 102 *addrp = target = mem_alloc(nodesize); in xdr_array()
|
| H A D | xdr_rec.c | 176 RECSTREAM *rstrm = mem_alloc(sizeof(RECSTREAM)); in xdrrec_create() 187 rstrm->out_base = mem_alloc(rstrm->sendsize); in xdrrec_create() 194 rstrm->in_base = mem_alloc(recvsize); in xdrrec_create()
|
| /freebsd-14.2/lib/librpcsec_gss/ |
| H A D | svc_rpcsec_gss.c | 171 scb = mem_alloc(sizeof(struct svc_rpc_gss_callback)); in rpc_gss_set_callback() 258 buf.value = mem_alloc(namelen); in rpc_gss_get_principal_name() 303 result = mem_alloc(sizeof(int) + buf.length); in rpc_gss_get_principal_name() 411 client = mem_alloc(sizeof(struct svc_rpc_gss_client)); in svc_rpc_gss_create_client() 532 if ((bp = (char *) mem_alloc(string_length))) { in gss_oid_to_str() 710 mem_alloc(sizeof(*client->cl_rawcred.client_principal) in svc_rpc_gss_accept_sec_context()
|
| H A D | rpcsec_gss.c | 164 auth = mem_alloc(sizeof(*auth)); in rpc_gss_seccreate() 170 gd = mem_alloc(sizeof(*gd)); in rpc_gss_seccreate() 289 gd->gd_verf.value = mem_alloc(verf->oa_length); in rpc_gss_validate()
|
| /freebsd-14.2/sys/rpc/rpcsec_gss/ |
| H A D | svc_rpcsec_gss.c | 227 KGSS_VNET(svc_rpc_gss_client_hash) = mem_alloc( in svc_rpc_gss_vnetinit() 253 scb = mem_alloc(sizeof(struct svc_rpc_gss_callback)); in rpc_gss_set_callback() 330 sname = mem_alloc(sizeof(*sname)); in rpc_gss_set_svc_name() 401 buf.value = mem_alloc(namelen); in rpc_gss_get_principal_name() 446 result = mem_alloc(sizeof(int) + buf.length); in rpc_gss_get_principal_name() 639 client = mem_alloc(sizeof(struct svc_rpc_gss_client)); in svc_rpc_gss_create_client() 1058 mem_alloc(sizeof(*client->cl_rawcred.client_principal) in svc_rpc_gss_accept_sec_context()
|
| /freebsd-14.2/sys/arm64/include/ |
| H A D | bus_dma_impl.h | 63 int (*mem_alloc)(bus_dma_tag_t dmat, void** vaddr, int flags, member
|
| /freebsd-14.2/sys/riscv/include/ |
| H A D | bus_dma_impl.h | 60 int (*mem_alloc)(bus_dma_tag_t dmat, void** vaddr, int flags, member
|
| /freebsd-14.2/sys/x86/include/ |
| H A D | busdma_impl.h | 65 int (*mem_alloc)(bus_dma_tag_t dmat, void** vaddr, int flags, member
|