Home
last modified time | relevance | path

Searched refs:handle (Results 51 – 75 of 1038) sorted by relevance

12345678910>>...42

/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_ipp.c37 npi_handle_t handle; in nxge_ipp_init() local
46 handle = nxgep->npi_handle; in nxge_ipp_init()
128 npi_handle_t handle; in nxge_ipp_disable() local
133 handle = nxgep->npi_handle; in nxge_ipp_disable()
184 npi_handle_t handle; in nxge_ipp_reset() local
189 handle = nxgep->npi_handle; in nxge_ipp_reset()
252 npi_handle_t handle; in nxge_ipp_enable() local
287 npi_handle_t handle; in nxge_ipp_drain() local
331 npi_handle_t handle; in nxge_ipp_handle_sys_errors() local
596 npi_handle_t handle; in nxge_ipp_fatal_err_recover() local
[all …]
H A Dnxge_txc.c40 npi_handle_t handle; in nxge_txc_init() local
43 handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_txc_init()
84 npi_handle_t handle; in nxge_txc_uninit() local
87 handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_txc_uninit()
151 npi_handle_t handle; in nxge_txc_tdc_bind() local
253 npi_handle_t handle; in nxge_txc_tdc_unbind() local
299 npi_handle_t handle; in nxge_txc_regs_dump() local
335 npi_handle_t handle; in nxge_txc_handle_sys_errors() local
342 handle = nxgep->npi_handle; in nxge_txc_handle_sys_errors()
389 npi_handle_t handle; in nxge_txc_handle_port_errors() local
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c254 kdb_free_entry(handle, &kdb, &adb); in kadm5_create_principal_3()
263 kdb_free_entry(handle, NULL, &adb); in kadm5_create_principal_3()
382 if ((ret = krb5_dbe_cpw(handle->context, &handle->master_keyblock, in kadm5_create_principal_3()
1380 ret = krb5_dbe_cpw(handle->context, &handle->master_keyblock, in kadm5_chpass_principal_3()
1423 &handle->master_keyblock, in kadm5_chpass_principal_3()
1437 &handle->master_keyblock, in kadm5_chpass_principal_3()
1582 ret = krb5_dbe_crk(handle->context, &handle->master_keyblock, in kadm5_randkey_principal_3()
1628 &handle->master_keyblock, in kadm5_randkey_principal_3()
1663 &handle->master_keyblock, in kadm5_randkey_principal_3()
1962 &handle->master_keyblock, in kadm5_setkey_principal_3()
[all …]
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcadm-list.c125 if (*handle != NULL) { in cfgInit()
141 scf_handle_t *handle = NULL; in npivAddRemoveNPIVEntry() local
379 if (handle != NULL) { in npivAddRemoveNPIVEntry()
509 HBA_HANDLE handle; in fc_util_delete_npivport() local
605 HBA_CloseAdapter(handle); in fc_util_delete_npivport()
622 HBA_HANDLE handle; in fc_util_create_npivport() local
763 HBA_CloseAdapter(handle); in fc_util_create_npivport()
781 HBA_HANDLE handle; in create_npivport() local
836 HBA_CloseAdapter(handle); in create_npivport()
919 if (handle != NULL) { in fc_util_create_portlist()
[all …]
H A Dfcinfo-list.c542 handle, in handleScsiTarget()
611 HBA_HANDLE handle; in fc_util_list_remoteport() local
687 HBA_CloseAdapter(handle); in fc_util_list_remoteport()
700 HBA_CloseAdapter(handle); in fc_util_list_remoteport()
726 HBA_HANDLE handle; in fc_util_list_hbaport() local
974 handle); in fc_util_list_hbaport()
1097 handle, in searchDevice()
1212 handle, in searchDevice()
1263 HBA_HANDLE handle; in fc_util_list_logicalunit() local
1364 handle, verbose); in fc_util_list_logicalunit()
[all …]
/illumos-gate/usr/src/uts/sun/io/audio/drv/audiocs/
H A Daudio_4231_apcdma.c110 ddi_acc_handle_t *handle = &APC_HANDLE; in apc_map_regs() local
164 ddi_acc_handle_t handle = APC_HANDLE; in apc_reset() local
204 ddi_acc_handle_t handle = APC_HANDLE; in apc_start_engine() local
221 csr = ddi_get32(handle, &APC_DMACSR); in apc_start_engine()
270 ddi_acc_handle_t handle = APC_HANDLE; in apc_stop_engine() local
292 reg = ddi_get32(handle, &APC_DMACSR); in apc_stop_engine()
323 ddi_acc_handle_t handle = APC_HANDLE; in apc_power() local
346 ddi_acc_handle_t handle = APC_HANDLE; in apc_reload() local
367 (void) ddi_get32(handle, nva); in apc_reload()
370 ddi_put32(handle, nva, in apc_reload()
[all …]
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/
H A Df_generic.c79 if (handle == NULL) { in _m_get_media_info()
89 handle->sm_signature); in _m_get_media_info()
93 if (handle->sm_fd < 0) { in _m_get_media_info()
121 if (handle == NULL) { in _m_get_device_info()
131 handle->sm_signature); in _m_get_device_info()
135 if (handle->sm_fd < 0) { in _m_get_device_info()
181 if (handle == NULL) { in _m_free_device_info()
228 if (handle == NULL) { in _m_raw_read()
242 if (handle->sm_fd < 0) { in _m_raw_read()
302 if (handle == NULL) { in _m_raw_write()
[all …]
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dpapi.h228 extern papi_status_t papiServiceCreate(papi_service_t *handle,
235 extern void papiServiceDestroy(papi_service_t handle);
242 extern papi_status_t papiServiceSetAuthCB(papi_service_t handle,
247 extern char *papiServiceGetServiceName(papi_service_t handle);
248 extern char *papiServiceGetUserName(papi_service_t handle);
249 extern char *papiServiceGetPassword(papi_service_t handle);
251 extern void *papiServiceGetAppData(papi_service_t handle);
326 extern papi_status_t papiPrintersList(papi_service_t handle,
371 extern papi_status_t papiJobStreamOpen(papi_service_t handle,
376 extern papi_status_t papiJobStreamWrite(papi_service_t handle,
[all …]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_debug.c372 ddi_acc_handle_t handle; in pciconfig_dump() local
377 handle = Adapter->osdep.cfg_handle; in pciconfig_dump()
416 pci_config_get8(handle, PCI_CONF_BIST)); in pciconfig_dump()
427 pci_config_get32(handle, PCI_CONF_CIS)); in pciconfig_dump()
436 pci_config_get32(handle, PCI_CONF_ROM)); in pciconfig_dump()
447 pci_config_get8(handle, PCI_CONF_IPIN)); in pciconfig_dump()
460 pci_config_get8(handle, offset)); in pciconfig_dump()
484 pci_config_get8(handle, offset)); in pciconfig_dump()
498 pci_config_get32(handle, offset + 0x8)); in pciconfig_dump()
584 size = pci_config_get32(handle, offset); in pciconfig_bar()
[all …]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhpi_txdma.h51 #define TXDMA_REG_READ64(handle, reg, channel, val_p) \ argument
52 HXGE_REG_RD64(handle, \
53 (HXGE_TXDMA_OFFSET(reg, handle.is_vraddr, channel)), val_p)
55 #define TXDMA_REG_WRITE64(handle, reg, channel, data) \ argument
56 HXGE_REG_WR64(handle, \
57 HXGE_TXDMA_OFFSET(reg, handle.is_vraddr, channel), data)
101 hpi_status_t hpi_txdma_log_page_handle_set(hpi_handle_t handle,
110 hpi_status_t hpi_txdma_channel_control(hpi_handle_t handle,
122 hpi_status_t hpi_txdma_desc_gather_set(hpi_handle_t handle,
126 hpi_status_t hpi_txdma_control_stop_wait(hpi_handle_t handle,
[all …]
H A Dhpi_vmac.c35 hpi_tx_vmac_reset(hpi_handle_t handle) in hpi_tx_vmac_reset() argument
39 HXGE_REG_RD64(handle, VMAC_RST, &(reset.value)); in hpi_tx_vmac_reset()
43 HXGE_REG_WR64(handle, VMAC_RST, reset.value); in hpi_tx_vmac_reset()
49 hpi_rx_vmac_reset(hpi_handle_t handle) in hpi_rx_vmac_reset() argument
57 HXGE_REG_WR64(handle, VMAC_RST, reset.value); in hpi_rx_vmac_reset()
70 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_vmac_tx_config()
76 HXGE_REG_RD64(handle, VMAC_TX_CFG, &cfg.value); in hpi_vmac_tx_config()
118 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_vmac_tx_config()
159 HPI_ERROR_MSG((handle.function, HPI_ERR_CTL, in hpi_vmac_rx_config()
281 REG_PIO_WRITE64(handle, offset, value); in hpi_pfc_set_rx_int_stat_mask()
[all …]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlaggr.c352 if ((status = read_port(handle, &next, in i_dladm_aggr_info_persist()
359 dladm_destroy_conf(handle, conf); in i_dladm_aggr_info_persist()
463 status = write_port(handle, portstr, in i_dladm_aggr_add_rmv()
495 status = write_port(handle, portstr, in i_dladm_aggr_add_rmv()
529 status = dladm_write_conf(handle, conf); in i_dladm_aggr_add_rmv()
532 dladm_destroy_conf(handle, conf); in i_dladm_aggr_add_rmv()
1103 status = dladm_write_conf(handle, conf); in dladm_aggr_persist_aggr_conf()
1106 dladm_destroy_conf(handle, conf); in dladm_aggr_persist_aggr_conf()
1321 dladm_destroy_conf(handle, conf); in dladm_aggr_modify()
1337 dladm_destroy_conf(handle, conf); in dladm_aggr_modify()
[all …]
H A Dlibdlwlan.c1598 pg = scf_pg_create(handle); in add_property_group_to_instance()
1617 entry = scf_entry_create(handle); in add_new_property()
1621 value = scf_value_create(handle); in add_new_property()
1762 scf_handle_t *handle = NULL; in create_instance() local
1765 if (handle == NULL) in create_instance()
1784 if (handle != NULL) { in create_instance()
1786 scf_handle_destroy(handle); in create_instance()
1840 scf_handle_t *handle = NULL; in delete_instance() local
1844 if (handle == NULL) in delete_instance()
1914 if (handle != NULL) { in delete_instance()
[all …]
H A Dlibdlvnic.c220 if ((status = dladm_name2info(handle, linkover, in i_dladm_vnic_info_persist()
289 dladm_destroy_conf(handle, conf); in i_dladm_vnic_info_persist()
579 status = dladm_set_linkprop(handle, vnic_id, in dladm_vnic_create()
596 (void) dladm_remove_conf(handle, vnic_id); in dladm_vnic_create()
610 stat2 = dladm_bridge_refresh(handle, linkid); in dladm_vnic_create()
655 (void) dladm_remove_conf(handle, linkid); in dladm_vnic_delete()
659 return (dladm_bridge_refresh(handle, linkid)); in dladm_vnic_delete()
747 status = dladm_set_conf_field(handle, conf, in dladm_vnic_persist_conf()
756 status = dladm_set_conf_field(handle, conf, in dladm_vnic_persist_conf()
780 status = dladm_write_conf(handle, conf); in dladm_vnic_persist_conf()
[all …]
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Dservice.c222 if (handle == NULL) in papiServiceCreate()
262 if (handle != NULL) { in papiServiceDestroy()
286 free(handle); in papiServiceDestroy()
295 if (handle != NULL) { in papiServiceSetPeer()
311 if (handle != NULL) { in papiServiceSetUserName()
333 if (handle != NULL) { in papiServiceSetPassword()
355 if (handle != NULL) { in papiServiceSetEncryption()
376 if (handle != NULL) { in papiServiceSetAuthCB()
396 if (handle != NULL) { in papiServiceSetAppData()
412 if (handle != NULL) { in papiServiceGetServiceName()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_generic.c59 struct handle { struct
264 struct handle *handle; in __rpc_setconf() local
266 handle = malloc(sizeof (struct handle)); in __rpc_setconf()
275 free(handle); in __rpc_setconf()
288 free(handle); in __rpc_setconf()
294 free(handle); in __rpc_setconf()
308 struct handle *handle; in __rpc_getconf() local
311 handle = (struct handle *)vhandle; in __rpc_getconf()
382 struct handle *handle; in __rpc_endconf() local
384 handle = (struct handle *)vhandle; in __rpc_endconf()
[all …]
/illumos-gate/usr/src/uts/sun4u/excalibur/sys/
H A Dxcalppm_var.h82 #define XCPPM_GET8(handle, address) \ argument
83 ddi_get8(handle, (uint8_t *)(address))
85 #define XCPPM_SETGET8(handle, address, data) \ argument
86 ddi_put8(handle, (uint8_t *)(address), data); \
87 data = XCPPM_GET8(handle, address)
89 #define XCPPM_GET16(handle, address) \ argument
90 ddi_get16(handle, (uint16_t *)(address))
94 data = XCPPM_GET16(handle, address)
96 #define XCPPM_GET32(handle, address) \ argument
97 ddi_get32(handle, (uint32_t *)(address))
[all …]
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_menu.c116 smedia_handle_t handle; in process_options() local
207 if (handle == NULL) { in process_options()
268 process_F_flag(handle, fd); in process_options()
270 process_w_flag(handle); in process_options()
272 process_W_flag(handle); in process_options()
274 process_R_flag(handle); in process_options()
276 process_p_flag(handle, fd); in process_options()
278 process_D_flag(handle, fd); in process_options()
280 process_H_flag(handle, fd); in process_options()
284 process_c_flag(handle); in process_options()
[all …]
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dkeyop.c59 if (handle == NULL) in kmf_create_keypair()
62 CLEAR_ERROR(handle, ret); in kmf_create_keypair()
106 if (handle == NULL) in kmf_delete_key_from_keystore()
109 CLEAR_ERROR(handle, ret); in kmf_delete_key_from_keystore()
173 if (handle == NULL) in kmf_find_key()
176 CLEAR_ERROR(handle, ret); in kmf_find_key()
218 if (handle == NULL) in kmf_create_sym_key()
221 CLEAR_ERROR(handle, ret); in kmf_create_sym_key()
251 CLEAR_ERROR(handle, ret); in kmf_get_sym_key_value()
284 if (handle == NULL) in kmf_store_key()
[all …]
H A Dmapping.c54 finalize(handle); in cleanup_mapper()
124 if (handle == NULL) in kmf_cert_to_name_mapping_initialize()
127 map = &handle->policy->mapper; in kmf_cert_to_name_mapping_initialize()
246 cleanup_mapper(handle); in kmf_cert_to_name_mapping_initialize()
262 cleanup_mapper(handle); in kmf_cert_to_name_mapping_initialize()
276 cleanup_mapper(handle); in kmf_cert_to_name_mapping_initialize()
298 if (handle == NULL) in kmf_cert_to_name_mapping_finalize()
301 cleanup_mapper(handle); in kmf_cert_to_name_mapping_finalize()
312 if (handle == NULL) in kmf_map_cert_to_name()
339 if (handle == NULL) in kmf_match_cert_to_name()
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dcudbg.c23 struct cudbg_private *handle; in cudbg_alloc_handle() local
26 handle = kmem_zalloc(sizeof(*handle), KM_NOSLEEP); in cudbg_alloc_handle()
28 handle = malloc(sizeof(*handle)); in cudbg_alloc_handle()
31 if (handle == NULL) in cudbg_alloc_handle()
34 init_cudbg_hdr(&handle->dbg_init.header); in cudbg_alloc_handle()
36 return (handle); in cudbg_alloc_handle()
45 cudbg_free_handle(void *handle) in cudbg_free_handle() argument
48 kmem_free(handle, sizeof(struct cudbg_private)); in cudbg_free_handle()
50 free(handle); in cudbg_free_handle()
77 cudbg_get_init(void *handle) in cudbg_get_init() argument
[all …]
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dprinter.c63 service_t *svc = handle; in papiPrintersList()
75 if ((handle == NULL) || (printers == NULL)) in papiPrintersList()
146 service_t *svc = handle; in papiPrinterQuery()
312 if ((handle == NULL) || (name == NULL)) in papiPrinterRemove()
334 if ((handle == NULL) || (name == NULL)) in papiPrinterDisable()
347 if ((handle == NULL) || (name == NULL)) in papiPrinterEnable()
360 if ((handle == NULL) || (name == NULL)) in papiPrinterPause()
373 if ((handle == NULL) || (name == NULL)) in papiPrinterResume()
384 service_t *svc = handle; in papiPrinterPurgeJobs()
391 if ((handle == NULL) || (name == NULL)) in papiPrinterPurgeJobs()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Ddriver_wifi.c39 wpa_driver_wifi_get_bssid(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_get_bssid() argument
46 status = dladm_wlan_get_linkattr(handle, linkid, &attr); in wpa_driver_wifi_get_bssid()
74 wpa_driver_wifi_get_ssid(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_get_ssid() argument
82 status = dladm_wlan_get_linkattr(handle, linkid, &attr); in wpa_driver_wifi_get_ssid()
136 status = dladm_wlan_wpa_set_wpa(handle, linkid, enabled); in wpa_driver_wifi_set_wpa()
152 status = dladm_wlan_wpa_del_key(handle, linkid, key_idx, &bss); in wpa_driver_wifi_del_key()
202 return (wpa_driver_wifi_del_key(handle, linkid, key_idx, addr)); in wpa_driver_wifi_set_key()
257 status = dladm_wlan_wpa_set_mlme(handle, linkid, in wpa_driver_wifi_disassociate()
318 wpa_driver_wifi_scan(dladm_handle_t handle, datalink_id_t linkid) in wpa_driver_wifi_scan() argument
328 (void) wpa_driver_wifi_disassociate(handle, linkid, in wpa_driver_wifi_scan()
[all …]
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_common_impl.h308 #define FM_CHECK_ACC_HANDLE(nxgep, handle)\ argument
309 fm_check_acc_handle(handle)
310 #define FM_CHECK_DMA_HANDLE(nxgep, handle)\ argument
311 fm_check_dma_handle(handle)
314 #define NXGE_REG_RD64(handle, offset, val_p) {\ argument
324 #define NXGE_REG_RD64(handle, offset, val_p) {\ argument
329 #define NXGE_REG_RD64(handle, offset, val_p) {\ argument
335 #define NXGE_REG_WR64(handle, offset, val) {\ argument
345 #define NXGE_REG_WR64(handle, offset, val) {\ argument
346 NXGE_NPI_PIO_WRITE64(handle, offset, (val));\
[all …]
/illumos-gate/usr/src/uts/intel/io/
H A Diommulib.c123 iommulib_nexhandle_t *handle) in iommulib_nexus_register() argument
132 ASSERT(handle); in iommulib_nexus_register()
134 *handle = NULL; in iommulib_nexus_register()
290 *handle = nexp; in iommulib_nexus_register()
341 iommulib_handle_t *handle) in iommulib_iommu_register() argument
350 ASSERT(handle); in iommulib_iommu_register()
476 *handle = unitp; in iommulib_iommu_register()
767 ddi_dma_handle_t handle) in iommulib_iommu_dma_freehdl() argument
790 ddi_dma_handle_t handle) in iommulib_iommu_dma_unbindhdl() argument
880 ddi_dma_handle_t handle) in iommulib_iommu_dmahdl_getprivate() argument
[all …]

12345678910>>...42