| /onnv/onnv-gate/usr/src/cmd/mdb/common/mdb/ |
| 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_id2thr") [all...] |
| mdb_demangle.c | 50 void *hdl, *func; local 55 if ((hdl = dlmopen(LM_ID_BASE, path, RTLD_LAZY | RTLD_LOCAL)) == NULL) { 60 if ((func = dlsym(hdl, "cplus_demangle")) == NULL) { 61 (void) dlclose(hdl); 69 dmp->dm_handle = hdl;
|
| /onnv/onnv-gate/usr/src/cmd/sgs/libconv/common/ |
| demangle.c | 82 void *hdl; local 85 if (!(hdl = dlopen(MSG_ORIG(MSG_DEM_LIB), RTLD_LAZY)) || 86 !(fptr = (int (*)())dlsym(hdl, MSG_ORIG(MSG_DEM_SYM))))
|
| /onnv/onnv-gate/usr/src/uts/intel/io/intel_nhm/ |
| nhm_pci_cfg.c | 93 ddi_acc_handle_t hdl; local 100 hdl = dev_pci_hdl[slot][dev][func]; 102 hdl = 0; 104 return (hdl); 110 ddi_acc_handle_t hdl; local 112 hdl = nhm_get_hdl(bus, dev, func); 113 return (cmi_pci_getb(bus, dev, func, reg, interpose, hdl)); 119 ddi_acc_handle_t hdl; local 121 hdl = nhm_get_hdl(bus, dev, func); 122 return (cmi_pci_getw(bus, dev, func, reg, interpose, hdl)); 128 ddi_acc_handle_t hdl; local 137 ddi_acc_handle_t hdl; local 146 ddi_acc_handle_t hdl; local 155 ddi_acc_handle_t hdl; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/ |
| hotplug.c | 66 ddi_hp_cn_handle_t hdl; local 72 if (mdb_vread(&hdl, sizeof (ddi_hp_cn_handle_t), hdlp) == -1) { 78 hdl.cn_info.cn_type != DDI_HP_CN_TYPE_VIRTUAL_PORT) { 80 (uintptr_t)hdl.cn_info.cn_type_str) == -1) { 85 (uintptr_t)hdl.cn_info.cn_name) == -1) { 89 mdb_printf("%?p %?p %-12s %-15s %-15s\n", hdl.cn_dip, 90 hdlp, ddihp_get_cn_state(hdl.cn_info.cn_state), 93 hdlp = (uintptr_t)hdl.next; 111 ddi_hp_cn_handle_t hdl; local 145 if (mdb_vread(&hdl, sizeof (ddi_hp_cn_handle_t), (uintptr_t)addr [all...] |
| /onnv/onnv-gate/usr/src/uts/intel/io/intel_nb5000/ |
| nb_pci_cfg.c | 130 ddi_acc_handle_t hdl; local 133 hdl = dev_16_hdl[func]; 135 hdl = dev_17_hdl[func]; 137 hdl = dev_pci_hdl[dev]; 139 hdl = dev_21_hdl; 141 hdl = dev_22_hdl; 143 hdl = 0; 145 return (hdl); 151 ddi_acc_handle_t hdl; local 153 hdl = nb_get_hdl(bus, dev, func) 160 ddi_acc_handle_t hdl; local 169 ddi_acc_handle_t hdl; local 178 ddi_acc_handle_t hdl; local 187 ddi_acc_handle_t hdl; local 196 ddi_acc_handle_t hdl; local [all...] |
| /onnv/onnv-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
| chip_serial.c | 62 ipmi_handle_t *hdl; local 67 if ((hdl = topo_mod_ipmi_hold(mod)) == NULL) { 73 if ((fru_loc = ipmi_sdr_lookup_fru(hdl, (const char *)ipmi_tag)) 76 ipmi_errmsg(hdl)); 83 if (ipmi_fru_read(hdl, fru_loc, &fru_data) < 0) { 85 ipmi_errmsg(hdl)); 91 if (ipmi_fru_parse_product(hdl, fru_data, &prod_info) < 0) { 93 ipmi_errmsg(hdl));
|
| chip_label.c | 540 fmd_agent_hdl_t *hdl; local 547 if ((hdl = fmd_agent_open(FMD_AGENT_VERSION)) == NULL) 549 if (fmd_agent_physcpu_info(hdl, &cpus, &ncpu) == -1) { 551 fmd_agent_errmsg(hdl)); 552 fmd_agent_close(hdl); 555 fmd_agent_close(hdl);
|
| /onnv/onnv-gate/usr/src/uts/sun4/io/px/ |
| px_pec.c | 166 ddi_intr_handle_impl_t hdl; local 172 bzero(&hdl, sizeof (ddi_intr_handle_impl_t)); 173 hdl.ih_cb_func = (ddi_intr_handler_t *)px_err_fabric_intr; 174 hdl.ih_ver = DDI_INTR_VERSION; 175 hdl.ih_state = DDI_IHDL_STATE_ALLOC; 176 hdl.ih_dip = dip; 179 hdl.ih_pri = PX_ERR_LOW_PIL; 181 if ((ret = px_add_msiq_intr(dip, dip, &hdl, 192 if ((ret = px_ib_update_intr_state(px_p, px_p->px_dip, hdl.ih_inum, 202 hdl.ih_pri = PX_ERR_PIL 262 ddi_intr_handle_impl_t hdl; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libfru/libfruraw/ |
| fruraw.h | 57 fru_treehdl_t hdl; member in struct:raw_list
|
| /onnv/onnv-gate/usr/src/cmd/fm/fminject/common/ |
| inj_main.c | 57 evchan_t *hdl; local 62 if ((errno = sysevent_evc_bind(chan, &hdl, 66 return (hdl);
|
| inj_cmds.c | 184 cmd_run_send(const inj_mode_ops_t *mode, void *hdl, inj_defn_t *ev) 204 mode->mo_send(hdl, ev->defn_nvl); 211 cmd_run_random(const inj_mode_ops_t *mode, void *hdl, inj_cmd_t *cmd) 221 cmd_run_send(mode, hdl, cmd->cmd_rand[i - 1]->re_event); 225 cmd_run(const inj_mode_ops_t *mode, void *hdl, inj_cmd_t *cmd) 229 cmd_run_send(mode, hdl, cmd->cmd_event); 241 cmd_run_random(mode, hdl, cmd); 252 void *hdl = mode->mo_open(mode_arg); local 263 cmd_run(mode, hdl, cmd->cmd_subcmd); 266 cmd_run(mode, hdl, cmd) [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/fmd/common/ |
| fmd_rpc.c | 70 void *hdl; local 76 if ((hdl = setnetconfig()) == NULL) { 89 while ((ncp = getnetconfig(hdl)) != NULL) { 94 (void) endnetconfig(hdl); 121 (void) endnetconfig(hdl);
|
| /onnv/onnv-gate/usr/src/lib/fm/libfmd_agent/common/ |
| fmd_agent.c | 49 fmd_agent_errno(fmd_agent_hdl_t *hdl) 51 return (hdl->agent_errno); 55 fmd_agent_seterrno(fmd_agent_hdl_t *hdl, int err) 57 hdl->agent_errno = err; 68 fmd_agent_errmsg(fmd_agent_hdl_t *hdl) 70 return (fmd_agent_strerr(hdl->agent_errno)); 74 cleanup_set_errno(fmd_agent_hdl_t *hdl, nvlist_t *innvl, nvlist_t *outnvl, 81 return (fmd_agent_seterrno(hdl, err)); 89 fmd_agent_nvl_ioctl(fmd_agent_hdl_t *hdl, int cmd, uint32_t ver, 128 if (ioctl(hdl->agent_devfd, cmd, &fid) < 0 147 fmd_agent_hdl_t *hdl; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libtnfctl/ |
| open.c | 58 tnfctl_handle_t *hdl; local 70 /* allocate hdl and zero fill */ 71 hdl = calloc(1, sizeof (*hdl)); 72 if (hdl == NULL) { 77 hdl->proc_p = proc_p; 78 hdl->mode = DIRECT_MODE; 79 hdl->called_exit = B_FALSE; 82 hdl->p_read = _tnfctl_read_targ; 83 hdl->p_write = _tnfctl_write_targ 134 tnfctl_handle_t *hdl; local 219 tnfctl_handle_t *hdl; local 261 tnfctl_handle_t *hdl; local [all...] |
| internal.c | 85 tnfctl_handle_t *hdl; local 89 /* allocate hdl and zero fill */ 90 hdl = calloc(1, sizeof (*hdl)); 91 if (hdl == NULL) { 95 hdl->mode = INTERNAL_MODE; 96 hdl->called_exit = B_FALSE; 99 hdl->p_read = inprocess_read; 100 hdl->p_write = inprocess_write; 101 hdl->p_obj_iter = inprocess_loadobj_iter [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/io/i2c/misc/ |
| i2c_svc.c | 77 i2c_client_hdl_t hdl; local 101 hdl = kmem_alloc(sizeof (struct i2c_client_hdl_impl), KM_SLEEP); 103 CHDL(hdl)->chdl_dip = dip; 104 CHDL(hdl)->chdl_nexus_reg = ®_list->nexus_reg; 105 *i2c_hdl = hdl; 115 * hdl - handle previously returned by i2c_client_register(). 119 i2c_client_unregister(i2c_client_hdl_t hdl) 121 kmem_free(hdl, sizeof (struct i2c_client_hdl_impl)); 131 i2c_transfer(i2c_client_hdl_t hdl, i2c_transfer_t *i2c_tran) 157 if (CHDL(hdl)->chdl_nexus_reg->i2c_nexus_transfer != NULL) [all...] |
| /onnv/onnv-gate/usr/src/uts/i86xpv/cpu/generic_cpu/ |
| gcpu_poll_xpv.c | 115 cmi_hdl_t hdl = cmi_hdl_any(); local 117 if (hdl != NULL) { 118 cmi_mc_logout(hdl, 0, 0); 119 cmi_hdl_rele(hdl); 142 gcpu_mca_poll_init(cmi_hdl_t hdl) 144 gcpu_data_t *gcpu = cmi_hdl_getcmidata(hdl); 148 ASSERT(cmi_hdl_class(hdl) == CMI_HDL_SOLARIS_xVM_MCA); 165 gcpu_mca_poll_start(cmi_hdl_t hdl) 167 ASSERT(cmi_hdl_class(hdl) == CMI_HDL_SOLARIS_xVM_MCA);
|
| /onnv/onnv-gate/usr/src/lib/libzfs/common/ |
| libzfs_config.c | 72 namespace_clear(libzfs_handle_t *hdl) 74 if (hdl->libzfs_ns_avl) { 78 while ((cn = uu_avl_teardown(hdl->libzfs_ns_avl, 85 uu_avl_destroy(hdl->libzfs_ns_avl); 86 hdl->libzfs_ns_avl = NULL; 89 if (hdl->libzfs_ns_avlpool) { 90 uu_avl_pool_destroy(hdl->libzfs_ns_avlpool); 91 hdl->libzfs_ns_avlpool = NULL; 99 namespace_reload(libzfs_handle_t *hdl) 107 if (hdl->libzfs_ns_gen == 0) 232 libzfs_handle_t *hdl = zhp->zpool_hdl; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/kmdb/ |
| kmdb_promio.c | 190 ihandle_t hdl = kmdb_prom_get_handle(name); local 192 if (hdl == -1) 199 pdp->pio_fd = hdl;
|
| /onnv/onnv-gate/usr/src/cmd/ctwatch/ |
| ctwatch.c | 191 ct_stathdl_t hdl; local 200 if (errno = ct_status_read(fd, CTD_COMMON, &hdl)) { 204 type = get_type(ct_status_get_type(hdl)); 205 ct_status_free(hdl);
|
| /onnv/onnv-gate/usr/src/cmd/fm/modules/sun4v/etm/ |
| etm_filter.c | 63 fmd_hdl_t *hdl = arg; /* etm mod hdl */ local 87 rcl = fmd_hdl_zalloc(hdl, n * sizeof (etm_prc_t), FMD_SLEEP); 94 fmd_hdl_free(hdl, etm_rcs, 102 fmd_hdl_abort(hdl, "rcs is full. Expect counter value %d<%d\n", 122 etm_pciexrc_init(fmd_hdl_t *hdl) 128 if ((thp = fmd_hdl_topo_hold(hdl, TOPO_VERSION)) == NULL) 131 (void *) hdl, &err); 133 fmd_hdl_topo_rele(hdl, thp); 138 fmd_hdl_topo_rele(hdl, thp) [all...] |
| /onnv/onnv-gate/usr/src/cmd/ramdiskadm/ |
| main.c | 81 di_devlink_handle_t hdl; local 83 hdl = di_devlink_init(RD_DRIVER_NAME, DI_MAKE_LINK); 84 if (hdl == NULL) { 87 (void) di_devlink_fini(&hdl);
|
| /onnv/onnv-gate/usr/src/lib/sun_fc/common/ |
| HBAPort.cc | 150 di_devlink_handle_t hdl; local 154 if ((hdl = di_devlink_init(NULL, 0)) == NULL) { 187 (void) di_devlink_walk(hdl, NULL, minor_path, DI_PRIMARY_LINK, 199 di_devlink_fini(&hdl);
|
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| brand.c | 213 ddi_modhandle_t hdl = NULL; local 244 if ((l != NULL) || (hdl != NULL)) 256 hdl = ddi_modopen(modname, KRTLD_MODE_FIRST, &err); 271 if (hdl != NULL) 272 (void) ddi_modclose(hdl);
|