Home
last modified time | relevance | path

Searched refs:libld_calloc (Results 1 – 19 of 19) sorted by relevance

/titanic_50/usr/src/cmd/sgs/libld/common/
H A Dwrap.c101 ofl->ofl_wrap = libld_calloc(1, sizeof (*ofl->ofl_wrap)); in ld_wrap_enter()
120 if ((wsnp = libld_calloc(1, sizeof (*wsnp) + wrapname_len)) == NULL) in ld_wrap_enter()
H A Dunwind.c341 if ((elfdata = libld_calloc(sizeof (Elf_Data), 1)) == NULL) in ld_unwind_make_hdr()
350 if ((shdr = libld_calloc(sizeof (Shdr), 1)) == NULL) in ld_unwind_make_hdr()
360 if ((isp = libld_calloc(1, sizeof (Is_desc))) == NULL) in ld_unwind_make_hdr()
444 if ((elfdata->d_buf = libld_calloc(size, 1)) == NULL) in ld_unwind_make_hdr()
H A Dgroups.c52 if ((avlt = libld_calloc(sizeof (avl_tree_t), 1)) == NULL) in gpavl_loaded()
76 if ((isdp = libld_calloc(sizeof (Isd_node), 1)) == NULL) in gpavl_loaded()
H A Dmap_support.c174 if ((ifl = libld_calloc(sizeof (Ifl_desc), 1)) == NULL) in ld_map_ifl()
178 if ((ifl->ifl_ehdr = libld_calloc(sizeof (Ehdr), 1)) == NULL) in ld_map_ifl()
477 if ((sym = libld_calloc(sizeof (Sym), 1)) == NULL) in ld_map_seg_size_symbol()
537 if ((sgp = libld_calloc(sizeof (Sg_desc), 1)) == NULL) in ld_map_seg_alloc()
733 if ((enp = libld_calloc(1, sizeof (*enp))) == NULL) in ld_map_seg_ent_add()
1105 if ((sym = libld_calloc(sizeof (Sym), 1)) == NULL) in ld_map_sym_enter()
H A Dplace.c257 if ((avlt = libld_calloc(sizeof (avl_tree_t), 1)) == NULL) in add_comdat()
298 if ((isdp = libld_calloc(sizeof (Isd_node), 1)) == NULL) in add_comdat()
1217 if ((osp = libld_calloc(sizeof (Os_desc), 1)) == NULL) in ld_place_section()
1219 if ((osp->os_shdr = libld_calloc(sizeof (Shdr), 1)) == NULL) in ld_place_section()
H A Dldmain.c159 if ((ofl = libld_calloc(1, sizeof (Ofl_desc))) == 0) in ld_main()
178 if ((ofl->ofl_sgsid = (char *)libld_calloc(MSG_SGS_ID_SIZE + in ld_main()
H A Dsections.c637 if ((data = libld_calloc(sizeof (Elf_Data), 1)) == NULL) in new_section()
647 if ((shdr = libld_calloc(sizeof (Shdr), 1)) == NULL) in new_section()
658 if ((isec = libld_calloc(1, sizeof (Is_desc))) == NULL) in new_section()
701 if ((data = libld_calloc(sizeof (Elf_Data), 1)) == NULL) in new_section_from_template()
721 if ((isec = libld_calloc(1, sizeof (Is_desc))) == NULL) in new_section_from_template()
843 if ((data->d_buf = libld_calloc(sizeof (Addr), entcount)) == NULL) in make_array()
2001 if ((data->d_buf = libld_calloc(size, 1)) == NULL) in make_hash()
2632 if ((data->d_buf = libld_calloc(size, 1)) == NULL) in ld_make_parexpn_data()
2670 if ((data->d_buf = libld_calloc(data->d_size, 1)) == NULL) in ld_make_sunwmove()
3461 if ((data->d_buf = libld_calloc(size, 1)) == NULL) in ld_make_text()
H A Dutil.c229 if ((sdf = libld_calloc(sizeof (Sdf_desc), 1)) == NULL) in sdf_add()
268 if ((new = libld_calloc(1, len)) == NULL) in add_string()
H A Dsyms.c353 if ((savl = libld_calloc(S_DROUND(sizeof (Sym_avlnode)) + in ld_sym_enter()
702 if ((sym = libld_calloc(sizeof (Sym), 1)) == NULL) in sym_add_spec()
2025 libld_calloc(sizeof (Sym_desc), local)) == NULL) in ld_sym_process()
2112 if ((sdp = libld_calloc( in ld_sym_process()
2507 libld_calloc(sizeof (Sym_desc), 1)) == NULL) in ld_sym_process()
3058 if ((ifl = libld_calloc(sizeof (Ifl_desc), 1)) == NULL) in ld_sym_add_u()
3062 if ((ifl->ifl_ehdr = libld_calloc(sizeof (Ehdr), 1)) == NULL) in ld_sym_add_u()
3073 if ((sym = libld_calloc(sizeof (Sym), 1)) == NULL) in ld_sym_add_u()
H A Dlibs.c218 adp->ad_aux = libld_calloc(sizeof (Ar_aux), number); in ld_ar_setup()
649 if ((amp = libld_calloc(sizeof (Ar_mem), in ar_extract_bysym()
H A Dversion.c61 if ((vdp = libld_calloc(sizeof (Ver_desc), 1)) == NULL) in ld_vers_desc()
284 if ((sym = libld_calloc(sizeof (Sym), 1)) == NULL) in ld_vers_check_defs()
490 if ((vip = libld_calloc(sizeof (Ver_index), (count + 1))) == NULL) in vers_index()
H A Dmachsym.sparc.c239 if ((ofl->ofl_regsyms = libld_calloc(sizeof (Sym_desc *), in ld_reg_enter_sparc()
H A Dfiles.c101 if ((ifl = libld_calloc(1, sizeof (Ifl_desc))) == NULL) in ifl_setup()
139 if ((ifl->ifl_isdesc = libld_calloc(ifl->ifl_shnum, in ifl_setup()
173 if ((isp = libld_calloc(sizeof (Is_desc), 1)) == NULL) in process_section()
617 if (((cgp = libld_calloc(sizeof (Cap_group), 1)) == NULL) || in get_cap_group()
708 if ((avlt = libld_calloc(sizeof (avl_tree_t), 1)) == NULL) in ld_cap_add_family()
730 if ((cav = libld_calloc(sizeof (Cap_avlnode), 1)) == NULL) in ld_cap_add_family()
1020 if (((cdp = libld_calloc(sizeof (Cap_desc), 1)) == NULL) || in process_cap()
1774 if (((difl = libld_calloc(1, in process_rel_dynamic()
H A Dsunwmove.c291 libld_calloc(sizeof (Sym), in ld_process_move()
H A Doutfile.c241 if ((data->d_buf = libld_calloc(size, 1)) == 0) in pad_outfile()
H A Dmap_core.c842 if ((node = libld_calloc(sizeof (*node), 1)) == NULL) in cexp_ident_add()
894 lms.lms_cexp_id = libld_calloc(sizeof (*lms.lms_cexp_id), 1); in cexp_ident_init()
H A Dupdate.c371 libld_calloc(ofl->ofl_gotcnt, sizeof (Gottable))) == NULL) in update_osym()
977 if ((sorted_syms = libld_calloc(ofl->ofl_globcnt + in update_osym()
H A Dargs.c1762 if (((ifl = libld_calloc(1, in parseopt_pass2()
/titanic_50/usr/src/cmd/sgs/include/
H A Dsgs.h213 #define libld_calloc(x, a) libld_malloc(((size_t)x) * ((size_t)a)) macro