Home
last modified time | relevance | path

Searched refs:mem_alloc (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/uts/common/rpc/
H A Dtypes.h86 #define mem_alloc(bsize) malloc(bsize) macro
91 #define mem_alloc(bsize) kmem_alloc(bsize, KM_SLEEP) macro
H A Drpc_calmsg.c126 mem_alloc(oa->oa_length); in xdr_callmsg()
151 mem_alloc(oa->oa_length); in xdr_callmsg()
H A Dxdr_refer.c77 *pp = loc = (caddr_t)mem_alloc(size); in xdr_reference()
H A Dxdr_array.c87 *addrp = target = (char *)mem_alloc(nodesize); in xdr_array()
H A Dxdr_sizeof.c82 if ((xdrs->x_private = (caddr_t)mem_alloc(len)) == NULL) { in x_inline()
H A Dxdr.c484 *cpp = sp = (char *)mem_alloc(nodesize); in xdr_bytes()
602 sp = (char *)mem_alloc(nodesize); in xdr_string()
H A Drpcsec_defs.h107 (dest).value = (void *) mem_alloc((dest).length); \
H A Dxdrrdma_sizeof.c173 if ((xdrp->inline_buf = (caddr_t)mem_alloc(len)) == NULL) { in x_inline()
H A Drpc_prot.c213 mem_alloc(oa->oa_length); in xdr_replymsg()
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_index_entry_c.c94 mem_alloc(sizeof (db_index_entry)); in xdr_db_index_entry()
182 mem_alloc(sizeof (db_free_entry)); in xdr_db_free_entry()
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dsvc_udp.c141 su = (struct svcudp_data *)mem_alloc(sizeof (*su));
150 if ((rpc_buffer(xprt) = (char *)mem_alloc(su->su_iosz)) == NULL) {
298 (type *) mem_alloc((unsigned) (sizeof (type) * (size)))
439 newbuf = (char *)mem_alloc(su->su_iosz);
H A Dsvc_tcp.c139 r = (struct tcp_rendezvous *)mem_alloc(sizeof (*r));
196 cd = (struct tcp_conn *)mem_alloc(sizeof (struct tcp_conn));
H A Dclnt_tcp.c116 h = (CLIENT *)mem_alloc(sizeof (*h)); in clnttcp_create()
123 ct = (struct ct_data *)mem_alloc(sizeof (*ct)); in clnttcp_create()
H A Dclnt_udp.c126 cl = (CLIENT *)mem_alloc(sizeof (CLIENT));
135 cu = (struct cu_data *)mem_alloc(sizeof (*cu) + sendsz + recvsz);
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_xboot.h64 extern void *mem_alloc(uint32_t size);
H A Ddboot_startkern.c430 paddr_t new_table = (paddr_t)(uintptr_t)mem_alloc(MMU_PAGESIZE); in make_ptable()
1938 mem_alloc(uint32_t size) in mem_alloc() function
1965 top_page_table = (paddr_t)(uintptr_t)mem_alloc(MMU_PAGESIZE); in build_page_tables()
1991 bi->bi_pt_window = (native_ptr_t)(uintptr_t)mem_alloc(MMU_PAGESIZE); in build_page_tables()
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dauth_des.c61 #define ALLOC(object_type) (object_type *) mem_alloc(sizeof (object_type))
134 ad->ad_fullname = mem_alloc(ad->ad_fullnamelen + 1); in authdes_create()
137 ad->ad_servername = mem_alloc(ad->ad_servernamelen + 1); in authdes_create()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dpol_xdr.c62 *objp = (char *) mem_alloc(size); in xdr_nullstring()
/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss_utils.c158 if ((pdup = (rpc_gss_principal_t)mem_alloc(len)) == NULL)
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dxdr_rec.c134 RECSTREAM *rstrm = (RECSTREAM *)mem_alloc(sizeof (RECSTREAM)); in xdrrec_create()
148 rstrm->the_buffer = mem_alloc(sendsize + recvsize + BYTES_PER_XDR_UNIT); in xdrrec_create()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dprinc_xdr.c59 *objp = (char *) mem_alloc(size); in ldap_xdr_nullstring()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_xdr.c169 mem_alloc(sizeof (action_list)); in xdr_action_list()
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dkadm_rpc_xdr.c83 *objp = (char *) mem_alloc(size); in xdr_nullstring()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dnfs4_xdr.c1983 objp->nextentry = (entry4 *)mem_alloc(sizeof (entry4)); in xdr_entry4()