/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | if_mpadm.c | 77 ipmp_handle_t handle; in main() local 116 if ((retval = ipmp_open(&handle)) != IPMP_SUCCESS) in main() 119 (*ofuncp)(ifname, handle); in main() 121 ipmp_close(handle); in main() 148 do_offline(const char *ifname, ipmp_handle_t handle) in do_offline() argument 156 if ((retval = ipmp_offline(handle, ifname, 1)) != IPMP_SUCCESS) in do_offline() 179 undo_offline(const char *ifname, ipmp_handle_t handle) in undo_offline() argument 206 if ((retval = ipmp_undo_offline(handle, ifname)) != IPMP_SUCCESS) { in undo_offline()
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasScsiReportLUNs.c | 67 Sun_sasScsiReportLUNs(HBA_HANDLE handle, HBA_WWN portWWN, HBA_WWN targetPortWWN, in Sun_sasScsiReportLUNs() argument 107 index = RetrieveIndex(handle); in Sun_sasScsiReportLUNs() 110 log(LOG_DEBUG, ROUTINE, "Invalid handle %08lx", handle); in Sun_sasScsiReportLUNs() 185 wwnConversion(targetPortWWN.wwn), handle); in Sun_sasScsiReportLUNs() 212 wwnConversion(targetPortWWN.wwn), handle); in Sun_sasScsiReportLUNs() 222 "handle %08lx", wwnConversion(portWWN.wwn), handle); in Sun_sasScsiReportLUNs() 226 wwnConversion(domainPortWWN.wwn), handle); in Sun_sasScsiReportLUNs() 230 wwnConversion(targetPortWWN.wwn), handle); in Sun_sasScsiReportLUNs()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunpci.c | 55 pci_config_teardown(ddi_acc_handle_t *handle) in pci_config_teardown() argument 57 ddi_regs_map_free(handle); in pci_config_teardown() 66 hp = impl_acc_hdl_get(handle); in pci_config_get8() 77 hp = impl_acc_hdl_get(handle); in pci_config_get16() 88 hp = impl_acc_hdl_get(handle); in pci_config_get32() 99 hp = impl_acc_hdl_get(handle); in pci_config_get64() 110 hp = impl_acc_hdl_get(handle); in pci_config_put8() 112 ddi_put8(handle, (uint8_t *)cfgaddr, value); in pci_config_put8() 121 hp = impl_acc_hdl_get(handle); in pci_config_put16() 132 hp = impl_acc_hdl_get(handle); in pci_config_put32() [all …]
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_misc_free.c | 37 kadm5_server_handle_t handle = server_handle; in kadm5_free_principal_ent() local 43 krb5_free_principal(handle->context, val->principal); in kadm5_free_principal_ent() 45 krb5_free_principal(handle->context, val->mod_name); in kadm5_free_principal_ent() 51 if (handle->api_version == KADM5_API_VERSION_1) in kadm5_free_principal_ent()
|
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_format.c | 539 _m_media_format(rmedia_handle_t *handle, void *ip) { in _m_media_format() argument 543 if (handle == NULL) { in _m_media_format() 548 if (handle->sm_signature != (int32_t)LIBSMEDIA_SIGNATURE) { in _m_media_format() 552 LIBSMEDIA_SIGNATURE, handle->sm_signature); in _m_media_format() 556 if (handle->sm_fd < 0) { in _m_media_format() 565 return (format_floppy(handle->sm_fd, &ft)); in _m_media_format() 570 _m_media_format_track(rmedia_handle_t *handle, void *ip) in _m_media_format_track() argument 574 if (handle == NULL) { in _m_media_format_track() 583 LIBSMEDIA_SIGNATURE, handle->sm_signature); in _m_media_format_track() 587 if (handle->sm_fd < 0) { in _m_media_format_track() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/ |
H A D | apic_introp.c | 77 ASSERT((handle != NULL) && (cap_ptr != 0)); in apic_pci_msi_enable_vector() 118 pci_config_put32(handle, in apic_pci_msi_enable_vector() 122 pci_config_put32(handle, in apic_pci_msi_enable_vector() 124 pci_config_put16(handle, in apic_pci_msi_enable_vector() 127 pci_config_put16(handle, in apic_pci_msi_enable_vector() 421 ASSERT((handle != NULL) && (cap_ptr != 0)); in apic_pci_msi_enable_mode() 516 ddi_acc_handle_t handle; in apic_grp_set_cpu() local 590 handle = i_ddi_get_pci_config_handle(orig_dip); in apic_grp_set_cpu() 603 pci_config_get32(handle, msi_mask_off))); in apic_grp_set_cpu() 631 pci_config_put32(handle, msi_mask_off, msi_pvm); in apic_grp_set_cpu() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | wpa_supplicant.c | 140 if (wpa_s->driver->scan(wpa_s->handle, wpa_s->linkid)) { in wpa_supplicant_scan() 204 dladm_close(wpa_s->handle); in wpa_supplicant_cleanup() 222 wpa_s->driver->set_key(wpa_s->handle, wpa_s->linkid, in wpa_clear_keys() 357 wpa_s->driver->associate(wpa_s->handle, wpa_s->linkid, in wpa_supplicant_associate() 371 wpa_s->driver->disassociate(wpa_s->handle, wpa_s->linkid, in wpa_supplicant_disassociate() 789 dladm_handle_t handle; in main() local 841 if (dladm_open(&handle) != DLADM_STATUS_OK) { in main() 850 dladm_close(handle); in main() 860 if (dladm_phys_info(handle, linkid, &dpa, DLADM_OPT_ACTIVE) != in main() 864 dladm_close(handle); in main() [all …]
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlflow.c | 568 i_dladm_flow_remove(dladm_handle_t handle, char *flowname) in i_dladm_flow_remove() argument 623 (void) i_dladm_flow_remove(handle, flowname); in dladm_flow_add() 628 status = i_dladm_set_flow_proplist_db(handle, flowname, in dladm_flow_add() 631 (void) i_dladm_flow_remove(handle, flowname); in dladm_flow_add() 652 status = i_dladm_flow_remove(handle, flowname); in dladm_flow_remove() 671 s = dladm_set_flowprop(handle, flowname, NULL, NULL, 0, in dladm_flow_remove() 710 dladm_handle_t handle = NULL; in i_dladm_flow_get_db_fn() local 720 (void) state->gs_fn(handle, &attr, state->gs_arg); in i_dladm_flow_get_db_fn() 791 if (fn(handle, &attr, arg) == DLADM_WALK_TERMINATE) in dladm_walk_flow() 802 dladm_flow_init(dladm_handle_t handle) in dladm_flow_init() argument [all …]
|
H A D | propfuncs.c | 255 process_prop_init(dladm_handle_t handle, prop_db_state_t *lsp, in process_prop_init() argument 282 status = (*lsp->ls_initop)(handle, lsp->ls_name, lip->li_name, in process_prop_init() 448 cont = (*lsp->ls_op)(handle, lsp, buf, lip, statusp); in process_prop_line() 485 cont = process_prop_line(handle, lsp, buf, &status); in process_prop_db() 501 (void) (*lsp->ls_op)(handle, lsp, buf, NULL, &status); in process_prop_db() 538 status = pdp->pd_get(handle, name, prop_val, val_cntp); in i_dladm_get_prop_temp() 551 status = pdp->pd_getmod(handle, name, prop_val, in i_dladm_get_prop_temp() 577 i_dladm_set_one_prop_temp(dladm_handle_t handle, const char *name, in i_dladm_set_one_prop_temp() argument 611 status = pdp->pd_set(handle, name, vdp, cnt); in i_dladm_set_one_prop_temp() 618 i_dladm_set_prop_temp(dladm_handle_t handle, const char *name, in i_dladm_set_prop_temp() argument [all …]
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 51 CK_OBJECT_HANDLE handle; member 190 pk11_authenticate(KMF_HANDLE_T handle, in pk11_authenticate() argument 208 handle->lasterr.errcode = ck_rv; in pk11_authenticate() 475 search_certs(KMF_HANDLE_T handle, in search_certs() argument 552 newlist->handle = tObj; in search_certs() 563 tail->handle = tObj; in search_certs() 601 rv = kmf_check_cert_date(handle, in search_certs() 2263 SET_ERROR(handle, ckrv); in KMFPK11_FindPrikeyByCert() 2279 SET_ERROR(handle, ckrv); in KMFPK11_FindPrikeyByCert() 3066 ckrv = getObjectLabel(handle, in KMFPK11_FindKey() [all …]
|
/illumos-gate/usr/src/uts/common/sys/rsm/ |
H A D | rsmpi.h | 154 rsm_controller_handle_t handle; member 177 rsm_memseg_export_handle_t handle; member 251 (rsm_memseg_export_handle_t handle); 621 ((controller).handle, (addr), (barrier)) 624 ((controller).handle, (barrier)) 633 ((controller).handle, (addr), (barrier)) 636 ((controller).handle, (barrier)); 648 ((controller).handle) 651 ((controller).handle) 691 ((controller).handle, (sg_io)) [all …]
|
/illumos-gate/usr/src/uts/common/sys/usb/usba/ |
H A D | usbai_private.h | 215 usb_log_handle_t handle, 220 usb_log_handle_t handle, 234 usb_log_handle_t handle, 239 usb_log_handle_t handle, 244 usb_log_handle_t handle, 257 usb_log_handle_t handle); 262 usb_log_handle_t handle,
|
/illumos-gate/usr/src/lib/udapl/libdat/include/dat/ |
H A D | dat_redirection.h | 71 #define DAT_HANDLE_TO_PROVIDER(handle) (*(DAT_PROVIDER **)(handle)) argument 83 #define DAT_SET_CONSUMER_CONTEXT(handle, context) \ argument 85 (handle),\ 88 #define DAT_GET_CONSUMER_CONTEXT(handle, context) \ argument 90 (handle),\ 93 #define DAT_GET_HANDLE_TYPE(handle, handle_type) \ argument 94 (*DAT_HANDLE_TO_PROVIDER(handle)->get_handle_type_func)(\ 95 (handle),\ 319 (handle)) 327 (handle)) [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_gld_v3.c | 508 mac_prop_info_handle_t handle) in sfxge_gld_priv_prop_info() argument 511 mac_prop_info_set_default_uint32(handle, in sfxge_gld_priv_prop_info() 513 mac_prop_info_set_perm(handle, MAC_PROP_PERM_RW); in sfxge_gld_priv_prop_info() 518 mac_prop_info_set_default_uint32(handle, ncpus); in sfxge_gld_priv_prop_info() 519 mac_prop_info_set_range_uint32(handle, 1, in sfxge_gld_priv_prop_info() 526 mac_prop_info_set_default_uint32(handle, in sfxge_gld_priv_prop_info() 528 mac_prop_info_set_range_uint32(handle, in sfxge_gld_priv_prop_info() 535 mac_prop_info_set_default_uint8(handle, 0); in sfxge_gld_priv_prop_info() 542 mac_prop_info_set_default_uint8(handle, 0); in sfxge_gld_priv_prop_info() 1133 mac_prop_info_handle_t handle) in sfxge_gld_propinfo() argument [all …]
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vio_common.h | 52 #define VIO_DRING_ACQUIRE(otd, mtype, handle, start, stop) \ argument 55 ldc_mem_dring_acquire((handle), (start), (stop))) 61 #define VIO_DRING_RELEASE(mtype, handle, start, stop) \ argument 64 ldc_mem_dring_release((handle), (start), (stop)))
|
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/ |
H A D | tavor.c | 1211 handle->ibguids[i] = 0x00000000; in tavor_get_guids() 1230 bcopy(&handle->pps[0], &i, 4); in tavor_get_guids() 1232 bcopy(&handle->sps[0], &i, 4); in tavor_get_guids() 1351 handle->ibguids[0] = p->nodeguid; in tavor_get_guids() 1352 handle->ibguids[1] = p->port1guid; in tavor_get_guids() 1353 handle->ibguids[2] = p->port2guid; in tavor_get_guids() 1354 handle->ibguids[3] = p->sysimguid; in tavor_get_guids() 1389 handle->ibguids[i]); in tavor_get_guids() 1401 struct ib_encap_ident *handle; in tavor_close() local 1404 if (handle->fd > 0) { in tavor_close() [all …]
|
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/ |
H A D | arcmsr.h | 102 #define CHIP_REG_READ8(handle, a) \ argument 103 (ddi_get8(handle, (uint8_t *)(a))) 104 #define CHIP_REG_READ16(handle, a) \ argument 105 (ddi_get16(handle, (uint16_t *)(a))) 106 #define CHIP_REG_READ32(handle, a) \ argument 107 (ddi_get32(handle, (uint32_t *)(a))) 108 #define CHIP_REG_READ64(handle, a) \ argument 109 (ddi_get64(handle, (uint64_t *)(a))) 110 #define CHIP_REG_WRITE8(handle, a, d) \ argument 112 #define CHIP_REG_WRITE16(handle, a, d) \ argument [all …]
|
/illumos-gate/usr/src/cmd/fwflash/common/ |
H A D | fwflash.c | 265 (void) dlclose(tmpplug->handle); \ in flash_load_plugins() 359 if (tmpplug->handle == NULL) { in flash_load_plugins() 436 if ((sym = dlsym(tmpplug->handle, in flash_load_plugins() 630 free(vrfy->handle); in fwflash_load_verifier() 639 (void) dlclose(vrfy->handle); in fwflash_load_verifier() 655 (void) dlclose(vrfy->handle); in fwflash_load_verifier() 752 (void) dlclose(verifier->handle); in fwflash_load_verifier() 753 verifier->handle = NULL; in fwflash_load_verifier() 1153 thisplug->plugin->handle = NULL; in fwflash_intr() 1170 (void) dlclose(verifier->handle); in fwflash_intr() [all …]
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | efiserialio.c | 168 EFI_HANDLE *handles, handle; in efi_serial_get_handle() local 179 handle = NULL; in efi_serial_get_handle() 183 handle = (handles[index]); in efi_serial_get_handle() 192 if (port < nhandles && handle == NULL) in efi_serial_get_handle() 193 handle = handles[port]; in efi_serial_get_handle() 196 return (handle); in efi_serial_get_handle() 203 EFI_HANDLE handle; in comc_probe() local 236 if (handle != NULL) { in comc_probe() 367 EFI_HANDLE handle; in comc_devinfo() local 372 if (handle == NULL) { in comc_devinfo() [all …]
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_txdma.c | 156 hpi_handle_t handle; in hxge_reset_txdma_channel() local 186 hpi_handle_t handle; in hxge_init_txdma_channel_event_mask() local 215 hpi_handle_t handle; in hxge_enable_txdma_channel() local 613 hpi_handle_t handle; in hxge_txdma_reclaim() local 811 hpi_handle_t handle; in hxge_tx_intr() local 915 hpi_handle_t handle; in hxge_txdma_hw_mode() local 988 hpi_handle_t handle; in hxge_txdma_enable_channel() local 1003 hpi_handle_t handle; in hxge_txdma_disable_channel() local 1018 hpi_handle_t handle; in hxge_txdma_stop_inj_err() local 1301 hpi_handle_t handle; in hxge_txdma_channel_hung() local [all …]
|
H A D | hpi_pfc.h | 137 hpi_status_t hpi_pfc_get_l3_class_config(hpi_handle_t handle, tcam_class_t slot, 139 hpi_status_t hpi_pfc_set_l3_class_config(hpi_handle_t handle, tcam_class_t slot, 151 hpi_status_t hpi_pfc_tcam_asc_ram_entry_read(hpi_handle_t handle, 153 hpi_status_t hpi_pfc_tcam_asc_ram_entry_write(hpi_handle_t handle, 193 hpi_status_t hpi_pfc_get_number_mac_addrs(hpi_handle_t handle, 195 hpi_status_t hpi_pfc_mac_addr_get_i(hpi_handle_t handle, uint8_t *data, 197 hpi_status_t hpi_pfc_num_macs_get(hpi_handle_t handle, uint8_t *data);
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | certgetsetop.c | 1256 CLEAR_ERROR(handle, ret); in KMF_CertGetPrintable() 1289 CLEAR_ERROR(handle, ret); in kmf_get_cert_version_str() 1321 CLEAR_ERROR(handle, ret); in kmf_get_cert_subject_str() 1353 CLEAR_ERROR(handle, ret); in kmf_get_cert_issuer_str() 1385 CLEAR_ERROR(handle, ret); in kmf_get_cert_serial_str() 1416 CLEAR_ERROR(handle, ret); in kmf_get_cert_start_date_str() 1447 CLEAR_ERROR(handle, ret); in kmf_get_cert_end_date_str() 1478 CLEAR_ERROR(handle, ret); in kmf_get_cert_pubkey_alg_str() 1509 CLEAR_ERROR(handle, ret); in kmf_get_cert_sig_alg_str() 1540 CLEAR_ERROR(handle, ret); in kmf_get_cert_pubkey_str() [all …]
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_rxdma.c | 286 npi_handle_t handle; in nxge_reset_rxdma_channel() local 346 npi_handle_t handle; in nxge_dump_rxdma_channel() local 366 npi_handle_t handle; in nxge_init_rxdma_channel_event_mask() local 386 npi_handle_t handle; in nxge_init_rxdma_channel_cntl_stat() local 430 npi_handle_t handle; in nxge_rxdma_cfg_rdcgrp_default_rdc() local 466 npi_handle_t handle; in nxge_rxdma_cfg_port_default_rdc() local 493 npi_handle_t handle; in nxge_rxdma_cfg_rcr_threshold() local 512 npi_handle_t handle; in nxge_rxdma_cfg_rcr_timeout() local 533 npi_handle_t handle; in nxge_enable_rxdma_channel() local 651 npi_handle_t handle; in nxge_disable_rxdma_channel() local [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema.c | 857 test_stop.handle = test_start.handle; in mtest_run() 886 (void) memset((void *)&handle, 0, sizeof (handle)); in mtest_run() 887 handle.fd = fd; in mtest_run() 889 handle.msgp = msgp; in mtest_run() 927 test_stop.handle = test_start.handle; in mtest_run() 964 mtest_handle_t handle, in mtest_write() argument 976 fd = handle->fd; in mtest_write() 977 test_write.handle = DRVHANDLE(handle); in mtest_write() 999 mtest_handle_t handle, in mtest_read() argument 1014 fd = handle->fd; in mtest_read() [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | dlfcns.c | 572 Grp_hdl *ghp = (Grp_hdl *)handle; in dlclose_check() 581 EC_NATPTR(handle)); in dlclose_check() 593 dlclose(void *handle) in dlclose() argument 1268 if (handle == RTLD_PROBE) in dlsym_core() 1429 if ((handle == RTLD_NEXT) || (handle == RTLD_DEFAULT) || in dlsym_intn() 1430 (handle == RTLD_SELF) || (handle == RTLD_PROBE)) in dlsym_intn() 1497 if ((handle != RTLD_NEXT) && (handle != RTLD_DEFAULT) && in dlsym_check() 1498 (handle != RTLD_SELF) && (handle != RTLD_PROBE) && in dlsym_check() 1501 EC_NATPTR(handle)); in dlsym_check() 1804 if (handle == RTLD_SELF) { in dlinfo_core() [all …]
|