Searched refs:mem_alloc (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/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
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_xboot.h66 extern void *mem_alloc(uint32_t size);
/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 Dxdr_array.c87 *addrp = target = (char *)mem_alloc(nodesize);
H A Dxdr_refer.c79 *pp = loc = (caddr_t)mem_alloc(size);
H A Dxdr_sizeof.c81 if ((xdrs->x_private = (caddr_t)mem_alloc(len)) == NULL) {
H A Drpc_calmsg.c117 mem_alloc(oa->oa_length);
142 mem_alloc(oa->oa_length);
H A Drpcsec_defs.h109 (dest).value = (void *) mem_alloc((dest).length); \
H A Dxdr.c484 *cpp = sp = (char *)mem_alloc(nodesize);
602 sp = (char *)mem_alloc(nodesize);
H A Dxdrrdma_sizeof.c171 if ((xdrp->inline_buf = (caddr_t)mem_alloc(len)) == NULL) {
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_index_entry_c.c96 mem_alloc(sizeof (db_index_entry));
99 "xdr_db_index_entry: mem_alloc failed");
188 mem_alloc(sizeof (db_free_entry));
191 "db_free_entry: mem_alloc failed");
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.h93 extern void *mem_alloc(size_t);
H A Dmem_mdesc.c35 mem_alloc(size_t size) function
434 if ((lhp = ldom_init(mem_alloc, mem_free)) == NULL) {
449 if ((mdp = md_init_intern(bufp, mem_alloc, mem_free)) == NULL ||
457 listp = mem_alloc(sizeof (mde_cookie_t) * num_nodes);
H A Dmem.c384 if ((lhp = ldom_init(mem_alloc, mem_free)) == NULL) {
409 if ((lhp = ldom_init(mem_alloc, mem_free)) == NULL) {
434 if ((lhp = ldom_init(mem_alloc, mem_free)) == NULL) {
/illumos-gate/usr/src/cmd/rexd/
H A Drex.c85 mem_alloc((unsigned)(count+1)*sizeof (char **));
/illumos-gate/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);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dpol_xdr.c62 *objp = (char *) mem_alloc(size);
/illumos-gate/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);
139 ad->ad_servername = mem_alloc(ad->ad_servernamelen + 1);
/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss_utils.c160 if ((pdup = (rpc_gss_principal_t)mem_alloc(len)) == NULL)
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dprinc_xdr.c61 *objp = (char *) mem_alloc(size);
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dxdr_rec.c134 RECSTREAM *rstrm = (RECSTREAM *)mem_alloc(sizeof (RECSTREAM));
148 rstrm->the_buffer = mem_alloc(sendsize + recvsize + BYTES_PER_XDR_UNIT);
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dinfcover.c71 local void *mem_alloc(void *mem, unsigned count, unsigned size) function
171 strm->zalloc = mem_alloc;

Completed in 283 milliseconds

12