Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/lib/libbc/inc/include/rpc/
H A Dtypes.h54 #define mem_alloc(bsize) malloc(bsize) macro
58 #define mem_alloc(bsize) kmem_alloc((u_int)bsize) macro
/titanic_41/usr/src/uts/common/rpc/
H A Dtypes.h91 #define mem_alloc(bsize) malloc(bsize) macro
96 #define mem_alloc(bsize) kmem_alloc(bsize, KM_SLEEP) macro
H A Drpc_calmsg.c117 mem_alloc(oa->oa_length); in xdr_callmsg()
142 mem_alloc(oa->oa_length); in xdr_callmsg()
H A Dxdr_refer.c79 *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.c81 if ((xdrs->x_private = (caddr_t)mem_alloc(len)) == NULL) { in x_inline()
H A Drpcsec_defs.h109 (dest).value = (void *) mem_alloc((dest).length); \
H A Dxdr.c484 *cpp = sp = (char *)mem_alloc(nodesize); in xdr_bytes()
602 sp = (char *)mem_alloc(nodesize); in xdr_string()
H A Dxdrrdma_sizeof.c171 if ((xdrp->inline_buf = (caddr_t)mem_alloc(len)) == NULL) { in x_inline()
/titanic_41/usr/src/lib/libnisdb/
H A Ddb_index_entry_c.c92 mem_alloc(sizeof (db_index_entry));
184 mem_alloc(sizeof (db_free_entry));
/titanic_41/usr/src/ucblib/librpcsoc/
H A Dsvc_udp.c143 su = (struct svcudp_data *)mem_alloc(sizeof (*su));
152 if ((rpc_buffer(xprt) = (char *)mem_alloc(su->su_iosz)) == NULL) {
300 (type *) mem_alloc((unsigned) (sizeof (type) * (size)))
441 newbuf = (char *)mem_alloc(su->su_iosz);
H A Dsvc_tcp.c141 r = (struct tcp_rendezvous *)mem_alloc(sizeof (*r));
198 cd = (struct tcp_conn *)mem_alloc(sizeof (struct tcp_conn));
H A Dclnt_tcp.c124 h = (CLIENT *)mem_alloc(sizeof (*h));
131 ct = (struct ct_data *)mem_alloc(sizeof (*ct));
H A Dclnt_udp.c128 cl = (CLIENT *)mem_alloc(sizeof (CLIENT));
137 cu = (struct cu_data *)mem_alloc(sizeof (*cu) + sendsz + recvsz);
/titanic_41/usr/src/uts/i86pc/dboot/
H A Ddboot_xboot.h66 extern void *mem_alloc(uint32_t size);
H A Ddboot_startkern.c377 paddr_t new_table = (paddr_t)(uintptr_t)mem_alloc(MMU_PAGESIZE); in make_ptable()
1282 mem_alloc(uint32_t size) in mem_alloc() function
1309 top_page_table = (paddr_t)(uintptr_t)mem_alloc(MMU_PAGESIZE); in build_page_tables()
1335 bi->bi_pt_window = (uintptr_t)mem_alloc(MMU_PAGESIZE); in build_page_tables()
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c35 mem_alloc(size_t size) in mem_alloc() function
434 if ((lhp = ldom_init(mem_alloc, mem_free)) == NULL) { in mem_mdesc_init()
449 if ((mdp = md_init_intern(bufp, mem_alloc, mem_free)) == NULL || in mem_mdesc_init()
457 listp = mem_alloc(sizeof (mde_cookie_t) * num_nodes); in mem_mdesc_init()
H A Dmem_mdesc.h93 extern void *mem_alloc(size_t);
H A Dmem.c384 if ((lhp = ldom_init(mem_alloc, mem_free)) == NULL) { in mem_page_isretired()
409 if ((lhp = ldom_init(mem_alloc, mem_free)) == NULL) { in mem_page_retire()
434 if ((lhp = ldom_init(mem_alloc, mem_free)) == NULL) { in mem_page_unretire()
/titanic_41/usr/src/uts/common/rpc/sec/
H A Dauth_des.c63 #define ALLOC(object_type) (object_type *) mem_alloc(sizeof (object_type))
136 ad->ad_fullname = mem_alloc(ad->ad_fullnamelen + 1); in authdes_create()
139 ad->ad_servername = mem_alloc(ad->ad_servernamelen + 1); in authdes_create()
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/
H A Dpol_xdr.c62 *objp = (char *) mem_alloc(size); in xdr_nullstring()
/titanic_41/usr/src/cmd/rexd/
H A Drex.c85 mem_alloc((unsigned)(count+1)*sizeof (char **)); in xdr_argv()
/titanic_41/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss_utils.c160 if ((pdup = (rpc_gss_principal_t)mem_alloc(len)) == NULL)
/titanic_41/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()
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dprinc_xdr.c61 *objp = (char *) mem_alloc(size); in ldap_xdr_nullstring()

12