/titanic_41/usr/src/lib/krb5/kadm5/srv/ |
H A D | server_init.c | 57 static int check_handle(void *handle) in check_handle() argument 59 CHECK_HANDLE(handle); in check_handle() 63 static int dup_db_args(kadm5_server_handle_t handle, char **db_args) in dup_db_args() argument 70 handle->db_args = NULL; in dup_db_args() 74 handle->db_args = calloc(sizeof(char*), count+1); in dup_db_args() 75 if (handle->db_args == NULL) { in dup_db_args() 81 handle->db_args[count] = strdup(db_args[count]); in dup_db_args() 82 if (handle->db_args[count] == NULL) { in dup_db_args() 89 if (ret && handle->db_args) { in dup_db_args() 90 for (count=0; handle->db_args[count]; count++) in dup_db_args() [all …]
|
/titanic_41/usr/src/lib/libshare/smbfs/ |
H A D | smbfs_scfutil.c | 69 smb_smf_scf_fini(smb_scfhandle_t *handle) in smb_smf_scf_fini() argument 71 if (handle != NULL) { in smb_smf_scf_fini() 73 if (handle->scf_pg_iter != NULL) { in smb_smf_scf_fini() 74 scf_iter_destroy(handle->scf_pg_iter); in smb_smf_scf_fini() 75 handle->scf_pg_iter = NULL; in smb_smf_scf_fini() 77 if (handle->scf_inst_iter != NULL) { in smb_smf_scf_fini() 78 scf_iter_destroy(handle->scf_inst_iter); in smb_smf_scf_fini() 79 handle->scf_inst_iter = NULL; in smb_smf_scf_fini() 81 if (handle->scf_scope != NULL) { in smb_smf_scf_fini() 83 scf_scope_destroy(handle->scf_scope); in smb_smf_scf_fini() [all …]
|
/titanic_41/usr/src/uts/common/avs/ns/ |
H A D | model.h | 96 #define STRUCT_HANDLE(struct_type, handle) \ argument 97 struct __##handle##_type { \ 103 } handle = { NULL, DATAMODEL_ILP32 } 105 #define STRUCT_DECL(struct_type, handle) \ argument 106 struct struct_type __##handle##_buf; \ 107 STRUCT_HANDLE(struct_type, handle) 109 #define STRUCT_SET_HANDLE(handle, umodel, addr) \ argument 110 (handle).model = (model_t)(umodel) & DATAMODEL_MASK; \ 112 ((handle).ptr.m64) = (addr) 114 #define STRUCT_INIT(handle, umodel) \ argument [all …]
|
/titanic_41/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_scfutil.c | 64 smb_smf_create_service_pgroup(smb_scfhandle_t *handle, char *pgroup) in smb_smf_create_service_pgroup() argument 69 if (handle == NULL) in smb_smf_create_service_pgroup() 76 if (handle->scf_pg == NULL) in smb_smf_create_service_pgroup() 77 if ((handle->scf_pg = in smb_smf_create_service_pgroup() 78 scf_pg_create(handle->scf_handle)) == NULL) in smb_smf_create_service_pgroup() 85 if (scf_service_get_pg(handle->scf_service, in smb_smf_create_service_pgroup() 86 pgroup, handle->scf_pg) != 0) { in smb_smf_create_service_pgroup() 88 if (scf_service_add_pg(handle->scf_service, pgroup, in smb_smf_create_service_pgroup() 89 SCF_GROUP_APPLICATION, 0, handle->scf_pg) != 0) { in smb_smf_create_service_pgroup() 113 smb_smf_start_transaction(smb_scfhandle_t *handle) in smb_smf_start_transaction() argument [all …]
|
H A D | smb_ht.c | 54 static size_t ht_default_hash(HT_HANDLE *handle, const char *key); 133 ht_destroy_table(HT_HANDLE *handle) in ht_destroy_table() argument 138 if (handle == 0) in ht_destroy_table() 142 (void) ht_clean_table(handle); in ht_destroy_table() 143 while ((item = ht_findfirst(handle, &iterator)) != 0) in ht_destroy_table() 144 (void) ht_remove_item(handle, item->hi_key); in ht_destroy_table() 146 free(handle); in ht_destroy_table() 157 ht_get_total_items(HT_HANDLE *handle) in ht_get_total_items() argument 159 if (handle == 0) in ht_get_total_items() 162 return (handle->ht_total_items); in ht_get_total_items() [all …]
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | model.h | 87 #define STRUCT_HANDLE(struct_type, handle) \ argument 94 } handle = { NULL, DATAMODEL_ILP32 } 96 #define STRUCT_DECL(struct_type, handle) \ argument 97 struct struct_type __##handle##_buf; \ 98 STRUCT_HANDLE(struct_type, handle) 100 #define STRUCT_SET_HANDLE(handle, umodel, addr) \ argument 101 (handle).model = (model_t)(umodel) & DATAMODEL_MASK; \ 103 ((handle).ptr.m64) = (addr) 105 #define STRUCT_INIT(handle, umodel) \ argument 106 STRUCT_SET_HANDLE(handle, umodel, &__##handle##_buf) [all …]
|
/titanic_41/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_parse.c | 75 int ns_msg_getflag(ns_msg handle, int flag) { in ns_msg_getflag() argument 76 return(((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift); in ns_msg_getflag() 104 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { in ns_initparse() argument 108 handle->_msg = msg; in ns_initparse() 109 handle->_eom = eom; in ns_initparse() 112 NS_GET16(handle->_id, msg); in ns_initparse() 115 NS_GET16(handle->_flags, msg); in ns_initparse() 119 NS_GET16(handle->_counts[i], msg); in ns_initparse() 122 if (handle->_counts[i] == 0) in ns_initparse() 123 handle->_sections[i] = NULL; in ns_initparse() [all …]
|
/titanic_41/usr/src/lib/libndmp/common/ |
H A D | libndmp_prop.c | 112 ndmp_scfhandle_t *handle; in ndmp_get_prop() local 117 if ((handle = ndmp_smf_scf_init(NDMP_GROUP_FMRI_PREFIX)) == NULL) { in ndmp_get_prop() 120 if (ndmp_smf_get_pg_name(handle, prop, &pgname)) { in ndmp_get_prop() 121 ndmp_smf_scf_fini(handle); in ndmp_get_prop() 125 if (ndmp_smf_create_service_pgroup(handle, pgname)) { in ndmp_get_prop() 126 ndmp_smf_scf_fini(handle); in ndmp_get_prop() 130 ndmp_smf_scf_fini(handle); in ndmp_get_prop() 134 if (ndmp_smf_get_property(handle, prop, lval, NDMP_PROP_LEN) != 0) { in ndmp_get_prop() 135 ndmp_smf_scf_fini(handle); in ndmp_get_prop() 141 ndmp_smf_scf_fini(handle); in ndmp_get_prop() [all …]
|
/titanic_41/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_test.c | 89 if ((handle->max_errors != 0) &&\ 90 (handle->max_errors == total_errors)) {\ 91 mtest_message(handle, (END_MSG));\ 92 error_summary(handle, total_errors);\ 93 SET_CONDITION(handle, cond);\ 98 error_summary(mtest_handle_t handle, uint_t total_errors) in error_summary() argument 103 mtest_message(handle, msgbuf); in error_summary() 108 error_print(char *writebuf, char *readbuf, mtest_handle_t handle, long pageno, in error_print() argument 114 (void) sprintf(msgbuf, pg_header_msg, PAGE_SIZE(handle) * pageno); in error_print() 115 mtest_message(handle, msgbuf); in error_print() [all …]
|
/titanic_41/usr/src/lib/libsmedia/library/common/ |
H A D | l_misc.c | 82 is_server_running(rmedia_handle_t *handle) in is_server_running() argument 195 handle->sm_clnt = clnt; in is_server_running() 202 void *handle; in get_dev_library_handle() local 240 handle = dlopen(pathname, RTLD_LAZY); in get_dev_library_handle() 241 if (handle == NULL) { in get_dev_library_handle() 245 d_fcn_ptr = (int32_t (*)(ushort_t, ushort_t))dlsym(handle, in get_dev_library_handle() 249 (void) dlclose(handle); in get_dev_library_handle() 255 v_fcn_ptr = (int32_t (*)(void))dlsym(handle, in get_dev_library_handle() 259 (void) dlclose(handle); in get_dev_library_handle() 267 old_handle = handle; in get_dev_library_handle() [all …]
|
/titanic_41/usr/src/uts/i86pc/os/cpupm/ |
H A D | cpu_acpi.c | 77 cpu_acpi_cache_ctrl_regs(cpu_acpi_handle_t handle, cpu_acpi_obj_t objtype, in cpu_acpi_cache_ctrl_regs() argument 94 astatus = AcpiEvaluateObjectTyped(handle->cs_handle, in cpu_acpi_cache_ctrl_regs() 98 DTRACE_PROBE3(cpu_acpi__eval__err, int, handle->cs_id, in cpu_acpi_cache_ctrl_regs() 106 handle->cs_id); in cpu_acpi_cache_ctrl_regs() 114 obj->Package.Count, handle->cs_id); in cpu_acpi_cache_ctrl_regs() 126 handle->cs_id); in cpu_acpi_cache_ctrl_regs() 137 handle->cs_id); in cpu_acpi_cache_ctrl_regs() 145 handle->cs_id); in cpu_acpi_cache_ctrl_regs() 154 handle->cs_id); in cpu_acpi_cache_ctrl_regs() 184 cpu_acpi_cache_pct(cpu_acpi_handle_t handle) in cpu_acpi_cache_pct() argument [all …]
|
/titanic_41/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_espc.c | 31 static int npi_vpd_read_prop(npi_handle_t handle, uint32_t ep, 35 npi_espc_pio_enable(npi_handle_t handle) in npi_espc_pio_enable() argument 37 NXGE_REG_WR64(handle, ESPC_REG_ADDR(ESPC_PIO_EN_REG), 0x1); in npi_espc_pio_enable() 42 npi_espc_pio_disable(npi_handle_t handle) in npi_espc_pio_disable() argument 44 NXGE_REG_WR64(handle, ESPC_REG_ADDR(ESPC_PIO_EN_REG), 0); in npi_espc_pio_disable() 49 npi_espc_eeprom_entry(npi_handle_t handle, io_op_t op, uint32_t addr, in npi_espc_eeprom_entry() argument 55 NPI_ERROR_MSG((handle.function, NPI_ERR_CTL, in npi_espc_eeprom_entry() 66 NXGE_REG_WR64(handle, ESPC_REG_ADDR(ESPC_PIO_STATUS_REG), val); in npi_espc_eeprom_entry() 67 EPC_WAIT_RW_COMP(handle, &val, EPC_WRITE_COMPLETE); in npi_espc_eeprom_entry() 69 NPI_ERROR_MSG((handle.function, NPI_ERR_CTL, in npi_espc_eeprom_entry() [all …]
|
H A D | npi_txdma.c | 35 static npi_status_t npi_txdma_control_reset_wait(npi_handle_t handle, 37 static npi_status_t npi_txdma_control_stop_wait(npi_handle_t handle, 39 static npi_status_t npi_txdma_control_resume_wait(npi_handle_t handle, 129 npi_txdma_dump_tdc_regs(npi_handle_t handle, uint8_t tdc) in npi_txdma_dump_tdc_regs() argument 137 NPI_ERROR_MSG((handle.function, NPI_ERR_CTL, in npi_txdma_dump_tdc_regs() 145 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_txdma_dump_tdc_regs() 151 TXDMA_REG_READ64(handle, tdc_dmc_offset[i], tdc, &value); in npi_txdma_dump_tdc_regs() 152 offset = NXGE_TXDMA_OFFSET(tdc_dmc_offset[i], handle.is_vraddr, in npi_txdma_dump_tdc_regs() 154 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, "0x%08llx " in npi_txdma_dump_tdc_regs() 160 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_txdma_dump_tdc_regs() [all …]
|
H A D | npi_ipp.c | 111 npi_ipp_dump_regs(npi_handle_t handle, uint8_t port) in npi_ipp_dump_regs() argument 118 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_ipp_dump_regs() 125 NXGE_REG_RD64(handle, (uint32_t)offset, &value); in npi_ipp_dump_regs() 127 NXGE_REG_RD64(handle, offset, &value); in npi_ipp_dump_regs() 129 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, "0x%08llx " in npi_ipp_dump_regs() 134 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_ipp_dump_regs() 141 npi_ipp_read_regs(npi_handle_t handle, uint8_t port) in npi_ipp_read_regs() argument 148 NPI_DEBUG_MSG((handle.function, NPI_IPP_CTL, in npi_ipp_read_regs() 155 NXGE_REG_RD64(handle, (uint32_t)offset, &value); in npi_ipp_read_regs() 157 NXGE_REG_RD64(handle, offset, &value); in npi_ipp_read_regs() [all …]
|
H A D | npi_rxdma.c | 111 npi_rxdma_cfg_rdc_ctl(npi_handle_t handle, uint8_t rdc, uint8_t op); 113 npi_rxdma_cfg_rdc_rcr_ctl(npi_handle_t handle, uint8_t rdc, uint8_t op, 131 npi_rxdma_dump_rdc_regs(npi_handle_t handle, uint8_t rdc) in npi_rxdma_dump_rdc_regs() argument 142 NPI_ERROR_MSG((handle.function, NPI_ERR_CTL, in npi_rxdma_dump_rdc_regs() 152 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_rxdma_dump_rdc_regs() 156 RXDMA_REG_READ64(handle, rdc_dmc_offset[i], rdc, &value); in npi_rxdma_dump_rdc_regs() 157 offset = NXGE_RXDMA_OFFSET(rdc_dmc_offset[i], handle.is_vraddr, in npi_rxdma_dump_rdc_regs() 159 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_rxdma_dump_rdc_regs() 164 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_rxdma_dump_rdc_regs() 184 npi_rxdma_dump_fzc_regs(npi_handle_t handle) in npi_rxdma_dump_fzc_regs() argument [all …]
|
H A D | npi_txc.c | 143 npi_txc_dump_tdc_fzc_regs(npi_handle_t handle, uint8_t tdc) in npi_txc_dump_tdc_fzc_regs() argument 150 NPI_ERROR_MSG((handle.function, NPI_ERR_CTL, in npi_txc_dump_tdc_fzc_regs() 157 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_txc_dump_tdc_fzc_regs() 164 NXGE_REG_RD64(handle, offset, &value); in npi_txc_dump_tdc_fzc_regs() 165 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, "0x%08llx " in npi_txc_dump_tdc_fzc_regs() 170 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_txc_dump_tdc_fzc_regs() 187 npi_txc_dump_fzc_regs(npi_handle_t handle) in npi_txc_dump_fzc_regs() argument 193 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_txc_dump_fzc_regs() 198 NXGE_REG_RD64(handle, txc_fzc_offset[i], &value); in npi_txc_dump_fzc_regs() 199 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, "0x%08llx " in npi_txc_dump_fzc_regs() [all …]
|
H A D | npi_vir.c | 110 npi_vir_dump_pio_fzc_regs_one(npi_handle_t handle) in npi_vir_dump_pio_fzc_regs_one() argument 115 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_vir_dump_pio_fzc_regs_one() 121 NXGE_REG_RD64(handle, pio_offset[i], &value); in npi_vir_dump_pio_fzc_regs_one() 122 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, "0x%08llx " in npi_vir_dump_pio_fzc_regs_one() 130 NXGE_REG_RD64(handle, fzc_pio_offset[i], &value); in npi_vir_dump_pio_fzc_regs_one() 131 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, "0x%08llx " in npi_vir_dump_pio_fzc_regs_one() 137 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_vir_dump_pio_fzc_regs_one() 143 npi_vir_dump_ldgnum(npi_handle_t handle) in npi_vir_dump_ldgnum() argument 148 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, in npi_vir_dump_ldgnum() 156 NXGE_REG_RD64(handle, offset, &value); in npi_vir_dump_ldgnum() [all …]
|
/titanic_41/usr/src/common/net/wanboot/ |
H A D | bootconf.c | 92 parse_bootconf(bc_handle_t *handle, const char *bootconf) in parse_bootconf() argument 99 handle->bc_error_code = BC_E_ACCESS; in parse_bootconf() 104 handle->bc_error_code = BC_E_NVLIST; in parse_bootconf() 114 ++(handle->bc_error_pos); in parse_bootconf() 120 handle->bc_error_code = BC_E_IOERR; in parse_bootconf() 123 handle->bc_error_code = BC_E_TOO_LONG; in parse_bootconf() 158 handle->bc_error_code = BC_E_SYNTAX; in parse_bootconf() 199 handle->bc_error_code = BC_E_SYNTAX; in parse_bootconf() 210 handle->bc_error_code = BC_E_SYNTAX; in parse_bootconf() 224 handle->bc_error_code = BC_E_UNKNOWN_NAME; in parse_bootconf() [all …]
|
/titanic_41/usr/src/lib/krb5/kadm5/clnt/ |
H A D | client_init.c | 302 _kadm5_initialize_rpcsec_gss_handle(kadm5_server_handle_t handle, in _kadm5_initialize_rpcsec_gss_handle() argument 329 char *server = handle->params.admin_server; in _kadm5_initialize_rpcsec_gss_handle() 337 if (handle->params.kpasswd_server != NULL) in _kadm5_initialize_rpcsec_gss_handle() 338 server = handle->params.kpasswd_server; in _kadm5_initialize_rpcsec_gss_handle() 352 addr.sin_port = htons((ushort_t)handle->params.kadmind_port); in _kadm5_initialize_rpcsec_gss_handle() 355 printf("kadmin_port %d\n", handle->params.kadmind_port); in _kadm5_initialize_rpcsec_gss_handle() 417 handle->clnt = clnt_tli_create(fd, nconf, NULL, in _kadm5_initialize_rpcsec_gss_handle() 421 handle->clnt = clnt_tli_create(fd, nconf, NULL, in _kadm5_initialize_rpcsec_gss_handle() 427 if (handle->clnt == NULL) { in _kadm5_initialize_rpcsec_gss_handle() 438 if (clnt_control(handle->clnt, CLSET_FD_CLOSE, NULL) != TRUE) { in _kadm5_initialize_rpcsec_gss_handle() [all …]
|
/titanic_41/usr/src/uts/common/io/hxge/ |
H A D | hpi_pfc.c | 35 hpi_pfc_tcam_check_completion(hpi_handle_t handle, tcam_op_t op_type) in hpi_pfc_tcam_check_completion() argument 44 READ_TCAM_REG_CTL(handle, &tctl.value); in hpi_pfc_tcam_check_completion() 49 READ_TCAM_REG_CTL(handle, &tctl.value); in hpi_pfc_tcam_check_completion() 53 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_pfc_tcam_check_completion() 62 READ_TCAM_REG_CTL(handle, &tctl.value); in hpi_pfc_tcam_check_completion() 68 READ_TCAM_REG_CTL(handle, &tctl.value); in hpi_pfc_tcam_check_completion() 72 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_pfc_tcam_check_completion() 78 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_pfc_tcam_check_completion() 87 hpi_pfc_tcam_entry_read(hpi_handle_t handle, uint32_t location, in hpi_pfc_tcam_entry_read() argument 96 WRITE_TCAM_REG_MASK0(handle, tcam_ptr->mask0); in hpi_pfc_tcam_entry_read() [all …]
|
H A D | hpi_txdma.c | 34 static hpi_status_t hpi_txdma_control_reset_wait(hpi_handle_t handle, 38 hpi_txdma_log_page_handle_set(hpi_handle_t handle, uint8_t channel, in hpi_txdma_log_page_handle_set() argument 44 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_txdma_log_page_handle_set() 50 TXDMA_REG_WRITE64(handle, TDC_PAGE_HANDLE, channel, hdl_p->value); in hpi_txdma_log_page_handle_set() 56 hpi_txdma_channel_reset(hpi_handle_t handle, uint8_t channel) in hpi_txdma_channel_reset() argument 58 HPI_DEBUG_MSG((handle.function, HPI_TDC_CTL, in hpi_txdma_channel_reset() 60 return (hpi_txdma_channel_control(handle, TXDMA_RESET, channel)); in hpi_txdma_channel_reset() 64 hpi_txdma_channel_init_enable(hpi_handle_t handle, uint8_t channel) in hpi_txdma_channel_init_enable() argument 66 return (hpi_txdma_channel_control(handle, TXDMA_INIT_START, channel)); in hpi_txdma_channel_init_enable() 70 hpi_txdma_channel_enable(hpi_handle_t handle, uint8_t channel) in hpi_txdma_channel_enable() argument [all …]
|
H A D | hpi_rxdma.c | 42 hpi_rxdma_cfg_logical_page_handle(hpi_handle_t handle, uint8_t rdc, in hpi_rxdma_cfg_logical_page_handle() argument 48 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_rxdma_cfg_logical_page_handle() 55 page_hdl.bits.handle = (uint32_t)page_handle; in hpi_rxdma_cfg_logical_page_handle() 57 RXDMA_REG_WRITE64(handle, RDC_PAGE_HANDLE, rdc, page_hdl.value); in hpi_rxdma_cfg_logical_page_handle() 63 hpi_rxdma_cfg_rdc_wait_for_qst(hpi_handle_t handle, uint8_t rdc) in hpi_rxdma_cfg_rdc_wait_for_qst() argument 69 RXDMA_REG_READ64(handle, RDC_RX_CFG1, rdc, &cfg.value); in hpi_rxdma_cfg_rdc_wait_for_qst() 73 RXDMA_REG_READ64(handle, RDC_RX_CFG1, rdc, &cfg.value); in hpi_rxdma_cfg_rdc_wait_for_qst() 84 hpi_rxdma_cfg_rdc_ctl(hpi_handle_t handle, uint8_t rdc, uint8_t op) in hpi_rxdma_cfg_rdc_ctl() argument 92 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_rxdma_cfg_rdc_ctl() 99 RXDMA_REG_READ64(handle, RDC_RX_CFG1, rdc, &cfg.value); in hpi_rxdma_cfg_rdc_ctl() [all …]
|
/titanic_41/usr/src/uts/common/io/igb/ |
H A D | igb_debug.c | 39 ddi_acc_handle_t handle; in pci_dump() local 55 handle = igb->osdep.cfg_handle; in pci_dump() 61 pci_config_get16(handle, PCI_CONF_VENID)); in pci_dump() 64 pci_config_get16(handle, PCI_CONF_DEVID)); in pci_dump() 67 pci_config_get16(handle, PCI_CONF_COMM)); in pci_dump() 70 pci_config_get16(handle, PCI_CONF_STAT)); in pci_dump() 73 pci_config_get8(handle, PCI_CONF_REVID)); in pci_dump() 76 pci_config_get8(handle, PCI_CONF_PROGCLASS)); in pci_dump() 79 pci_config_get8(handle, PCI_CONF_SUBCLASS)); in pci_dump() 82 pci_config_get8(handle, PCI_CONF_BASCLASS)); in pci_dump() [all …]
|
/titanic_41/usr/src/lib/libdevinfo/ |
H A D | devinfo_finddev.c | 102 struct finddevhdl *handle; in finddev_readdir_alt() local 112 handle = calloc(1, sizeof (struct finddevhdl)); in finddev_readdir_alt() 113 if (handle == NULL) { in finddev_readdir_alt() 118 handle->npaths = 0; in finddev_readdir_alt() 119 handle->curpath = 0; in finddev_readdir_alt() 120 handle->paths = NULL; in finddev_readdir_alt() 131 handle->npaths = n; in finddev_readdir_alt() 132 handle->paths = calloc(n, sizeof (char *)); in finddev_readdir_alt() 133 if (handle->paths == NULL) { in finddev_readdir_alt() 134 free(handle); in finddev_readdir_alt() [all …]
|
/titanic_41/usr/src/lib/libshare/common/ |
H A D | scfutil.c | 68 sa_scf_fini(scfutilhandle_t *handle) in sa_scf_fini() argument 70 if (handle != NULL) { in sa_scf_fini() 72 if (handle->scope != NULL) { in sa_scf_fini() 74 scf_scope_destroy(handle->scope); in sa_scf_fini() 76 if (handle->instance != NULL) in sa_scf_fini() 77 scf_instance_destroy(handle->instance); in sa_scf_fini() 78 if (handle->service != NULL) in sa_scf_fini() 79 scf_service_destroy(handle->service); in sa_scf_fini() 80 if (handle->pg != NULL) in sa_scf_fini() 81 scf_pg_destroy(handle->pg); in sa_scf_fini() [all …]
|