/titanic_50/usr/src/cmd/sgs/liblddbg/common/ |
H A D | entry.c | 35 Dbg_ent_entry(Lm_list *lml, uchar_t osabi, Half mach, Ent_desc *enp) in Dbg_ent_entry() argument 46 if (enp->ec_name != NULL) in Dbg_ent_entry() 47 dbg_print(lml, MSG_ORIG(MSG_ECR_NAME), enp->ec_name); in Dbg_ent_entry() 50 conv_ent_flags(enp->ec_flags, &buf.ent_flags)); in Dbg_ent_entry() 53 (enp->ec_is_name ? enp->ec_is_name : MSG_INTL(MSG_STR_NULL)), in Dbg_ent_entry() 54 conv_sec_flags(osabi, mach, enp->ec_attrmask, 0, &buf.sec_flags)); in Dbg_ent_entry() 57 (enp->ec_segment->sg_name ? enp->ec_segment->sg_name : in Dbg_ent_entry() 59 conv_sec_flags(osabi, mach, enp->ec_attrbits, 0, &buf.sec_flags)); in Dbg_ent_entry() 61 dbg_print(lml, MSG_ORIG(MSG_ECR_NDX), EC_WORD(enp->ec_ordndx), in Dbg_ent_entry() 62 conv_sec_type(osabi, mach, enp->ec_type, 0, &buf.inv)); in Dbg_ent_entry() [all …]
|
H A D | segments.c | 75 Ent_desc *enp; in Dbg_seg_desc_entry() local 78 for (APLIST_TRAVERSE(sgp->sg_is_order, idx, enp)) in Dbg_seg_desc_entry() 80 enp->ec_name); in Dbg_seg_desc_entry()
|
H A D | map.c | 237 Dbg_map_ent(Lm_list *lml, Ent_desc *enp, Ofl_desc *ofl, Lineno lineno) in Dbg_map_ent() argument 245 ofl->ofl_dehdr->e_machine, enp); in Dbg_map_ent()
|
/titanic_50/usr/src/cmd/sgs/libld/common/ |
H A D | ldentry.c | 189 Ent_desc *enp; in ld_ent_check() local 199 for (APLIST_TRAVERSE(ofl->ofl_ents, ndx, enp)) { in ld_ent_check() 207 if (((enp->ec_segment->sg_flags & FLG_SG_IS_ORDER) == 0) || in ld_ent_check() 208 (enp->ec_flags & FLG_EC_USED) || (enp->ec_ordndx == 0)) in ld_ent_check() 212 if (alist_nitems(enp->ec_files) > 0) { in ld_ent_check() 214 enp->ec_segment->sg_name, enp->ec_is_name); in ld_ent_check() 217 enp->ec_segment->sg_name, enp->ec_is_name); in ld_ent_check()
|
H A D | map.c | 597 map_colon(Mapfile *mf, Ent_desc *enp) in map_colon() argument 612 enp->ec_flags |= FLG_EC_CATCHALL; in map_colon() 636 enp->ec_type = SHT_PROGBITS; in map_colon() 639 enp->ec_type = SHT_SYMTAB; in map_colon() 642 enp->ec_type = SHT_DYNSYM; in map_colon() 645 enp->ec_type = SHT_STRTAB; in map_colon() 649 enp->ec_type = ld_targ.t_m.m_rel_sht_type; in map_colon() 652 enp->ec_type = SHT_HASH; in map_colon() 655 enp->ec_type = SHT_SHLIB; in map_colon() 658 enp->ec_type = SHT_DYNAMIC; in map_colon() [all …]
|
H A D | place.c | 587 eval_ec_files(Place_path_info *path_info, Ent_desc *enp) in eval_ec_files() argument 594 for (ALIST_TRAVERSE(enp->ec_files, idx, edfp)) { in eval_ec_files() 735 Ent_desc *enp; in ld_place_section() local 828 for (APLIST_TRAVERSE(ofl->ofl_ents, idx1, enp)) { in ld_place_section() 831 if (enp->ec_segment->sg_flags & FLG_SG_DISABLED) in ld_place_section() 849 if (enp->ec_flags & FLG_EC_CATCHALL) { in ld_place_section() 850 sgp = enp->ec_segment; in ld_place_section() 854 if (enp->ec_type && (enp->ec_type != shdr->sh_type)) in ld_place_section() 856 if (enp->ec_attrmask && in ld_place_section() 858 (enp->ec_attrmask & enp->ec_attrbits) != in ld_place_section() [all …]
|
H A D | entry.c | 355 Ent_desc *enp; in ld_ent_setup() local 424 if ((enp = libld_malloc(sizeof (ent_desc))) == NULL) in ld_ent_setup() 426 (void) memcpy(enp, ent_desc, sizeof (ent_desc)); in ld_ent_setup() 428 enp++) { in ld_ent_setup() 432 if ((enp->ec_attrmask & SHF_AMD64_LARGE) && in ld_ent_setup() 436 if (aplist_append(&ofl->ofl_ents, enp, in ld_ent_setup() 446 enp->ec_segment = in ld_ent_setup() 447 &sgp[(enp->ec_segment - (Sg_desc *) &sg_desc)]; in ld_ent_setup()
|
H A D | map_v2.c | 1479 Ent_desc *enp = uvalue; in at_seg_assign_file_basename() local 1487 if (!ld_map_seg_ent_files(mf, enp, TYP_ECF_BASENAME, tkv.tkv_str)) in at_seg_assign_file_basename() 1516 Ent_desc *enp = uvalue; in at_seg_assign_file_objname() local 1524 if (!ld_map_seg_ent_files(mf, enp, TYP_ECF_OBJNAME, tkv.tkv_str)) in at_seg_assign_file_objname() 1552 Ent_desc *enp = uvalue; in at_seg_assign_file_path() local 1560 if (!ld_map_seg_ent_files(mf, enp, TYP_ECF_PATH, tkv.tkv_str)) in at_seg_assign_file_path() 1599 Ent_desc *enp = uvalue; in at_seg_assign_flags() local 1628 enp->ec_attrmask |= flag->value; in at_seg_assign_flags() 1630 enp->ec_attrbits |= flag->value; in at_seg_assign_flags() 1693 Ent_desc *enp = uvalue; in at_seg_assign_is_name() local [all …]
|
H A D | map_support.c | 722 Ent_desc *enp; in ld_map_seg_ent_add() local 733 if ((enp = libld_calloc(1, sizeof (*enp))) == NULL) in ld_map_seg_ent_add() 735 enp->ec_name = name; in ld_map_seg_ent_add() 736 enp->ec_segment = sgp; /* Tie criteria to segment */ in ld_map_seg_ent_add() 746 if (aplist_insert(&ofl->ofl_ents, enp, AL_CNT_OFL_ENTRANCE, in ld_map_seg_ent_add() 756 avl_insert(&ofl->ofl_ents_avl, enp, where); in ld_map_seg_ent_add() 758 return (enp); in ld_map_seg_ent_add() 762 ld_map_seg_ent_files(Mapfile *mf, Ent_desc *enp, Word ecf_type, const char *str) in ld_map_seg_ent_files() argument 793 if (alist_append(&enp->ec_files, &edf, sizeof (edf), in ld_map_seg_ent_files()
|
H A D | map_core.c | 2614 Ent_desc *enp; in ld_map_post_process() local 2714 for (APLIST_TRAVERSE(ofl->ofl_ents, idx2, enp)) in ld_map_post_process() 2715 if ((enp->ec_segment == sgp) && in ld_map_post_process() 2716 (enp->ec_is_name != NULL) && in ld_map_post_process() 2717 ((enp->ec_flags & FLG_EC_BUILTIN) == 0)) in ld_map_post_process() 2718 enp->ec_ordndx = ++index; in ld_map_post_process() 2734 for (APLIST_TRAVERSE(sgp->sg_is_order, idx2, enp)) { in ld_map_post_process() 2735 enp->ec_ordndx = ++index; in ld_map_post_process() 2736 enp->ec_segment->sg_flags |= FLG_SG_IS_ORDER; in ld_map_post_process()
|
/titanic_50/usr/src/lib/libdtrace/common/ |
H A D | dt_pragma.c | 315 dt_node_t *enp; in dt_pragma_error() local 319 for (enp = dnp; enp != NULL; enp = enp->dn_list) { in dt_pragma_error() 320 if (enp->dn_kind == DT_NODE_IDENT || in dt_pragma_error() 321 enp->dn_kind == DT_NODE_STRING) in dt_pragma_error() 322 n += strlen(enp->dn_string) + 1; in dt_pragma_error() 328 for (enp = dnp; enp != NULL; enp = enp->dn_list) { in dt_pragma_error() 329 if (enp->dn_kind == DT_NODE_IDENT || in dt_pragma_error() 330 enp->dn_kind == DT_NODE_STRING) { in dt_pragma_error() 331 (void) strcat(s, enp->dn_string); in dt_pragma_error()
|
H A D | dt_xlator.c | 52 dt_node_t *enp, *mnp; in dt_xlator_create_member() local 54 if ((enp = dt_node_xalloc(dtp, DT_NODE_XLATOR)) == NULL) in dt_xlator_create_member() 57 enp->dn_link = dxp->dx_nodes; in dt_xlator_create_member() 58 dxp->dx_nodes = enp; in dt_xlator_create_member() 71 enp->dn_op = DT_TOK_XLATE; in dt_xlator_create_member() 72 enp->dn_xlator = dxp; in dt_xlator_create_member() 73 enp->dn_xmember = mnp; in dt_xlator_create_member() 74 dt_node_type_assign(enp, dxp->dx_dst_ctfp, type, B_FALSE); in dt_xlator_create_member() 81 assert(enp->dn_link->dn_kind == DT_NODE_MEMBER); in dt_xlator_create_member() 82 enp->dn_link->dn_list = mnp; in dt_xlator_create_member() [all …]
|
/titanic_50/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_mark.c | 249 mark_cb(void *arg, fst_node_t *pnp, fst_node_t *enp) in mark_cb() argument 302 if (!enp->tn_path) { in mark_cb() 307 efhp = enp->tn_fh; in mark_cb() 308 estp = enp->tn_st; in mark_cb() 330 pnp->tn_path, enp->tn_path); in mark_cb() 342 pnp->tn_path, enp->tn_path); in mark_cb() 353 pnp->tn_path, enp->tn_path); in mark_cb() 373 pnp->tn_path, enp->tn_path); in mark_cb() 382 pnp->tn_path, enp->tn_path); in mark_cb() 735 marklbrv3_cb(void *arg, fst_node_t *pnp, fst_node_t *enp) in marklbrv3_cb() argument [all …]
|
H A D | ndmpd_tar3.c | 1646 fst_node_t *enp) in backup_dirv3() argument 1655 if (!bpp || !pnp || !enp) { in backup_dirv3() 1718 fst_node_t *enp) in backup_filev3() argument 1729 if (!bpp || !pnp || !enp) { in backup_filev3() 1758 ent = enp->tn_path ? enp->tn_path : ""; in backup_filev3() 1848 fst_node_t *enp, int *errp) in shouldskip() argument 1854 if (!bpp || !pnp || !enp || !errp) { in shouldskip() 1859 if (!enp->tn_path) { in shouldskip() 1863 ent = enp->tn_path; in shouldskip() 1864 estp = enp->tn_st; in shouldskip() [all …]
|
/titanic_50/usr/src/cmd/fm/eversholt/common/ |
H A D | tree.h | 307 struct node *enp, struct node *np); 308 struct node *tree_event2np_lut_lookup(struct lut *root, struct node *enp); 310 struct node *enp); 311 struct node *tree_decl(enum nodetype t, struct node *enp, struct node *nvpairs,
|
H A D | tree.c | 997 tree_event2np_lut_add(struct lut *root, struct node *enp, struct node *np) in tree_event2np_lut_add() argument 999 return (lut_add(root, (void *)enp, (void *)np, (lut_cmp)tree_eventcmp)); in tree_event2np_lut_add() 1003 tree_event2np_lut_lookup(struct lut *root, struct node *enp) in tree_event2np_lut_lookup() argument 1006 lut_lookup(root, (void *)enp, (lut_cmp)tree_eventcmp)); in tree_event2np_lut_lookup() 1010 tree_event2np_lut_lookup_event(struct lut *root, struct node *enp) in tree_event2np_lut_lookup_event() argument 1013 lut_lookup_lhs(root, (void *)enp, (lut_cmp)tree_eventcmp)); in tree_event2np_lut_lookup_event()
|