/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | intel_nhm.c | 49 nhm_error_trap(cmi_hdl_t hdl, boolean_t ismc, boolean_t willpanic) argument
|
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-retire/ |
H A D | cma_page_sun4v.c | 36 cma_fmri_page_service_state(fmd_hdl_t *hdl, nvlist_t *nvl) argument 50 cma_fmri_page_retire(fmd_hdl_t *hdl, nvlist_t *nvl) argument 64 cma_fmri_page_unretire(fmd_hdl_t *hdl, nvlist_t *nvl) argument
|
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
H A D | cma_page_arch.c | 33 cma_fmri_page_service_state(fmd_hdl_t *hdl, nvlist_t *nvl) argument 55 cma_fmri_page_retire(fmd_hdl_t *hdl, nvlist_t *nvl) argument 71 cma_fmri_page_unretire(fmd_hdl_t *hdl, nvlist_t *nvl) argument
|
H A D | cma_cache.c | 37 cma_cache_way_retire(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, argument 49 fmd_hdl_debug(hdl, "cpu cache *line* fault processing\n"); 50 fmd_hdl_debug(hdl, "asru %lx\n", asru); 59 if (fmd_nvl_fmri_expand(hdl, asru) < 0) { 60 fmd_hdl_debug(hdl, "failed to expand cpu asru\n"); 66 fmd_hdl_debug(hdl, "cpu cache fault missing '%s'\n", 73 fmd_hdl_debug(hdl, "cpu cache fault missing '%s'\n", 80 fmd_hdl_debug(hdl, "cpu cache fault missing '%s'\n", 87 fmd_hdl_debug(hdl, "cpu cache fault missing '%s'\n", 98 fmd_hdl_debug(hdl, "cp [all...] |
H A D | cma_cpu_arch.c | 42 cma_cpu_blacklist(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, argument 63 fmd_hdl_debug(hdl, "failed to get the fault class name\n"); 72 (fmribuf = fmd_hdl_alloc(hdl, fmrisz, FMD_SLEEP)) == NULL) { 79 fmd_hdl_free(hdl, fmribuf, fmrisz); 91 fmd_hdl_free(hdl, fmribuf, fmrisz); 104 cma_cpu_statechange(fmd_hdl_t *hdl, nvlist_t *asru, const char *uuid, argument 111 fmd_hdl_debug(hdl, "missing '%s'\n", FM_FMRI_CPU_ID); 120 fmd_hdl_debug(hdl, "changed cpu %u state from \"%s\" " 131 fmd_hdl_debug(hdl, "failed to changed cpu %u state to \"%s\": %s\n",
|
H A D | cma_page.c | 62 cma_page_free(fmd_hdl_t *hdl, cma_page_t *page) argument 66 fmd_hdl_free(hdl, page, sizeof (cma_page_t)); 86 cma_page_retire(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, argument 98 fmd_hdl_debug(hdl, "page retire nvlist dup failed\n"); 103 if (fmd_nvl_fmri_expand(hdl, asrucp) < 0) { 104 fmd_hdl_debug(hdl, "failed to expand page asru\n"); 110 if (!repair && !fmd_nvl_fmri_present(hdl, asrucp)) { 111 fmd_hdl_debug(hdl, "page retire overtaken by events\n"); 125 fmd_hdl_debug(hdl, "mem fault missing 'physaddr'\n"); 134 fmd_hdl_debug(hdl, "suppresse 205 page_retry(fmd_hdl_t *hdl, cma_page_t *page) argument 248 cma_page_retry(fmd_hdl_t *hdl) argument 295 cma_page_fini(fmd_hdl_t *hdl) argument [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/ |
H A D | fmevt_main.c | 60 _fmd_init(fmd_hdl_t *hdl) argument 67 if (fmd_hdl_register(hdl, FMD_API_VERSION, &fmd_info) != 0) 70 fmevt_hdl = hdl; 72 fmevt_init_outbound(hdl); 73 fmevt_init_inbound(hdl); 77 _fmd_fini(fmd_hdl_t *hdl) argument 79 fmevt_fini_outbound(hdl); 80 fmevt_fini_inbound(hdl);
|
H A D | fmevt_outbound.c | 70 fmevt_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) argument 86 fmd_hdl_debug(hdl, "sysevent_evc_publish failed:"); 91 fmevt_init_outbound(fmd_hdl_t *hdl) argument 97 if (fmd_prop_get_int32(hdl, "protocol_forward_disable") == B_TRUE) { 98 fmd_hdl_debug(hdl, "protocol forwarding disabled " 103 (void) fmd_stat_create(hdl, FMD_STAT_NOALLOC, sizeof (outbound_stats) / 109 channel_name = fmd_prop_get_string(hdl, "outbound_channel"); 113 fmd_hdl_abort(hdl, "Unable to bind channel %s", 118 channel_depth = fmd_prop_get_int32(hdl, "outbound_channel_depth"); 122 fmd_hdl_abort(hdl, "Unabl 137 fmevt_fini_outbound(fmd_hdl_t *hdl) argument [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/software-diagnosis/ |
H A D | swde_main.c | 56 _fmd_init(fmd_hdl_t *hdl) argument 58 if (sw_fmd_init(hdl, &swde_info, &subde)) 59 swde_case_init(hdl); 63 _fmd_fini(fmd_hdl_t *hdl) argument 65 swde_case_fini(hdl); 66 sw_fmd_fini(hdl);
|
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/software-response/ |
H A D | swrp_main.c | 55 _fmd_init(fmd_hdl_t *hdl) argument 57 (void) sw_fmd_init(hdl, &swrp_info, &subrp); 61 _fmd_fini(fmd_hdl_t *hdl) argument 63 sw_fmd_fini(hdl);
|
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_poll.c | 45 ao_ms_poll_ownermask(cmi_hdl_t hdl, hrtime_t pintvl) argument 47 ao_ms_data_t *ao = cms_hdl_getcmsdata(hdl); 58 ao->ao_ms_shared->aos_nb_poll_owner = hdl; 60 } else if (ao->ao_ms_shared->aos_nb_poll_owner == hdl) {
|
H A D | ao_cpu.c | 102 ao_procnode_scrubber_enable(cmi_hdl_t hdl, ao_ms_data_t *ao) argument 104 uint_t procnodeid = cmi_hdl_procnodeid(hdl);
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | kernel.c | 41 tnfctl_trace_state_set(tnfctl_handle_t *hdl, boolean_t mode) argument 43 if (hdl->mode != KERNEL_MODE) 47 return (_tnfctl_prbk_set_tracing(hdl, mode)); 51 tnfctl_filter_state_set(tnfctl_handle_t *hdl, boolean_t mode) argument 53 if (hdl->mode != KERNEL_MODE) 57 return (_tnfctl_prbk_set_pfilter_mode(hdl, mode)); 61 tnfctl_filter_list_get(tnfctl_handle_t *hdl, pid_t **pid_list, int *pid_count) argument 63 if (hdl->mode != KERNEL_MODE) 67 return (_tnfctl_prbk_get_pfilter_list(hdl, pid_list, pid_count)); 71 tnfctl_filter_list_add(tnfctl_handle_t *hdl, pid_ argument 81 tnfctl_filter_list_delete(tnfctl_handle_t *hdl, pid_t pid) argument [all...] |
H A D | close.c | 49 tnfctl_close(tnfctl_handle_t *hdl, tnfctl_targ_op_t action) argument 56 if (hdl == NULL) 59 if (hdl->mode == KERNEL_MODE) { 60 prexstat = _tnfctl_prbk_close(hdl); 65 if (hdl->mode == INTERNAL_MODE) { 67 } else if (hdl->mode != KERNEL_MODE) { 68 _tnfctl_external_releaselock(hdl); 71 _tnfctl_free_objs_and_probes(hdl); 74 probe_hdl = hdl->probe_handle_list_head; 77 if (hdl 144 _tnfctl_external_releaselock(tnfctl_handle_t *hdl) argument [all...] |
/illumos-gate/usr/src/common/mc/mc-amd/ |
H A D | mcamd_unumtopa.c | 46 mcamd_unumtopa(struct mcamd_hdl *hdl, mcamd_node_t *root, mc_unum_t *unump, argument 52 mcamd_dprintf(hdl, MCAMD_DBG_FLOW, "mcamd_unumtopa: chip %d " 57 mcamd_dprintf(hdl, MCAMD_DBG_FLOW, "mcamd_unumtopa: offset " 59 return (mcamd_set_errno(hdl, EMCAMD_NOADDR)); 66 for (mc = mcamd_mc_next(hdl, root, NULL); mc != NULL; 67 mc = mcamd_mc_next(hdl, root, mc)) { 68 if (!mcamd_get_numprops(hdl, 72 mcamd_dprintf(hdl, MCAMD_DBG_ERR, "mcamd_unumtopa: " 74 return (mcamd_set_errno(hdl, EMCAMD_TREEINVALID)); 80 mcamd_dprintf(hdl, MCAMD_DBG_FLO [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_tdb.c | 79 void *hdl; local 100 if ((hdl = dlmopen(LM_ID_BASE, path, RTLD_LAZY | RTLD_LOCAL)) == NULL) { 105 if ((tdb_init = (td_err_e (*)(void))dlsym(hdl, "td_init")) == NULL) { 106 (void) dlclose(hdl); 112 (void) dlclose(hdl); 125 t->tdb_handle = hdl; 135 t->tdb_ops.td_ta_new = (td_err_e (*)())dlsym(hdl, "td_ta_new"); 139 t->tdb_ops.td_ta_delete = (td_err_e (*)())dlsym(hdl, "td_ta_delete"); 144 dlsym(hdl, "td_ta_thr_iter"); 149 dlsym(hdl, "td_ta_map_id2th [all...] |
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | demangle.c | 79 void *hdl; local 82 if (!(hdl = dlopen(MSG_ORIG(MSG_DEM_LIB), RTLD_LAZY)) || 83 !(fptr = (int (*)())dlsym(hdl, MSG_ORIG(MSG_DEM_SYM))))
|
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/ |
H A D | smf_util.c | 41 sw_smf_svcfmri2str(fmd_hdl_t *hdl, nvlist_t *fmri) argument 48 thp = fmd_hdl_topo_hold(hdl, TOPO_VERSION); 50 fmristr = fmd_hdl_strdup(hdl, (const char *)topostr, FMD_SLEEP); 53 fmd_hdl_topo_rele(hdl, thp); 63 sw_smf_svcfmri2shortstr(fmd_hdl_t *hdl, nvlist_t *fmri) argument 73 bufp = fmd_hdl_alloc(hdl, len, FMD_SLEEP); 76 fullname = fmd_hdl_strdup(hdl, bufp, FMD_SLEEP); 77 fmd_hdl_free(hdl, bufp, len);
|
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_fmri.c | 36 cmd_fmri_init(fmd_hdl_t *hdl, cmd_fmri_t *fmri, nvlist_t *nvl, argument 48 fmd_hdl_abort(hdl, "failed to copy fmri for fmri create"); 50 fmri->fmri_packbuf = fmd_hdl_alloc(hdl, fmri->fmri_packsz, FMD_SLEEP); 54 fmd_hdl_abort(hdl, "failed to pack fmri for fmri create"); 56 cmd_fmri_write(hdl, fmri); 60 cmd_fmri_fini(fmd_hdl_t *hdl, cmd_fmri_t *fmri, int destroy) argument 63 fmd_buf_destroy(hdl, NULL, fmri->fmri_packnm); 65 fmd_hdl_free(hdl, fmri->fmri_packbuf, fmri->fmri_packsz); 70 cmd_fmri_restore(fmd_hdl_t *hdl, cmd_fmri_t *fmri) argument 72 if (fmd_buf_size(hdl, NUL 91 cmd_fmri_write(fmd_hdl_t *hdl, cmd_fmri_t *fmri) argument [all...] |
H A D | cmd_util.c | 43 cmd_buf_read(fmd_hdl_t *hdl, fmd_case_t *cp, const char *bufname, size_t bufsz) argument 48 if ((sz = fmd_buf_size(hdl, cp, bufname)) == 0) { 56 buf = fmd_hdl_alloc(hdl, bufsz, FMD_SLEEP); 57 fmd_buf_read(hdl, cp, bufname, buf, bufsz);
|
H A D | cmd_pageerr.c | 44 cmd_page_fault(fmd_hdl_t *hdl, nvlist_t *modasru, nvlist_t *modfru, argument 63 fmd_nvl_fmri_unusable(hdl, page->page_asru_nvl)) { 69 page = cmd_page_create(hdl, modasru, afar); 74 page->page_case.cc_cp = cmd_case_create(hdl, 78 nvlfru = cmd_mem2hc(hdl, modfru); 79 flt = cmd_nvl_create_fault(hdl, "fault.memory.page", 100, 81 flt = cmd_fault_add_location(hdl, flt, cmd_fmri_get_unum(modfru)); 84 flt = cmd_nvl_create_fault(hdl, "fault.memory.page", 100, 89 fmd_hdl_abort(hdl, "failed to add no-message member to fault"); 91 fmd_case_add_ereport(hdl, pag 97 cmd_page_close(fmd_hdl_t *hdl, void *arg) argument [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4u/datapath-retire/ |
H A D | cda_cpu.c | 41 cda_cpu_offline(fmd_hdl_t *hdl, uint_t cpuid, int cpustate) argument 48 fmd_hdl_debug(hdl, "offlined cpu %u\n", cpuid); 54 fmd_hdl_debug(hdl, "failed to offline %u: %s\n", cpuid, 61 cda_dp_retire(fmd_hdl_t *hdl, nvlist_t *nvl, nvlist_t *asru, const char *uuid) argument 72 fmd_hdl_debug(hdl, "failed to get '%s' from dp fault\n", 82 fmd_hdl_debug(hdl, "dp fault missing '%s'\n", 90 fmd_hdl_debug(hdl, "dp suppressed offline of " 99 cda_cpu_offline(hdl, cpuid, cpustate);
|
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/ |
H A D | gmem_fmri.c | 34 gmem_fmri_init(fmd_hdl_t *hdl, gmem_fmri_t *fmri, nvlist_t *nvl, argument 46 fmd_hdl_abort(hdl, "failed to copy fmri for fmri create"); 48 fmri->fmri_packbuf = fmd_hdl_alloc(hdl, fmri->fmri_packsz, FMD_SLEEP); 52 fmd_hdl_abort(hdl, "failed to pack fmri for fmri create"); 54 gmem_fmri_write(hdl, fmri); 58 gmem_fmri_fini(fmd_hdl_t *hdl, gmem_fmri_t *fmri, int destroy) argument 61 fmd_buf_destroy(hdl, NULL, fmri->fmri_packnm); 63 fmd_hdl_free(hdl, fmri->fmri_packbuf, fmri->fmri_packsz); 68 gmem_fmri_restore(fmd_hdl_t *hdl, gmem_fmri_t *fmri) argument 70 if (fmd_buf_size(hdl, NUL 89 gmem_fmri_write(fmd_hdl_t *hdl, gmem_fmri_t *fmri) argument [all...] |
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | fruraw.h | 57 fru_treehdl_t hdl; member in struct:raw_list
|
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_hc_opl.c | 77 cmd_fmri_hc_set(fmd_hdl_t *hdl, nvlist_t *fmri, int version, argument 99 fmd_hdl_debug(hdl, "nvlist_alloc failed\n"); 120 fmd_hdl_debug(hdl, "cmd_fmri_hc_set: failed to set fmri\n");
|