Home
last modified time | relevance | path

Searched refs:libc_malloc (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnsparse.c145 if ((cfp = libc_malloc(sizeof (struct __nsw_switchconfig_v1))) in _nsw_getoneconfig_v1()
161 if ((lkp = libc_malloc(sizeof (struct __nsw_lookup_v1))) in _nsw_getoneconfig_v1()
340 if ((cfp = libc_malloc(sizeof (struct __nsw_switchconfig))) in _nsw_getoneconfig()
356 if ((lkp = libc_malloc(sizeof (struct __nsw_lookup))) in _nsw_getoneconfig()
866 if ((cp = libc_malloc(sizeof (struct cons_cell_v1))) == NULL) in add_concell_v1()
882 if ((cp = libc_malloc(sizeof (struct cons_cell))) == NULL) in add_concell()
H A Dmon.c257 if ((mon_out = libc_malloc(len + strlen(___Argv[0]) + 15)) in monitor()
299 (ANCHOR *)libc_malloc(sizeof (ANCHOR)); in monitor()
451 p = libc_malloc(GETTHISMUCH); in _mnewblock()
H A Dprivlib.c106 *buf = libc_malloc(sizeof (char *) * na->cnt); in parseninfo()
145 tmp = libc_malloc(sizeof (*tmp)); in __priv_parse_info()
179 tmp->pd_setsort = libc_malloc(tmp->pd_nprivs * in __priv_parse_info()
184 tmparr = libc_malloc(tmp->pd_nprivs * in __priv_parse_info()
328 ip = libc_malloc(realsize); in __priv_getdata()
841 return (libc_malloc(d->pd_setsize)); in __priv_allocset()
H A Dfmtmsg.c470 rtnval = libc_malloc( in getauxsevs()
544 if ((alloced = libc_malloc(strlen(opts) + 1)) == NULL) { in msgverbset()
634 if ((sevspace = libc_malloc(strlen(value) + 1)) != NULL) { in sevstrset()
727 if ((p = libc_malloc(sizeof (struct sevstr))) == NULL) { in addseverity()
H A Dcatopen.c184 p = libc_malloc(sizeof (struct _nl_catd_struct)); in process_nls_path()
309 tmp_catd = libc_malloc(sizeof (struct _nl_catd_struct)); in file_open()
H A Dgetauxv.c66 buf = libc_malloc( in _getaux()
H A Dnss_common.c334 cfg = libc_malloc(NSS_CFG_INCR * sizeof (nss_cfglist_t)); in nss_cfg_init()
341 cfg[i].list = libc_malloc( in nss_cfg_init()
413 if ((next->name = libc_malloc(len)) == NULL) { in nss_cfgcomp_get()
855 libc_malloc(s->p.max_dormant_per_src * in nss_put_backend_u()
882 if ((s = libc_malloc(sizeof (*s))) == 0) { in _nss_db_state_constr()
923 (s->src = libc_malloc(s->max_src * sizeof (*s->src))) == 0) { in _nss_db_state_constr()
1366 if ((contextp = libc_malloc(sizeof (*contextp))) == 0) { in nss_setent_u()
H A Dgetxby_door.c181 nsc_db_buf = (char *)libc_malloc(buflen); in _nsc_init_private_db()
184 nsc_db_list = (char **)libc_malloc(arrlen * sizeof (char *)); in _nsc_init_private_db()
H A Dgtxt.c119 libc_malloc(MINDB * sizeof (struct db_info))) == NULL) { in load_db()
H A Dlocaltime.c979 if ((charsbuf = libc_malloc(TZ_MAX_CHARS)) == NULL) in ltzset_u()
/illumos-gate/usr/src/lib/libc/
H A DREADME94 void *libc_malloc(size_t);
102 without the 'libc_' prefix. lmalloc() and libc_malloc()
108 Memory allocated by libc_malloc(), libc_realloc(), or libc_strdup()
161 * lmalloc or libc_malloc should be used. The memory must
166 releasing point, libc_malloc and libc_free should be used.
168 * As the memory allocated by lmalloc or libc_malloc needs
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dalloc.c346 libc_malloc(size_t size) in libc_malloc() function
392 char *s2 = libc_malloc(strlen(s1) + 1); in libc_strdup()
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dldpart.c79 if ((lbuf = libc_malloc(bufsize)) == NULL) { in __part_load_locale()
H A Dlmonetary.c115 ldata->l_data[2] = libc_malloc(clen); in __lc_monetary_load()
H A Drune.c143 data = libc_malloc(sizeof (_RuneLocale) + in _Read_RuneMagi()
H A Dlocaleimpl.c179 if ((ldata->l_data[0] = libc_malloc(memsz)) == NULL) { in __locdata_alloc()
/illumos-gate/usr/src/lib/libc/inc/
H A Dlibc.h77 extern void *libc_malloc(size_t);
H A Dthr_uberdata.h1304 extern void *libc_malloc(size_t);