Searched defs:core (Results 1 - 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/uts/common/sys/
H A Dcore.h50 * module's core files. Following the header, copies of the data and stack
51 * segments and a copy of the user struct were recorded in the core file.
52 * These core files have not been produced since SunOS 5.5; new debuggers
56 struct core { struct
58 int c_len; /* Sizeof (struct core) */
76 extern int core(int, int);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_subr.c59 * to stderr and dump core as a result of raising SIGABRT. This function must
178 int core = 0; local
180 (void) fmd_conf_getprop(fmd.d_conf, "core", &core);
181 if (core)
182 fmd_panic("forcing core dump at user request\n");
H A Dfmd.c107 { "abort", "abort daemon and force core dump", FMD_CERROR_ABORT },
254 { "core", &fmd_conf_bool, "false" }, /* force core dump on quit */
560 int core; local
562 (void) fmd_conf_getprop(fmd.d_conf, "core", &core);
653 * Now destroy the remaining global data structures. If 'core' was
654 * set to true, force a core dump so we can check for memory leaks.
684 if (core)
685 fmd_panic("forcing core dum
[all...]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipnat.c111 char *file, *core, *kernel; local
120 core = NULL;
150 core = optarg;
181 if ((kernel != NULL) || (core != NULL)) {
196 if (!(opts & OPT_DONOTHING) && (kernel == NULL) && (core == NULL)) {
198 if (openkmem(kernel, core) == -1)
224 } else if ((kernel != NULL) || (core != NULL)) {
225 if (openkmem(kernel, core) == -1)
H A Dippool.c88 fprintf(stderr, "\t\t\t-s [-dtv] %s[-M <core>] [-N <namelist>]\n",
383 char *kernel, *core, *poolname; local
391 core = NULL;
412 core = optarg;
467 poollist_dead(role, poolname, type, kernel, core);
539 void poollist_dead(role, poolname, type, kernel, core)
541 char *poolname, *kernel, *core;
546 if (openkmem(kernel, core) == -1)
647 char *kernel, *core; local
651 core
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPlwpregs.c42 * information from either a live process or core file opened with libproc.
49 * about an lwp in the core file, given its lwpid.
54 core_info_t *core = P->data; local
55 lwp_info_t *lwp = list_next(&core->core_lwp_head);
58 for (i = 0; i < core->core_nlwp; i++, lwp = list_next(lwp)) {
93 * cached information from the core file. This is used to get the
120 * If this is a core file, we need to iterate through our list of
H A DPservice.c81 * return PS_OK for core files in order to allow libc_db to
179 core_info_t *core = P->data; local
180 lwp_info_t *lwp = list_next(&core->core_lwp_head);
183 for (i = 0; i < core->core_nlwp; i++, lwp = list_next(lwp)) {
H A Dproc_arg.c91 * Attempt to open the core file, and return the fd if we can confirm
115 * not produce an error message saying "no such process or core file 'foo'".
134 char *core; local
182 core = strdupa(arg);
184 dirname(core) : path, perr)) != NULL) {
211 * we continue checking for core files or fail with G_NOPROC
217 core = strdupa(arg);
218 if ((Pr = Pfgrab_core(fd, path == NULL ? dirname(core) : path,
/illumos-gate/usr/src/lib/libproc/sparc/
H A DPisadep.c190 core_info_t *core = P->data; local
191 lwp_info_t *lwp = list_next(&core->core_lwp_head);
195 for (n = 0; n < core->core_nlwp; n++, lwp = list_next(lwp)) {
/illumos-gate/usr/src/lib/libkvm/common/
H A Dtest.c68 char *core; variable
109 fprintf(stderr, "usage: %s [-w] [name] [core] [swap]\n",
120 core = argv[optind++];
121 if (*core == '\0')
122 core = NULL;
124 core = NULL;
132 tst_open(name, core, swap, (wflag ? O_RDWR : O_RDONLY));
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_cpu.c148 * it has to be kept in the core or cmp node so
637 int core; local
645 * on the data for the first core.
667 for (core = 1; core < ncores; core++) {
672 ASSERT(psp->ps_unit == DR_UNUM2SBD_UNUM(csp[core].cs_unit,
675 if (csp[core].cs_speed > psp->ps_speed)
676 psp->ps_speed = csp[core].cs_speed;
677 if (csp[core]
704 int core; local
[all...]
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Derror.h136 int core; /* level>=core -> core dump */ member in struct:Error_info_s
/illumos-gate/usr/src/lib/libast/common/include/
H A Derror.h127 int core; /* level>=core -> core dump */ member in struct:Error_info_s
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Derror.h136 int core; /* level>=core -> core dump */ member in struct:Error_info_s
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Derror.h136 int core; /* level>=core -> core dump */ member in struct:Error_info_s
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Derror.h136 int core; /* level>=core -> core dump */ member in struct:Error_info_s
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd_cpu.c166 int core; local
174 * on the data for the first core.
196 for (core = 1; core < ncores; core++) {
202 ASSERT(psp->ps_unit == SBD_CMP_NUM(csp[core].cs_unit));
203 ASSERT(psp->ps_speed == csp[core].cs_speed);
205 psp->ps_cpuid[core] = csp[core].cs_cpuid;
210 * for each core mus
274 int core; local
[all...]
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_cpu.c163 * kept in the core or cmp node so we just keep looking.
200 * it has to be kept in the core or cmp node so
700 int core; local
708 * on the data for the first core.
730 for (core = 1; core < ncores; core++) {
736 ASSERT(psp->ps_unit == DR_UNUM2SBD_UNUM(csp[core].cs_unit,
738 ASSERT(psp->ps_speed == csp[core].cs_speed);
740 psp->ps_cpuid[core]
773 int core; local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip.c225 * Inherit FRU from core node, in native use cpu scheme ASRU,
326 tnode_t *core; local
340 if ((core = topo_node_lookup(pnode, CORE_NODE_NAME, coreid)) == NULL) {
341 if ((core = create_node(mod, pnode, auth, CORE_NODE_NAME,
347 * scheme ASRU for the core node.
349 (void) topo_node_fru_set(core, NULL, 0, &perr);
357 if (topo_node_resource(core, &fmri, &err) != 0)
369 if (topo_node_resource(core, &fmri, &err) == -1) {
376 (void) topo_node_asru_set(core, fmri, 0, &err);
380 if (topo_method_register(mod, core, strands_retire_method
[all...]
/illumos-gate/usr/src/lib/libproc/sparcv9/
H A DPisadep.c238 core_info_t *core = P->data; local
239 lwp_info_t *lwp = list_next(&core->core_lwp_head);
243 for (n = 0; n < core->core_nlwp; n++, lwp = list_next(lwp)) {
/illumos-gate/usr/src/uts/common/os/
H A Dcore.c56 #include <sys/core.h>
68 * Processes running within a zone potentially dump core in 3 locations,
69 * based on the per-process, per-zone, and the global zone's core settings.
82 * Log information about "global" core dumps to syslog.
185 * Create the core file in a location that may be normally inaccessible due
208 * This is tricky because we want to dump the core in
247 * the core file).
264 * Don't dump a core file owned by "nobody".
359 * this core file. Set the credentials and the owner to root.
368 * system attack, do it only if set-id core file
634 core(int sig, int ext) function
[all...]
/illumos-gate/usr/src/cmd/psrinfo/
H A Dpsrinfo.c51 * cpu id, core id, or chip id. We generalize this with simple node.
71 struct core { struct
91 struct core *v_core;
229 struct core *core; local
279 core = l2->l_ptr;
281 _("The core"),
282 core->c_nvcpu,
285 print_links(core->c_vcpus);
442 struct core *cor local
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp.c242 sbdp_portid_to_cpu_unit(int cmp, int core) argument
244 return (SG_PORTID_TO_CPU_UNIT(cmp, core));
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_cpu.c124 core2cpus(uint32_t core, cmd_cpu_type_t type, uint8_t level, argument
146 *cpuinit = core;
150 *cpuinit = *cpufinal = core;
168 *cpuinit = core * UST1_CPUS_PER_CORE;
173 *cpuinit = core * UST1_CPUS_PER_CHIP;
178 *cpuinit = *cpufinal = core;
186 *cpuinit = core * UST2_CPUS_PER_CORE;
191 *cpuinit = core * UST2_CPUS_PER_CHIP;
196 *cpuinit = *cpufinal = core;
203 *cpuinit = *cpufinal = core;
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Ddrive.c131 struct core { struct in union:conf_feature::features
133 } core; member in union:conf_feature::features

Completed in 91 milliseconds

12