| /freebsd-13.1/sys/rpc/ |
| H A 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
|
| H A 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()
|
| H A D | rpc_callmsg.c | 130 mem_alloc(oa->oa_length); in xdr_callmsg() 166 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() 518 rc->rc_tlscertname = mem_alloc(slen); in clnt_reconnect_control()
|
| /freebsd-13.1/sys/kgssapi/ |
| H A 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-13.1/lib/libc/rpc/ |
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A D | rpc_callmsg.c | 135 mem_alloc(oa->oa_length); in xdr_callmsg() 171 mem_alloc(oa->oa_length); in xdr_callmsg()
|
| H A D | clnt_dg.c | 188 dg_fd_locks = (int *) mem_alloc(fd_allocsz); in clnt_dg_create() 197 dg_cv = (cond_t *) mem_alloc(cv_allocsz); in clnt_dg_create() 236 if ((cl = mem_alloc(sizeof (CLIENT))) == NULL) in clnt_dg_create() 243 cu = mem_alloc(sizeof (*cu) + sendsz + recvsz); in clnt_dg_create()
|
| H A D | svc_auth.c | 213 asp = mem_alloc(sizeof (*asp)); in svc_auth_reg()
|
| H A D | clnt_vc.c | 184 cl = (CLIENT *)mem_alloc(sizeof (*cl)); in clnt_vc_create() 185 ct = (struct ct_data *)mem_alloc(sizeof (*ct)); in clnt_vc_create() 202 vc_fd_locks = (int *) mem_alloc(fd_allocsz); in clnt_vc_create() 212 vc_cv = (cond_t *) mem_alloc(cv_allocsz); in clnt_vc_create()
|
| /freebsd-13.1/sys/xdr/ |
| H A D | xdr_reference.c | 79 *pp = loc = (caddr_t) mem_alloc(size); in xdr_reference()
|
| H A D | xdr_array.c | 97 *addrp = target = mem_alloc(nodesize); in xdr_array()
|
| /freebsd-13.1/lib/libc/xdr/ |
| H A D | xdr_reference.c | 87 *pp = loc = (caddr_t) mem_alloc(size); in xdr_reference()
|
| H A D | xdr_array.c | 105 *addrp = target = mem_alloc(nodesize); in xdr_array()
|
| /freebsd-13.1/sys/rpc/rpcsec_gss/ |
| H A D | svc_rpcsec_gss.c | 209 …svc_rpc_gss_client_hash = mem_alloc(sizeof(struct svc_rpc_gss_client_list) * svc_rpc_gss_client_ha… in svc_rpc_gss_init() 223 scb = mem_alloc(sizeof(struct svc_rpc_gss_callback)); in rpc_gss_set_callback() 300 sname = mem_alloc(sizeof(*sname)); in rpc_gss_set_svc_name() 371 buf.value = mem_alloc(namelen); in rpc_gss_get_principal_name() 416 result = mem_alloc(sizeof(int) + buf.length); in rpc_gss_get_principal_name() 576 client = mem_alloc(sizeof(struct svc_rpc_gss_client)); in svc_rpc_gss_create_client() 990 mem_alloc(sizeof(*client->cl_rawcred.client_principal) in svc_rpc_gss_accept_sec_context()
|
| /freebsd-13.1/lib/librpcsec_gss/ |
| H A 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()
|
| H A 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-13.1/sys/arm64/include/ |
| H A D | bus_dma_impl.h | 65 int (*mem_alloc)(bus_dma_tag_t dmat, void** vaddr, int flags, member
|
| /freebsd-13.1/sys/riscv/include/ |
| H A D | bus_dma_impl.h | 62 int (*mem_alloc)(bus_dma_tag_t dmat, void** vaddr, int flags, member
|
| /freebsd-13.1/sys/x86/include/ |
| H A D | busdma_impl.h | 67 int (*mem_alloc)(bus_dma_tag_t dmat, void** vaddr, int flags, member
|