/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | wrap.c | 101 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 D | unwind.c | 341 if ((elfdata = libld_calloc(1, sizeof (Elf_Data))) == NULL) in ld_unwind_make_hdr() 350 if ((shdr = libld_calloc(1, sizeof (Shdr))) == 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 D | groups.c | 52 if ((avlt = libld_calloc(1, sizeof (avl_tree_t))) == NULL) in gpavl_loaded() 76 if ((isdp = libld_calloc(1, sizeof (Isd_node))) == NULL) in gpavl_loaded() 287 if ((new_data = libld_calloc(sizeof (Word), in ld_group_process()
|
H A D | map_support.c | 173 if ((ifl = libld_calloc(1, sizeof (Ifl_desc))) == NULL) in ld_map_ifl() 177 if ((ifl->ifl_ehdr = libld_calloc(1, sizeof (Ehdr))) == NULL) in ld_map_ifl() 477 if ((sym = libld_calloc(1, sizeof (Sym))) == NULL) in ld_map_seg_size_symbol() 537 if ((sgp = libld_calloc(1, sizeof (Sg_desc))) == 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(1, sizeof (Sym))) == NULL) in ld_map_sym_enter() 1139 if ((m = libld_calloc(1, sizeof (Ass_desc))) == NULL) in ld_map_sym_enter()
|
H A D | place.c | 258 if ((avlt = libld_calloc(1, sizeof (avl_tree_t))) == NULL) in add_comdat() 299 if ((isdp = libld_calloc(1, sizeof (Isd_node))) == NULL) in add_comdat() 767 hash = libld_calloc(1, sizeof (os_desc_hash_t)); in os_desc_hash() 775 libld_calloc(new_size, sizeof (void *))) == NULL) { in os_desc_hash() 1347 if ((osp = libld_calloc(1, sizeof (Os_desc))) == NULL) in ld_place_section() 1349 if ((osp->os_shdr = libld_calloc(1, sizeof (Shdr))) == NULL) in ld_place_section()
|
H A D | ldmain.c | 159 if ((ofl = libld_calloc(1, sizeof (Ofl_desc))) == NULL) in ld_main() 178 if ((ofl->ofl_sgsid = libld_calloc(MSG_SGS_ID_SIZE + in ld_main()
|
H A D | util.c | 96 if ((sdf = libld_calloc(1, sizeof (Sdf_desc))) == NULL) in sdf_add() 135 if ((new = libld_calloc(1, len)) == NULL) in add_string()
|
H A D | sections.c | 640 if ((data = libld_calloc(1, sizeof (Elf_Data))) == NULL) in new_section() 650 if ((shdr = libld_calloc(1, sizeof (Shdr))) == NULL) in new_section() 661 if ((isec = libld_calloc(1, sizeof (Is_desc))) == NULL) in new_section() 704 if ((data = libld_calloc(1, sizeof (Elf_Data))) == NULL) in new_section_from_template() 724 if ((isec = libld_calloc(1, sizeof (Is_desc))) == NULL) in new_section_from_template() 846 if ((data->d_buf = libld_calloc(entcount, sizeof (Addr))) == NULL) in make_array() 2030 if ((data->d_buf = libld_calloc(size, 1)) == NULL) in make_hash() 2661 if ((data->d_buf = libld_calloc(size, 1)) == NULL) in ld_make_parexpn_data() 2699 if ((data->d_buf = libld_calloc(data->d_size, 1)) == NULL) in ld_make_sunwmove() 3525 if ((data->d_buf = libld_calloc(size, 1)) == NULL) in ld_make_text()
|
H A D | syms.c | 391 if ((savl = libld_calloc(1, S_DROUND(sizeof (Sym_avlnode)) + in ld_sym_enter() 741 if ((sym = libld_calloc(1, sizeof (Sym))) == NULL) in sym_add_spec() 2160 libld_calloc(local, sizeof (Sym_desc))) == NULL) in ld_sym_process() 2247 if ((sdp = libld_calloc( in ld_sym_process() 2690 libld_calloc(1, sizeof (Sym_desc))) == NULL) in ld_sym_process() 3240 if ((ifl = libld_calloc(1, sizeof (Ifl_desc))) == NULL) in ld_sym_add_u() 3244 if ((ifl->ifl_ehdr = libld_calloc(1, sizeof (Ehdr))) == NULL) in ld_sym_add_u() 3255 if ((sym = libld_calloc(1, sizeof (Sym))) == NULL) in ld_sym_add_u()
|
H A D | libs.c | 219 adp->ad_aux = libld_calloc(number, sizeof (Ar_aux)); in ld_ar_setup() 650 if ((amp = libld_calloc(1, in ar_extract_bysym()
|
H A D | version.c | 61 if ((vdp = libld_calloc(1, sizeof (Ver_desc))) == NULL) in ld_vers_desc() 284 if ((sym = libld_calloc(1, sizeof (Sym))) == NULL) in ld_vers_check_defs() 490 if ((vip = libld_calloc((count + 1), sizeof (Ver_index))) == NULL) in vers_index()
|
H A D | machsym.sparc.c | 239 if ((ofl->ofl_regsyms = libld_calloc(ofl->ofl_regsymsno, in ld_reg_enter_sparc()
|
H A D | files.c | 102 if ((ifl = libld_calloc(1, sizeof (Ifl_desc))) == NULL) in ifl_setup() 140 if ((ifl->ifl_isdesc = libld_calloc(ifl->ifl_shnum, in ifl_setup() 192 if ((isp = libld_calloc(1, sizeof (Is_desc))) == NULL) in process_section() 648 if (((cgp = libld_calloc(1, sizeof (Cap_group))) == NULL) || in get_cap_group() 739 if ((avlt = libld_calloc(1, sizeof (avl_tree_t))) == NULL) in ld_cap_add_family() 761 if ((cav = libld_calloc(1, sizeof (Cap_avlnode))) == NULL) in ld_cap_add_family() 1052 if (((cdp = libld_calloc(1, sizeof (Cap_desc))) == NULL) || in process_cap() 1815 if (((difl = libld_calloc(1, in process_rel_dynamic()
|
H A D | sunwmove.c | 291 libld_calloc(1, in ld_process_move()
|
H A D | outfile.c | 241 if ((data->d_buf = libld_calloc(1, size)) == NULL) in pad_outfile()
|
H A D | map_core.c | 844 if ((node = libld_calloc(1, sizeof (*node))) == NULL) in cexp_ident_add() 896 lms.lms_cexp_id = libld_calloc(1, sizeof (*lms.lms_cexp_id)); in cexp_ident_init()
|
H A D | _libld.h | 664 #define libld_calloc(n, s) calloc(n, s) macro
|
H A D | update.c | 377 libld_calloc(ofl->ofl_gotcnt, sizeof (Gottable))) == NULL) in update_osym() 985 if ((sorted_syms = libld_calloc(ofl->ofl_globcnt + in update_osym() 3718 Aav_node *av = libld_calloc(1, sizeof (Aav_node)); in check_mapfile_assertions()
|
H A D | args.c | 1869 if (((ifl = libld_calloc(1, in parseopt_pass2()
|