Searched refs:libld_malloc (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/include/
H A Dsgs.h208 #define calloc(x, a) libld_malloc(((size_t)x) * ((size_t)a))
210 #define malloc libld_malloc
213 #define libld_calloc(x, a) libld_malloc(((size_t)x) * ((size_t)a))
215 extern void *libld_malloc(size_t);
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dutil.c49 * libld_malloc() and dz_map() are used for both performance and for ease of
75 * libld_malloc() is actually the address of (block + 8):
82 * by libld_malloc() must be 8 byte-aligned. Even in a 32-bit environment,
103 libld_malloc(size_t size) function
159 return (libld_malloc(size));
173 if ((vptr = libld_malloc(size)) != NULL)
272 if ((new = libld_malloc(strlen(str) + 1)) == NULL)
295 if ((str = libld_malloc(len)) == NULL)
H A Dldlibs.c209 if ((_path = libld_malloc(strlen(path) + 1)) == NULL)
243 if ((_path = libld_malloc(strlen(path) + 1)) == NULL)
388 if ((path = libld_malloc(strlen(cp) + 1)) == NULL)
H A Ddebug.c197 if ((prestr = libld_malloc(len)) == NULL)
H A Dentry.c392 if ((psegs = libld_malloc(sizeof (sg_desc))) == NULL)
424 if ((enp = libld_malloc(sizeof (ent_desc))) == NULL)
H A Dsyms.c171 if ((new_buf = libld_malloc(new_bufsize)) == NULL)
276 if ((nsym = libld_malloc(sizeof (Sym))) == NULL)
376 if ((_name = libld_malloc(strlen(name) + 1)) == NULL)
2019 if ((ifl->ifl_oldndx = libld_malloc((size_t)(total *
2586 libld_malloc(sizeof (Sym_desc))) == NULL)
2608 if ((rsym = libld_malloc(sizeof (Sym))) == NULL)
2753 if ((sort = libld_malloc(nsize)) == NULL)
2961 if ((cname = libld_malloc(tsize)) == 0)
2972 if ((csym = libld_malloc(sizeof (Sym))) == NULL)
3128 if ((str = libld_malloc(le
[all...]
H A Dfiles.c638 if ((ocapset->oc_id.cs_str = libld_malloc(len)) == NULL)
785 if (((mcsp = libld_malloc(sizeof (Cap_sym))) == NULL) ||
1886 (machine = libld_malloc((size_t)size))) {
1915 (platform = libld_malloc((size_t)size))) {
2012 if ((_next = lptr = libld_malloc(mlen)) == NULL)
2062 if ((nptr = libld_malloc(strlen(_name) + 1)) == NULL)
3501 if ((_path = libld_malloc(strlen(path) + 1)) == NULL)
3638 rpath = libld_malloc(strlen(sdf->sdf_rpath) + 1);
H A Dlibs.c212 if ((adp = libld_malloc(sizeof (Ar_desc))) == NULL)
349 if ((path = libld_malloc(len)) == NULL) {
H A Dplace.c666 if ((shdr = libld_malloc(sizeof (Shdr))) == NULL)
931 if ((oname = libld_malloc(size + 1)) == NULL)
997 if ((oname = libld_malloc(size + 1)) == NULL)
H A Drelocate.c389 if ((ifl->ifl_sortsyms = libld_malloc((ifl->ifl_symscnt + 1) *
525 if (((rcbp = libld_malloc(size)) == NULL) ||
573 if (((racp = libld_malloc(size)) == NULL) ||
2344 libld_malloc(sizeof (Mv_reloc))) == NULL))
2571 if ((sorted_list = libld_malloc((size_t)(sizeof (Reloc_list) *
H A Dsections.c711 if ((shdr = libld_malloc(sizeof (Shdr))) == NULL)
1700 if ((data->d_buf = libld_malloc(shdr->sh_size)) == NULL)
2454 if ((sectname = libld_malloc(strlen(rel_prefix) +
2950 if ((mstr_data->d_buf = libld_malloc(data_size)) == NULL)
H A Dargs.c764 if ((argv = libld_malloc((sizeof (char *)) * (argc + 1))) == NULL)
873 if ((name = libld_malloc(strlen(optarg) + 1)) == NULL)
H A D_libld.h670 extern void *libld_malloc(size_t);
H A Dmachrel.amd.c1411 if ((gnp = libld_malloc(sizeof (Gotndx))) == NULL)
H A Dmachrel.intel.c1419 if ((gnp = libld_malloc(sizeof (Gotndx))) == NULL)
H A Dmachrel.sparc.c1965 if ((gnp = libld_malloc(sizeof (Gotndx))) == NULL)
H A Dmap_core.c2332 mf = libld_malloc(sizeof (*mf) + name_len + stat_buf.st_size + 1);

Completed in 119 milliseconds