Home
last modified time | relevance | path

Searched refs:handle (Results 176 – 200 of 1036) sorted by relevance

12345678910>>...42

/illumos-gate/usr/src/uts/common/io/audio/drv/audiots/
H A Daudiots.c648 ddi_acc_handle_t handle = state->ts_acch; in audiots_chip_init() local
668 ddi_put16(handle, in audiots_chip_init()
672 ddi_put16(handle, in audiots_chip_init()
766 (void) ddi_get16(handle, data); in audiots_get_ac97()
1170 if (!(ddi_get16(handle, reg_addr) & in audiots_set_ac97()
1173 ddi_put16(handle, reg_addr, reg); in audiots_set_ac97()
1176 ddi_put16(handle, data_addr, data); in audiots_set_ac97()
1187 if (!(ddi_get16(handle, reg_addr) & in audiots_set_ac97()
1327 ddi_put16(handle, &aram->aram_cso, 0x0); in audiots_start()
1330 ddi_put32(handle, &aram->aram_cptr_lba, in audiots_start()
[all …]
/illumos-gate/usr/src/uts/common/inet/
H A Dsdp_itf.h58 void (*su_connected)(void *handle);
59 void (*su_disconnected)(void *handle, int error);
60 void (*su_connfailed)(void *handle, int error);
61 int (*su_recv)(void *handle, mblk_t *mp, int flags);
62 void (*su_xmitted)(void *handle, int writeable);
63 void (*su_urgdata)(void *handle);
64 void (*su_ordrel)(void *handle);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstreval.c39 userconv(const char* s, char** end, void* handle) in userconv() argument
41 return((*((Handle_t*)handle)->convert)(s, end)); in userconv()
47 Handle_t handle; in streval() local
49 …return((handle.convert = convert) ? strexpr(s, end, userconv, &handle) : strexpr(s, end, (Convert_… in streval()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_txdma.c267 npi_handle_t handle; in nxge_reset_txdma_channel() local
319 npi_handle_t handle; in nxge_init_txdma_channel_event_mask() local
359 npi_handle_t handle; in nxge_init_txdma_channel_cntl_stat() local
408 npi_handle_t handle; in nxge_enable_txdma_channel() local
912 npi_handle_t handle; in nxge_txdma_reclaim() local
1133 npi_handle_t handle; in nxge_tx_intr() local
1316 npi_handle_t handle; in nxge_txdma_hw_mode() local
1371 npi_handle_t handle; in nxge_txdma_enable_channel() local
1386 npi_handle_t handle; in nxge_txdma_disable_channel() local
2045 npi_handle_t handle; in nxge_txdma_regs_dump_channels() local
[all …]
H A Dnxge_espc.c62 npi_handle_t handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_espc_mac_addrs_get() local
68 npi_status = npi_espc_mac_addr_get(handle, mac_addr); in nxge_espc_mac_addrs_get()
94 npi_handle_t handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_espc_num_macs_get() local
97 npi_status = npi_espc_num_macs_get(handle, nmacs); in nxge_espc_num_macs_get()
113 npi_handle_t handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_espc_num_ports_get() local
117 npi_status = npi_espc_num_ports_get(handle, &nports); in nxge_espc_num_ports_get()
136 npi_handle_t handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_espc_phy_type_get() local
191 npi_handle_t handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_espc_max_frame_sz_get() local
210 npi_handle_t handle = NXGE_DEV_NPI_HANDLE(nxgep); in nxge_vpd_info_get() local
227 (void) npi_espc_pio_enable(handle); in nxge_vpd_info_get()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/
H A Dhashfree.c51 void* handle; in hashfree() local
64 handle = tab->root->local->handle; in hashfree()
79 if (region) (*region)(handle, p->name, 0, 0); in hashfree()
84 if (region) (*region)(handle, p, 0, 0); in hashfree()
96 if (region) (*region)(handle, tab->table, 0, 0); in hashfree()
136 if (region) (*region)(handle, tab->root, 0, 0); in hashfree()
141 if (region) (*region)(handle, tab, 0, 0); in hashfree()
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c225 static dladm_handle_t handle = NULL; variable
249 if (handle != NULL) in usage()
250 dladm_close(handle); in usage()
287 dladm_close(handle); in main()
319 status = dladm_flow_init(handle); in do_init_flow()
571 (void) show_flow(handle, &attr, arg); in show_one_flow()
852 dladm_close(handle); in set_flowprop()
916 if (handle != NULL) in die()
917 dladm_close(handle); in die()
958 if (handle != NULL) in die_dlerr()
[all …]
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c200 nss_authenticate(KMF_HANDLE_T handle, in nss_authenticate() argument
205 KMF_HANDLE *kmfh = (KMF_HANDLE *)handle; in nss_authenticate()
268 KMF_HANDLE *kmfh = (KMF_HANDLE *)handle; in NSS_ConfigureKeystore()
306 do_nss_init(void *handle, int numattr, in do_nss_init() argument
670 NSS_FreeKMFCert(KMF_HANDLE_T handle, in NSS_FreeKMFCert() argument
807 NSS_CreateKeypair(KMF_HANDLE_T handle, in NSS_CreateKeypair() argument
1127 NSS_DeleteKey(KMF_HANDLE_T handle, in NSS_DeleteKey() argument
1188 SET_ERROR(handle, PORT_GetError()); in NSS_DeleteKey()
1364 NSS_FindKey(KMF_HANDLE_T handle, in NSS_FindKey() argument
1902 NSS_CreateSymKey(KMF_HANDLE_T handle, in NSS_CreateSymKey() argument
[all …]
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dcpu_idle.c572 cpu_acpi_handle_t handle; in cpu_acpi_idle() local
582 handle = mach_state->ms_acpi_handle; in cpu_acpi_idle()
583 ASSERT(CPU_ACPI_CSTATES(handle) != NULL); in cpu_acpi_idle()
588 cpu_max_cstates = cpu_acpi_get_max_cstates(handle); in cpu_acpi_idle()
691 cpu_max_cstates = cpu_acpi_get_max_cstates(handle); in cpu_idle_init()
778 cpu_acpi_free_cstate_data(handle); in cpu_idle_fini()
847 cpu_acpi_free_cstate_data(handle); in cpu_idle_stop()
942 cpu_acpi_handle_t handle; in cpuidle_cstate_instance() local
974 handle = mach_state->ms_acpi_handle; in cpuidle_cstate_instance()
975 ASSERT(handle != NULL); in cpuidle_cstate_instance()
[all …]
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dsharemgr_main.c60 sa_handle_t handle; in main() local
111 handle = sa_init(SA_INIT_SHARE_API); in main()
118 rval = run_command(command, argc, argv, protocol, handle); in main()
120 sa_fini(handle); in main()
126 sa_handle_t handle) in run_command() argument
157 ret = cmdvec->cmdfunc(handle, cmdvec->priv, argc, argv); in run_command()
H A Dcommands.c353 scf_handle_t *handle = NULL; in check_authorization() local
374 if (handle != NULL) { in check_authorization()
411 if (handle != NULL) in check_authorization()
412 scf_handle_destroy(handle); in check_authorization()
700 ret = sa_update_config(handle); in enable_all_groups()
833 sa_handle_t handle; in add_optionset() local
847 if (handle == NULL) { in add_optionset()
2752 handle, in sa_addshare()
2758 handle, in sa_addshare()
3545 sa_handle_t handle; in add_security() local
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_chpass_util.c34 kadm5_server_handle_t handle = server_handle; in kadm5_chpass_principal_util() local
37 return _kadm5_chpass_principal_util(handle, handle->lhandle, princ, in kadm5_chpass_principal_util()
53 _kadm5_get_kpasswd_protocol(void *handle) in _kadm5_get_kpasswd_protocol() argument
59 kadm5_server_handle_t srvrhdl = (kadm5_server_handle_t)handle; in _kadm5_get_kpasswd_protocol()
H A Dserver_misc.c41 adb_policy_init(kadm5_server_handle_t handle) in adb_policy_init() argument
45 if( krb5_db_inited( handle->context ) == 0 ) in adb_policy_init()
48 return krb5_db_open( handle->context, NULL, in adb_policy_init()
53 adb_policy_close(kadm5_server_handle_t handle) in adb_policy_close() argument
137 passwd_check(kadm5_server_handle_t handle, in passwd_check() argument
180 int i, n = krb5_princ_size(handle->context, principal); in passwd_check()
181 cp = krb5_princ_realm(handle->context, principal)->data; in passwd_check()
185 cp = krb5_princ_component(handle->context, principal, i)->data; in passwd_check()
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_pci.c192 gfxp_pci_read_byte(gfxp_acc_handle_t handle, uint16_t offset) in gfxp_pci_read_byte() argument
194 dev_info_t *dip = (dev_info_t *)handle; in gfxp_pci_read_byte()
209 gfxp_pci_read_word(gfxp_acc_handle_t handle, uint16_t offset) in gfxp_pci_read_word() argument
211 dev_info_t *dip = (dev_info_t *)handle; in gfxp_pci_read_word()
226 gfxp_pci_read_dword(gfxp_acc_handle_t handle, uint16_t offset) in gfxp_pci_read_dword() argument
228 dev_info_t *dip = (dev_info_t *)handle; in gfxp_pci_read_dword()
243 gfxp_pci_write_byte(gfxp_acc_handle_t handle, uint16_t offset, uint8_t value) in gfxp_pci_write_byte() argument
245 dev_info_t *dip = (dev_info_t *)handle; in gfxp_pci_write_byte()
258 gfxp_pci_write_word(gfxp_acc_handle_t handle, uint16_t offset, uint16_t value) in gfxp_pci_write_word() argument
260 dev_info_t *dip = (dev_info_t *)handle; in gfxp_pci_write_word()
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_txc.h65 #define TXC_FZC_REG_READ64(handle, reg, cn, val_p) \ argument
66 NXGE_REG_RD64(handle, \
69 #define TXC_FZC_REG_WRITE64(handle, reg, cn, data) \ argument
70 NXGE_REG_WR64(handle, \
73 #define TXC_FZC_CNTL_REG_READ64(handle, reg, port, val_p) \ argument
74 NXGE_REG_RD64(handle, \
77 #define TXC_FZC_CNTL_REG_WRITE64(handle, reg, port, data) \ argument
78 NXGE_REG_WR64(handle, \
/illumos-gate/usr/src/lib/libshare/smbfs/
H A Dlibshare_smbfs.c445 smb_scfhandle_t *handle = NULL; in smbfs_save_propset() local
468 handle = smb_smf_scf_init(SMBC_FMRI_PREFIX); in smbfs_save_propset()
469 if (handle == NULL) { in smbfs_save_propset()
491 ret = smb_smf_delete_property(handle, in smbfs_save_propset()
494 ret = smb_smf_set_string_property(handle, in smbfs_save_propset()
509 ret = smb_smf_set_string_property(handle, in smbfs_save_propset()
520 ret = smb_smf_end_transaction(handle); in smbfs_save_propset()
522 smb_smf_scf_fini(handle); in smbfs_save_propset()
747 smb_scfhandle_t *handle = NULL; in smbfs_delete_property_group() local
751 if (handle == NULL) in smbfs_delete_property_group()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Ddssetup_clnt.c45 mlsvc_handle_t handle; in dssetup_get_domain_info() local
53 if (ndr_rpc_bind(&handle, di.d_dci.dc_name, di.d_primary.di_nbname, in dssetup_get_domain_info()
61 rc = ndr_rpc_call(&handle, opnum, &arg); in dssetup_get_domain_info()
63 ndr_rpc_unbind(&handle); in dssetup_get_domain_info()
72 ndr_rpc_unbind(&handle); in dssetup_get_domain_info()
81 ndr_rpc_unbind(&handle); in dssetup_get_domain_info()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dplugins.c105 void *handle = NULL; in krb5int_open_plugin() local
113 handle = dlopen(filepath, PLUGIN_DLOPEN_FLAGS); in krb5int_open_plugin()
114 if (handle == NULL) { in krb5int_open_plugin()
124 htmp->dlhandle = handle; in krb5int_open_plugin()
125 handle = NULL; in krb5int_open_plugin()
128 if (handle != NULL) { dlclose (handle); } in krb5int_open_plugin()
445 struct plugin_file_handle *handle = NULL; in krb5int_open_plugin_dirs() local
458 if (krb5int_open_plugin (filepath, &handle, ep) == 0) { in krb5int_open_plugin_dirs()
464 if (handle != NULL) { krb5int_close_plugin (handle); } in krb5int_open_plugin_dirs()
474 struct plugin_file_handle *handle = NULL; in krb5int_open_plugin_dirs() local
[all …]
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_fflp_hw.h1096 NXGE_REG_WR64((handle), (offset), (value))
1101 #define WRITE_TCAM_REG_CTL(handle, ctl) \ argument
1104 #define READ_TCAM_REG_CTL(handle, val_p) \ argument
1108 #define WRITE_TCAM_REG_KEY0(handle, key) \ argument
1110 #define WRITE_TCAM_REG_KEY1(handle, key) \ argument
1112 #define WRITE_TCAM_REG_KEY2(handle, key) \ argument
1114 #define WRITE_TCAM_REG_KEY3(handle, key) \ argument
1125 #define READ_TCAM_REG_KEY0(handle, val_p) \ argument
1127 #define READ_TCAM_REG_KEY1(handle, val_p) \ argument
1129 #define READ_TCAM_REG_KEY2(handle, val_p) \ argument
[all …]
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasGetDiscoveredPortAttributes.c36 Sun_sasGetDiscoveredPortAttributes(HBA_HANDLE handle, in Sun_sasGetDiscoveredPortAttributes() argument
51 "discovered port %d", handle, port, discoveredport); in Sun_sasGetDiscoveredPortAttributes()
56 index = RetrieveIndex(handle); in Sun_sasGetDiscoveredPortAttributes()
60 log(LOG_DEBUG, ROUTINE, "Invalid handle %08lx.", handle); in Sun_sasGetDiscoveredPortAttributes()
100 port, handle); in Sun_sasGetDiscoveredPortAttributes()
119 discoveredport, port, handle); in Sun_sasGetDiscoveredPortAttributes()
138 port, handle); in Sun_sasGetDiscoveredPortAttributes()
H A Dsun_sas.c81 new_open_handle->handle = new_handle_index; in CreateHandle()
109 RetrieveIndex(HBA_HANDLE handle) in RetrieveIndex() argument
116 open_handle_ptr = RetrieveOpenHandle(handle); in RetrieveIndex()
131 RetrieveOpenHandle(HBA_HANDLE handle) in RetrieveOpenHandle() argument
145 if (open_handle_ptr->handle == handle) { in RetrieveOpenHandle()
210 Retrieve_Sun_sasHandle(HBA_HANDLE handle) in Retrieve_Sun_sasHandle() argument
217 index = RetrieveIndex(handle); in Retrieve_Sun_sasHandle()
319 getFirstAdapterPortWWN(HBA_HANDLE handle) in getFirstAdapterPortWWN() argument
328 index = RetrieveIndex(handle); in getFirstAdapterPortWWN()
332 log(LOG_DEBUG, ROUTINE, "Invalid handle %08lx", handle); in getFirstAdapterPortWWN()
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_internal.h110 #define CLIENT_CHECK_HANDLE(handle) \ argument
113 (kadm5_server_handle_t) handle; \
123 #define CHECK_HANDLE(handle) \ argument
124 GENERIC_CHECK_HANDLE(handle, KADM5_OLD_LIB_API_VERSION, \
126 CLIENT_CHECK_HANDLE(handle)
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_fm.c45 ql_fm_check_acc_handle(ddi_acc_handle_t handle) in ql_fm_check_acc_handle() argument
49 ddi_fm_acc_err_get(handle, &err, DDI_FME_VERSION); in ql_fm_check_acc_handle()
51 ddi_fm_acc_err_clear(handle, DDI_FME_VERSION); in ql_fm_check_acc_handle()
56 ql_fm_check_dma_handle(ddi_dma_handle_t handle) in ql_fm_check_dma_handle() argument
60 ddi_fm_dma_err_get(handle, &err, DDI_FME_VERSION); in ql_fm_check_dma_handle()
/illumos-gate/usr/src/uts/common/smbsrv/ndl/
H A Dwinreg.ndl165 OUT winreg_handle_t handle;
173 OUT winreg_handle_t handle;
181 OUT winreg_handle_t handle;
215 IN winreg_handle_t handle;
229 IN winreg_handle_t handle;
237 IN winreg_handle_t handle;
248 IN winreg_handle_t handle;
264 IN winreg_handle_t handle;
278 IN winreg_handle_t handle;
345 IN winreg_handle_t handle;
[all …]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Ddb21554.c1882 db_pvt->handle = in db_pci_map()
1904 db_pvt->handle = in db_pci_map()
1931 db_pvt->handle = in db_pci_map()
1953 db_pvt->handle = in db_pci_map()
2659 handle->ahi_common.ah_bus_private; in db_ddi_get32()
2721 data = ddi_get32(db_pvt->handle, in db_ddi_get32()
2755 db_ddi_put32(handle, (uint32_t *)addr, in db_ddi_put8()
2769 db_ddi_put32(handle, (uint32_t *)addr, in db_ddi_put16()
2781 handle->ahi_common.ah_bus_private; in db_ddi_put32()
3122 i_ndi_busop_access_enter(dip, handle); in db_bus_enter()
[all …]

12345678910>>...42