Home
last modified time | relevance | path

Searched refs:die (Results 1 – 25 of 180) sorted by relevance

12345678

/titanic_50/usr/src/lib/libdwarf/common/
H A Ddwarf_query.c78 dwarf_get_die_address_size(Dwarf_Die die, in dwarf_get_die_address_size() argument
82 CHECK_DIE(die, DW_DLV_ERROR); in dwarf_get_die_address_size()
83 address_size = die->di_cu_context->cc_address_size; in dwarf_get_die_address_size()
89 dwarf_dieoffset(Dwarf_Die die, in dwarf_dieoffset() argument
92 CHECK_DIE(die, DW_DLV_ERROR); in dwarf_dieoffset()
94 *ret_offset = (die->di_debug_info_ptr - in dwarf_dieoffset()
95 die->di_cu_context->cc_dbg->de_debug_info.dss_data); in dwarf_dieoffset()
107 dwarf_die_CU_offset(Dwarf_Die die, in dwarf_die_CU_offset() argument
112 CHECK_DIE(die, DW_DLV_ERROR); in dwarf_die_CU_offset()
113 cu_context = die->di_cu_context; in dwarf_die_CU_offset()
[all …]
H A Dpro_die.c51 void _dwarf_pro_add_at_to_die(Dwarf_P_Die die, Dwarf_P_Attribute attr);
179 Dwarf_P_Die die, in dwarf_add_die_marker() argument
183 if (die == NULL) { in dwarf_add_die_marker()
186 die->di_marker = marker; in dwarf_add_die_marker()
193 Dwarf_P_Die die, in dwarf_get_die_marker() argument
197 if (die == NULL) { in dwarf_get_die_marker()
200 *marker = die->di_marker; in dwarf_get_die_marker()
264 dwarf_add_AT_name(Dwarf_P_Die die, char *name, Dwarf_Error * error) in dwarf_add_AT_name() argument
268 if (die == NULL) { in dwarf_add_AT_name()
273 _dwarf_p_get_alloc(die->di_dbg,sizeof(struct Dwarf_P_Attribute_s)); in dwarf_add_AT_name()
[all …]
H A Ddwarf_die_deliv.c542 Dwarf_Die die, in dwarf_siblingof() argument
560 if (die == NULL) { in dwarf_siblingof()
584 CHECK_DIE(die, DW_DLV_ERROR); in dwarf_siblingof()
586 die_info_ptr = die->di_debug_info_ptr; in dwarf_siblingof()
591 die->di_cu_context->cc_debug_info_offset; in dwarf_siblingof()
592 die_info_end = cu_info_start + die->di_cu_context->cc_length + in dwarf_siblingof()
593 die->di_cu_context->cc_length_size + in dwarf_siblingof()
594 die->di_cu_context->cc_extension_size; in dwarf_siblingof()
602 die->di_cu_context, in dwarf_siblingof()
637 if (die != NULL && die_info_ptr >= die_info_end) { in dwarf_siblingof()
[all …]
H A Ddwarf_print_lines.c93 _dwarf_internal_printlines(Dwarf_Die die, Dwarf_Error * error, in _dwarf_internal_printlines() argument
179 CHECK_DIE(die, DW_DLV_ERROR); in _dwarf_internal_printlines()
180 dbg = die->di_cu_context->cc_dbg; in _dwarf_internal_printlines()
187 resattr = dwarf_attr(die, DW_AT_stmt_list, &stmt_list_attr, error); in _dwarf_internal_printlines()
221 resattr = dwarf_attr(die, DW_AT_comp_dir, &comp_dir_attr, error); in _dwarf_internal_printlines()
601 die->di_cu_context->cc_address_size); in _dwarf_internal_printlines()
603 line_ptr += die->di_cu_context->cc_address_size; in _dwarf_internal_printlines()
697 dwarf_print_lines(Dwarf_Die die, Dwarf_Error * error,int *error_count) in dwarf_print_lines() argument
700 int res = _dwarf_internal_printlines(die, error, in dwarf_print_lines()
709 _dwarf_print_lines(Dwarf_Die die, Dwarf_Error * error) in _dwarf_print_lines() argument
[all …]
/titanic_50/usr/src/cmd/acctadm/
H A Dmain.c72 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(5)\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 …]
/titanic_50/usr/src/cmd/pools/pooladm/
H A Dpooladm.c80 die(gettext(ERR_OPEN_DYNAMIC), get_errstr()); in config_print()
86 die(gettext(ERR_GET_ELEMENT_DETAILS), in config_print()
90 die(gettext(ERR_GET_ELEMENT_DETAILS), gettext(CONFIGURATION), in config_print()
103 die(gettext(ERR_OPEN_DYNAMIC), get_errstr()); in config_destroy()
105 die(gettext(ERR_REMOVE_DYNAMIC), get_errstr()); in config_destroy()
113 die(gettext(ERR_OPEN_STATIC), static_conf_name, get_errstr()); in config_commit()
116 die(gettext(ERR_VALIDATE_RUNTIME), static_conf_name); in config_commit()
119 die(gettext(ERR_COMMIT_DYNAMIC), static_conf_name, in config_commit()
126 die(gettext(ERR_COMMIT_STATIC), in config_commit()
201 die(gettext(ERR_PERMISSIONS)); in main()
[all …]
/titanic_50/usr/src/tools/ctf/cvt/
H A Ddwarf.c268 die_off(dwarf_t *dw, Dwarf_Die die) in die_off() argument
272 if (dwarf_dieoffset(die, &off, &dw->dw_err) == DW_DLV_OK) in die_off()
282 die_sibling(dwarf_t *dw, Dwarf_Die die) in die_sibling() argument
287 if ((rc = dwarf_siblingof(dw->dw_dw, die, &sib, &dw->dw_err)) == in die_sibling()
294 die_off(dw, die), dwarf_errmsg(dw->dw_err)); in die_sibling()
300 die_child(dwarf_t *dw, Dwarf_Die die) in die_child() argument
305 if ((rc = dwarf_child(die, &child, &dw->dw_err)) == DW_DLV_OK) in die_child()
311 die_off(dw, die), dwarf_errmsg(dw->dw_err)); in die_child()
317 die_tag(dwarf_t *dw, Dwarf_Die die) in die_tag() argument
321 if (dwarf_tag(die, &tag, &dw->dw_err) == DW_DLV_OK) in die_tag()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipadm/
H A Dipadm.c332 static void die(const char *, ...);
379 die("Could not open handle to library - %s", in main()
427 die("Usage: %s", use); in do_create_if()
430 die("Could not create %s : %s", in do_create_if()
448 die("persistent operation not supported for enable-if"); in do_enable_if()
453 die("Could not enable %s : %s", in do_enable_if()
468 die("Usage: %s", use); in do_delete_if()
472 die("Could not delete %s: %s", in do_delete_if()
489 die("persistent operation not supported for disable-if"); in do_disable_if()
492 die("Could not disable %s: %s", in do_disable_if()
[all …]
/titanic_50/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.y263 die(gettext(ERR_CONF_LOAD), conf_file,
276 die(gettext(ERR_CONF_LOAD), conf_file,
669 die(gettext(ERR_SET_TERM), get_errstr());
713 die(gettext(ERR_ALLOC_ELEMENT), gettext(CONFIGURATION),
746 die(gettext(ERR_VALIDATION_FAILED),
755 die(gettext(ERR_CONFIG_SAVE_FAILED),
762 die(gettext(ERR_CMDPARSE_FAILED));
785 die(gettext(ERR_GET_ELEMENT_DETAILS), in parser_conf_info()
792 die(gettext(ERR_GET_ELEMENT_DETAILS), in parser_conf_info()
797 die(gettext(ERR_GET_ELEMENT_DETAILS), in parser_conf_info()
[all …]
/titanic_50/usr/src/lib/libctf/common/
H A Dctf_dwarf.c398 ctf_dwmap_add(ctf_cu_t *cup, ctf_id_t id, Dwarf_Die die, boolean_t fix) in ctf_dwmap_add() argument
407 if ((ret = ctf_dwarf_offset(cup, die, &off)) != 0) in ctf_dwmap_add()
413 dwmap->cdm_die = die; in ctf_dwmap_add()
425 ctf_dwarf_attribute(ctf_cu_t *cup, Dwarf_Die die, Dwarf_Half name, in ctf_dwarf_attribute() argument
431 if ((ret = dwarf_attr(die, name, attrp, &derr)) == DW_DLV_OK) in ctf_dwarf_attribute()
444 ctf_dwarf_ref(ctf_cu_t *cup, Dwarf_Die die, Dwarf_Half name, Dwarf_Off *refp) in ctf_dwarf_ref() argument
450 if ((ret = ctf_dwarf_attribute(cup, die, name, &attr)) != 0) in ctf_dwarf_ref()
465 ctf_dwarf_refdie(ctf_cu_t *cup, Dwarf_Die die, Dwarf_Half name, in ctf_dwarf_refdie() argument
472 if ((ret = ctf_dwarf_ref(cup, die, name, &off)) != 0) in ctf_dwarf_refdie()
488 ctf_dwarf_signed(ctf_cu_t *cup, Dwarf_Die die, Dwarf_Half name, in ctf_dwarf_signed() argument
[all …]
/titanic_50/usr/src/cmd/lofiadm/
H A Dmain.c177 die(gettext("could not find %s. " in gzip_compress()
184 die(gettext("could not find the correct %s. " in gzip_compress()
341 die(gettext("%s was not created"), blkpath); in wait_until_dev_complete()
344 die(gettext("%s was not created"), charpath); in wait_until_dev_complete()
364 die(gettext("could not map file %s"), filename); in lofi_map_file()
389 die(gettext("key too large")); in add_mapping()
421 die(gettext("malformed device name %s\n"), devicename); in add_mapping()
430 die(gettext("could not map file %s to %s"), filename, in add_mapping()
455 die(gettext("could not unmap file %s"), filename); in delete_mapping()
463 die(gettext("malformed device name %s\n"), devicename); in delete_mapping()
[all …]
/titanic_50/usr/src/cmd/dtrace/test/tst/common/ustack/
H A Dtst.spin.ksh98 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\$/;
H A Dtst.depth.ksh78 die "expected START at \$.\n" unless /^START/;
82 die "expected depth (\$_) at \$.\n" unless /^(\d+)\$/;
88 die "unexpected END at \$.\n" if /^END/;
93 die "expected END at \$.\n" unless /^END\$/;
/titanic_50/usr/src/cmd/consadm/
H A Dconsadm.c142 die(gettext("must be root to run this program\n")); in main()
304 die(gettext("%s is missing or not a valid device\n"), SYSMSG); in setaux()
312 die(gettext("%s is already the default console\n"), in setaux()
315 die(gettext("cannot get table entry")); in setaux()
332 die(gettext("%s is missing or not a valid device\n"), SYSMSG); in unsetaux()
336 die(gettext("cannot unset the default console\n")); in unsetaux()
351 die(gettext("currently busy, try again later.\n")); in getlock()
353 die(gettext("cannot open %s"), CONSADMLOCK); in getlock()
358 die(gettext("fcntl operation failed")); in getlock()
384 die(gettext("could not create new %s file"), CONSCONFIG); in addtolist()
[all …]
/titanic_50/usr/src/cmd/dis/
H A Ddis_list.c79 die("out of memory"); in initialize_pools()
98 die("out of memory"); in dis_namelist_create()
149 die("out of memory"); in walk_sections()
194 die("out of memory"); in dis_namelist_resolve_sections()
207 die("out of memory"); in dis_namelist_resolve_sections()
232 die("out of memory"); in walk_functions()
268 die("out of memory"); in dis_namelist_resolve_functions()
280 die("out of memory"); in dis_namelist_resolve_functions()
309 die("out of memory"); in free_list()
333 die("out of memory"); in dis_scnlist_destroy()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Dif_mpadm.c48 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 …]
/titanic_50/usr/src/cmd/dtrace/test/tst/common/mib/
H A Dtst.tcp.ksh86 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: \$!";
/titanic_50/usr/src/cmd/rctladm/
H A Drctladm.c103 die(gettext("unknown syslog priority \"%s\"\n"), priority); in rctladm_syslog_prio()
118 die(gettext("unable to allocate control block")); in rctl_save_walk_cb()
154 die(gettext("failed to open %s"), CONFIGPATH); in rctladm_save_config()
157 die(gettext("failed to open stream for %s"), CONFIGPATH); in rctladm_save_config()
203 die(gettext("you must be root to use this option\n")); in rctladm_read_config()
206 die(gettext("failed to open %s"), CONFIGPATH); in rctladm_read_config()
209 die(gettext("failed to open stream for %s"), CONFIGPATH); in rctladm_read_config()
212 die(gettext("unable to allocate control block")); in rctladm_read_config()
255 die(gettext("failed to read rctl configuration from \"%s\""), in rctladm_read_config()
268 die(gettext("unable to allocate control block")); in rctladm_modify_action()
[all …]
/titanic_50/usr/src/cmd/pools/poolstat/
H A Dsa_libpool.c69 die(gettext(ERR_NOMEM)); in sa_libpool_init()
72 die(gettext(ERR_OPEN_STATIC), conf_loc, get_errstr()); in sa_libpool_init()
86 die(gettext(ERR_CONF_UPDATE), get_errstr()); in sa_libpool_update()
100 die(gettext(ERR_UNSUPP_STYPE), sbag->sb_type); in sa_libpool_update()
148 die(gettext(ERR_STATS_RES_N), sbag->sb_name, get_errstr()); in update_pset()
150 die(gettext(ERR_STATS_RES_N), sbag->sb_name, get_errstr()); in update_pset()
155 die(gettext(ERR_STATS_RES_N), sbag->sb_name, get_errstr()); in update_pset()
/titanic_50/usr/src/cmd/flowadm/
H A Dflowadm.c75 static void die(const char *, ...);
352 die("link name too long"); in do_add_flow()
356 die("invalid link '%s'", devname); in do_add_flow()
363 die("attribute list too long '%s'", attrstr); in do_add_flow()
369 die("property list too long '%s'", propstr); in do_add_flow()
376 die("link is required"); in do_add_flow()
383 die("flow name is required"); in do_add_flow()
387 die("flow name too long"); in do_add_flow()
393 die("invalid flow attribute specified"); in do_add_flow()
396 die("invalid flow property specified"); in do_add_flow()
[all …]
/titanic_50/usr/src/cmd/fm/fmadm/common/
H A Dload.c39 die("module name must be specified using absolute path\n"); in cmd_load()
42 die("failed to load %s", argv[1]); in cmd_load()
55 die("module must be specified using basename only\n"); in cmd_unload()
58 die("failed to unload %s", argv[1]); in cmd_unload()
/titanic_50/usr/src/cmd/ramdiskadm/
H A Dmain.c85 die(gettext("couldn't create device link for\"%s\""), name); in wait_until_dev_complete()
102 die(gettext("couldn't create ramdisk \"%s\""), name); in alloc_ramdisk()
120 die(gettext("couldn't delete ramdisk \"%s\""), name); in delete_ramdisk()
164 die(gettext("couldn't obtain size of ramdisk")); in di_callback()
199 die(gettext("couldn't create device tree snapshot")); in print_ramdisk()
204 die(gettext("device tree walk failure")); in print_ramdisk()
323 die(gettext("you do not have permission to perform " in main()
326 die("%s", rd_ctl); in main()
/titanic_50/usr/src/cmd/mdb/tools/scripts/
H A Dhdr2map.sh189 ' || die "Extraction failed"
211 function die function
236 [[ ! -f $mapfile_skel ]] && die "Couldn't open template $tmplfile"
243 [[ ! -f $file ]] && die "Can't open input file $file"
/titanic_50/usr/src/cmd/flowstat/
H A Dflowstat.c81 static void die(const char *, ...);
399 die("invalid input"); in print_flow_stats_cb()
620 die("invalid interval value '%s'", optarg); in main()
632 die("invalid unit value '%s'," in main()
638 die("link name too long\n"); in main()
641 die("invalid link '%s'", linkname); in main()
646 die("the option -h is not compatible with " in main()
659 die("the option -t and -r are not compatible"); in main()
662 die("the option -u and -p are not compatible"); in main()
665 die("-p requires -o"); in main()
[all …]
/titanic_50/usr/src/cmd/dladm/
H A Ddladm.c253 static void die(const char *, ...);
1722 die("show-usage requires a file"); in do_show_usage()
1732 die("invalid link: '%s'", resource); in do_show_usage()
1737 die("incompatible -d and -F options"); in do_show_usage()
1740 die("Format specifier %s not supported", formatspec_str); in do_show_usage()
1818 die("too many ports specified"); in do_create_aggr()
1828 die("invalid policy '%s'", optarg); in do_create_aggr()
1837 die("invalid MAC address '%s'", optarg); in do_create_aggr()
1846 die("too many ports specified"); in do_create_aggr()
1858 die("invalid LACP mode '%s'", optarg); in do_create_aggr()
[all …]

12345678