/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_query.c | 41 static int _dwarf_die_attr_unsigned_constant(Dwarf_Die die, 108 CU context of a DIE is known. 111 dwarf_get_die_address_size(Dwarf_Die die, in dwarf_get_die_address_size() argument 115 CHECK_DIE(die, DW_DLV_ERROR); in dwarf_get_die_address_size() 116 address_size = die->di_cu_context->cc_address_size; in dwarf_get_die_address_size() 122 dwarf_dieoffset(Dwarf_Die die, in dwarf_dieoffset() argument 128 CHECK_DIE(die, DW_DLV_ERROR); in dwarf_dieoffset() 129 dbg = die->di_cu_context->cc_dbg; in dwarf_dieoffset() 130 dataptr = die->di_is_info? dbg->de_debug_info.dss_data: in dwarf_dieoffset() 133 *ret_offset = (die->di_debug_ptr - dataptr); in dwarf_dieoffset() [all …]
|
H A D | pro_die.c | 65 /* This function creates a new die. 66 tag: tag of the new die to be created 67 parent,child,left,right: specify neighbors of the new die. Only 127 /* This function links up a die to specified neighbors 128 parent,child,left,right: specify neighbors of the new die. Only 170 die we want to attach new_die to. */ in dwarf_die_link_a() 174 /* Attach to the new die to end of the sibling list. */ in dwarf_die_link_a() 198 insert the new die in the list. */ in dwarf_die_link_a() 214 /* There is already a left sibling of the right die, in dwarf_die_link_a() 215 insert the new die in the list. */ in dwarf_die_link_a() [all …]
|
H A D | dwarf_die_deliv.c | 54 Dwarf_Die die, 69 dwarf_get_die_infotypes_flag(Dwarf_Die die) in dwarf_get_die_infotypes_flag() argument 71 return die->di_is_info; in dwarf_get_die_infotypes_flag() 154 dwarf_get_debugfission_for_die(Dwarf_Die die, in dwarf_get_debugfission_for_die() argument 162 CHECK_DIE(die, DW_DLV_ERROR); in dwarf_get_debugfission_for_die() 163 context = die->di_cu_context; in dwarf_get_debugfission_for_die() 223 _dwarf_get_fission_addition_die(Dwarf_Die die, int dw_sect_index, in _dwarf_get_fission_addition_die() argument 228 /* We do not yet know the DIE hash, so we cannot use it in _dwarf_get_fission_addition_die() 234 CHECK_DIE(die, DW_DLV_ERROR); in _dwarf_get_fission_addition_die() 235 context = die->di_cu_context; in _dwarf_get_fission_addition_die() [all …]
|
H A D | pro_pubnames.c | 50 Dwarf_P_Die die, in dwarf_add_pubname() argument 55 res = _dwarf_add_simple_name_entry(dbg, die, pubname_name, in dwarf_add_pubname() 65 Dwarf_P_Die die, in dwarf_add_pubname_a() argument 70 res = _dwarf_add_simple_name_entry(dbg, die, in dwarf_add_pubname_a() 80 Dwarf_P_Die die, in dwarf_add_pubtype() argument 85 res = _dwarf_add_simple_name_entry(dbg, die, pubtype_name, in dwarf_add_pubtype() 94 Dwarf_P_Die die, in dwarf_add_pubtype_a() argument 100 res = _dwarf_add_simple_name_entry(dbg, die, pubtype_name, in dwarf_add_pubtype_a()
|
H A D | dwarf_global.c | 44 some DIE offsets wrongly 332 /* Read initial offset (of DIE within CU) of a pubname, final in _dwarf_internal_get_pubnames_like_data() 346 die_offset_in_cu, "offset of die in cu"); in _dwarf_internal_get_pubnames_like_data() 354 /* Loop thru pairs. DIE off with CU followed by string. */ in _dwarf_internal_get_pubnames_like_data() 464 die_offset_in_cu, "offset of next die in cu"); in _dwarf_internal_get_pubnames_like_data() 542 global offset of the DIE for this entry. 570 the offset of the compilation unit die, and 571 other cu-local die offsets were faked so adding this to 595 CU DIE. Now correctly returns the header offset. */ in dwarf_global_cu_offset() 616 "No room for a DIE there... " in build_off_end_msg() [all …]
|
H A D | dwarf_print_lines.c | 461 _dwarf_internal_printlines(Dwarf_Die die, in _dwarf_internal_printlines() argument 472 die. */ in _dwarf_internal_printlines() 475 /* Pointer to DW_AT_comp_dir attribute in die. */ in _dwarf_internal_printlines() 500 /* The Dwarf_Debug this die belongs to. */ in _dwarf_internal_printlines() 517 CHECK_DIE(die, DW_DLV_ERROR); in _dwarf_internal_printlines() 518 cu_context = die->di_cu_context; in _dwarf_internal_printlines() 529 address_size = _dwarf_get_address_size(dbg, die); in _dwarf_internal_printlines() 530 resattr = dwarf_attr(die, DW_AT_stmt_list, &stmt_list_attr, error); in _dwarf_internal_printlines() 562 int resfis = _dwarf_get_fission_addition_die(die, DW_SECT_LINE, in _dwarf_internal_printlines() 574 /* If die has DW_AT_comp_dir attribute, get the string that names in _dwarf_internal_printlines() [all …]
|
/illumos-gate/usr/src/cmd/fm/scripts/ |
H A D | dictck.pl | 52 die "$Myname: WARNING: @_"; 106 die "dictname \"$name\" not something.dict as expected\n"; 109 open(F, $name) or die "$name: $!\n"; 116 die "$name:$line: first non-comment line must be FMDICT line\n" 127 die "$name:$line: property \"$lhs\" incomplete\n" 145 die "$name: no version property in header\n" 147 die "$name: no name property in header\n" 149 die "$name: no maxkey property in header\n" 153 die "$name:$line: unexpected version: \"$props{'version'}\"\n" 157 die "$name:$line: name \"$props{'name'}\" doesn't match \"$dname\" from filename\n" [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 376 static void die(const char *, ...) __NORETURN; 433 die("Could not open handle to library - %s", in main() 480 die("usage: %s", use); in do_create_ip_common() 482 die(NULL); in do_create_ip_common() 486 die("Could not create %s : %s", in do_create_ip_common() 515 die("insufficient memory"); in get_ipmp_members() 526 die("insufficient memory"); in get_ipmp_members() 530 die("Incorrect length of interface " in get_ipmp_members() 542 die("Usage: %s", use); in get_ipmp_members() 579 die("Could not create IPMP handle: %s", in do_create_ipmp() [all …]
|
/illumos-gate/usr/src/cmd/acctadm/ |
H A D | main.c | 72 die(gettext("seteuid()/setegid() failed")); in setup_privs() 79 die(gettext("cannot setup privileges")); in setup_privs() 91 die(gettext("cannot setup privileges")); in setup_privs() 98 die(gettext("cannot setup privileges")); in setup_privs() 102 die(gettext("cannot setup privileges")); in setup_privs() 185 die(gettext("setreuid()/setregid() failed")); in main() 266 die(gettext("failed to open dladm handle\n")); in main() 279 die(gettext("-s option should only be invoked by smf(7)\n")); in main() 286 die(gettext("%s accounting cannot be configured in " in main() 291 die(gettext("cannot connect to repository for %s\n"), fmri); in main() [all …]
|
/illumos-gate/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 261 die(gettext(ERR_CONF_LOAD), conf_file, 274 die(gettext(ERR_CONF_LOAD), conf_file, 667 die(gettext(ERR_SET_TERM), get_errstr()); 711 die(gettext(ERR_ALLOC_ELEMENT), gettext(CONFIGURATION), 744 die(gettext(ERR_VALIDATION_FAILED), 753 die(gettext(ERR_CONFIG_SAVE_FAILED), 760 die(gettext(ERR_CMDPARSE_FAILED)); 783 die(gettext(ERR_GET_ELEMENT_DETAILS), in parser_conf_info() 790 die(gettext(ERR_GET_ELEMENT_DETAILS), in parser_conf_info() 795 die(gettext(ERR_GET_ELEMENT_DETAILS), in parser_conf_info() [all …]
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_dwarf.c | 42 * calls a DIE (Debugging Information Entry). The set of entries that we care 43 * about have type information stored in a series of attributes. Each DIE also 46 * A given DIE may itself have children. For example, a DIE that represents a 47 * structure has children which represent members. Whenever we encounter a DIE 56 * DWARF's die offset, which is relative to the given compilation unit, to a 114 * variables that are present in this die. During pass 1 we added entries to a 136 * 4) Have the workq process each die with ctf_dwarf_convert_one. This itself 255 * The ctf_cu_t represents a single top-level DWARF die unit. While generally, 256 * the typical object file has only a single die, if we're asked to convert 262 char *cu_name; /* basename of the DIE */ [all …]
|
/illumos-gate/usr/src/common/amdzen/ |
H A D | zen_fabric_utils.c | 35 * Validate whether the parts of a fabric ID (e.g. the socket, die, and 40 const uint32_t die, const uint32_t comp) in zen_fabric_id_valid_parts() argument 47 if (((die << decomp->dfd_die_shift) & ~decomp->dfd_die_mask) != 0) { in zen_fabric_id_valid_parts() 54 node = die << decomp->dfd_die_shift; in zen_fabric_id_valid_parts() 66 * information has the die and socket information relative to the node ID. 83 * Compose a fabric ID from its constituent parts: the socket, die, and fabric. 87 const uint32_t die, const uint32_t comp, uint32_t *fabidp) in zen_fabric_id_compose() argument 91 ASSERT(zen_fabric_id_valid_parts(decomp, sock, die, comp)); in zen_fabric_id_compose() 93 node = die << decomp->dfd_die_shift; in zen_fabric_id_compose() 102 const uint32_t die, const uint32_t ccd, const uint32_t ccx, in zen_apic_id_valid_parts() argument [all …]
|
/illumos-gate/usr/src/cmd/pools/pooladm/ |
H A D | pooladm.c | 78 die(gettext(ERR_OPEN_DYNAMIC), get_errstr()); in config_print() 84 die(gettext(ERR_GET_ELEMENT_DETAILS), in config_print() 88 die(gettext(ERR_GET_ELEMENT_DETAILS), gettext(CONFIGURATION), in config_print() 101 die(gettext(ERR_OPEN_DYNAMIC), get_errstr()); in config_destroy() 103 die(gettext(ERR_REMOVE_DYNAMIC), get_errstr()); in config_destroy() 111 die(gettext(ERR_OPEN_STATIC), static_conf_name, get_errstr()); in config_commit() 114 die(gettext(ERR_VALIDATE_RUNTIME), static_conf_name); in config_commit() 117 die(gettext(ERR_COMMIT_DYNAMIC), static_conf_name, in config_commit() 124 die(gettext(ERR_COMMIT_STATIC), in config_commit() 199 die(gettext(ERR_PERMISSIONS)); in main() [all …]
|
/illumos-gate/usr/src/cmd/lofiadm/ |
H A D | main.c | 182 die(gettext("could not find %s. " in gzip_compress() 189 die(gettext("could not find the correct %s. " in gzip_compress() 403 die(gettext("%s was not created"), blkpath); in wait_until_dev_complete() 406 die(gettext("%s was not created"), charpath); in wait_until_dev_complete() 426 die(gettext("could not map file %s"), filename); in lofi_map_file() 454 die(gettext("key too large")); in add_mapping() 491 die(gettext("malformed device name %s\n"), devicename); in add_mapping() 500 die(gettext("could not map file %s to %s"), filename, in add_mapping() 525 die(gettext("could not unmap file %s"), filename); in delete_mapping() 533 die(gettext("malformed device name %s\n"), devicename); in delete_mapping() [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/zen_umc/ |
H A D | zen_umc_fabric_ids.c | 95 .uft_desc = "Naples Die (0)", 104 .uft_desc = "Naples Die (1)", 135 .uft_desc = "Naples CPU Invalid Die", 173 .uft_desc = "Naples APU Invalid Die (0)", 181 .uft_desc = "Naples APU Invalid Die (1)", 284 .uft_desc = "Milan Invalid Die", 320 .uft_desc = "Contig Multi-Die Roundtrip (0)", 329 .uft_desc = "Contig Multi-Die Roundtrip (1)", 338 .uft_desc = "Contig Multi-Die Roundtrip (2)", 347 .uft_desc = "Contig Multi-Die Roundtrip (3)", [all …]
|
H A D | zen_umc_test.c | 111 uint32_t fab, sock, die, comp; in zen_umc_test_fabric_one() local 145 zen_fabric_id_decompose(test->uft_decomp, fab, &sock, &die, in zen_umc_test_fabric_one() 154 if (die != test->uft_die_id) { in zen_umc_test_fabric_one() 155 (void) printf("\tRound-trip die mismatch\n" in zen_umc_test_fabric_one() 157 test->uft_die_id, die); in zen_umc_test_fabric_one() 173 uint32_t fab, sock, die, comp; in zen_umc_test_fabric_one() local 195 &sock, &die, &comp); in zen_umc_test_fabric_one() 203 if (die != test->uft_die_id) { in zen_umc_test_fabric_one() 206 test->uft_die_id, die); in zen_umc_test_fabric_one() 222 zen_fabric_id_compose(test->uft_decomp, sock, die, comp, &fab); in zen_umc_test_fabric_one() [all …]
|
/illumos-gate/usr/src/cmd/flowadm/ |
H A D | flowadm.c | 79 static void die(const char *, ...); 355 die("link name too long"); in do_add_flow() 359 die("invalid link '%s'", devname); in do_add_flow() 366 die("attribute list too long '%s'", attrstr); in do_add_flow() 372 die("property list too long '%s'", propstr); in do_add_flow() 379 die("link is required"); in do_add_flow() 386 die("flow name is required"); in do_add_flow() 390 die("flow name too long"); in do_add_flow() 396 die("invalid flow attribute specified"); in do_add_flow() 399 die("invalid flow property specified"); in do_add_flow() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/ustack/ |
H A D | tst.spin.ksh | 98 die "output problem\n" unless /^TOTAL (\d+)/; 100 die "too few samples (\$count)\n" unless \$count >= 1000; 107 die "expected START at \$.\n" unless /^START/; 112 die "expected END at \$.\n" unless /\`baz\+/; 116 die "expected END at \$.\n" unless /\`bar\+/; 120 die "expected END at \$.\n" unless /\`foo\+/; 124 die "expected END at \$.\n" unless /\`main\+/; 128 die "expected END at \$.\n" unless /^END\$/;
|
/illumos-gate/usr/src/cmd/consadm/ |
H A D | consadm.c | 140 die(gettext("must be root to run this program\n")); in main() 302 die(gettext("%s is missing or not a valid device\n"), SYSMSG); in setaux() 310 die(gettext("%s is already the default console\n"), in setaux() 313 die(gettext("cannot get table entry")); in setaux() 330 die(gettext("%s is missing or not a valid device\n"), SYSMSG); in unsetaux() 334 die(gettext("cannot unset the default console\n")); in unsetaux() 349 die(gettext("currently busy, try again later.\n")); in getlock() 351 die(gettext("cannot open %s"), CONSADMLOCK); in getlock() 356 die(gettext("fcntl operation failed")); in getlock() 382 die(gettext("could not create new %s file"), CONSCONFIG); in addtolist() [all …]
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 271 static void die(const char *, ...) __PRINTFLIKE(1); 1857 die("show-usage requires a file"); in do_show_usage() 1867 die("invalid link: '%s'", resource); in do_show_usage() 1872 die("incompatible -d and -F options"); in do_show_usage() 1875 die("Format specifier %s not supported", formatspec_str); in do_show_usage() 1890 ofmt_check(oferr, state.us_parsable, ofmt, die, warn); in do_show_usage() 1953 die("too many ports specified"); in do_create_aggr() 1963 die("invalid policy '%s'", optarg); in do_create_aggr() 1972 die("invalid MAC address '%s'", optarg); in do_create_aggr() 1981 die("too many ports specified"); in do_create_aggr() [all …]
|
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_list.c | 77 die("out of memory"); in initialize_pools() 96 die("out of memory"); in dis_namelist_create() 147 die("out of memory"); in walk_sections() 192 die("out of memory"); in dis_namelist_resolve_sections() 205 die("out of memory"); in dis_namelist_resolve_sections() 230 die("out of memory"); in walk_functions() 266 die("out of memory"); in dis_namelist_resolve_functions() 278 die("out of memory"); in dis_namelist_resolve_functions() 307 die("out of memory"); in free_list() 331 die("out of memory"); in dis_scnlist_destroy() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | if_mpadm.c | 48 static void die(const char *, ...); 114 die("cannot create sockets"); in main() 117 die("cannot create ipmp handle: %s\n", ipmp_errmsg(retval)); in main() 140 die("cannot get interface flags on %s", ifname); in is_offline() 154 die("interface %s is already offline\n", ifname); in do_offline() 157 die("cannot offline %s: %s\n", ifname, mpadm_errmsg(retval)); in do_offline() 163 die("cannot get addresses on %s", ifname); in do_offline() 185 die("interface %s is not offline\n", ifname); in undo_offline() 191 die("cannot get addresses for %s", ifname); in undo_offline() 207 die("cannot undo-offline %s: %s\n", ifname, in undo_offline() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/vars/ |
H A D | tst.nullassign.d | 31 die = "Die"; 38 phrase = strjoin(die, tap); 39 phrase = strjoin(phrase, die); 40 expected = "Die, SystemTap, Die";
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/mib/ |
H A D | tst.tcp.ksh | 86 or die "socket() failed: \$!"; 89 or die "setsockopt() failed: \$!"; 92 bind(S, \$addr) or die "bind() failed: \$!"; 93 listen(S, SOMAXCONN) or die "listen() failed: \$!"; 115 or die "socket() failed: \$!"; 117 connect(S, \$peer) or die "connect failed: \$!"; 120 send(S, "There!", 0) or die "send() failed: \$!";
|
/illumos-gate/usr/src/cmd/sendmail/util/ |
H A D | etrn.pl | 55 die $usage unless $server; 63 die "open /etc/mail/sendmail.cf: $ERRNO"; 79 die "$cwfile is not readable" unless $optional; 105 die "open $cwfile: $ERRNO"; 122 (!defined($name)) && die "gethostbyname failed, unknown host $server"; 129 || die "socket: $ERRNO"; 146 die "could not connect to localhost: $save_errno\n"; 153 (!defined($name)) && die "gethostbyname failed, unknown host $server"; 158 || die "socket: $ERRNO"; 162 die "cannot connect to $server: $ERRNO\n";
|