/illumos-gate/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.c | 161 if (*handle != NULL) { in fcoe_cfg_scf_init() 430 if (handle != NULL) { in fcoe_add_remove_scf_entry() 505 dladm_close(handle); in FCOE_CreatePort() 514 dladm_close(handle); in FCOE_CreatePort() 640 dladm_close(handle); in FCOE_DeletePort() 643 dladm_close(handle); in FCOE_DeletePort() 729 dladm_handle_t handle; in FCOE_GetPortList() local 788 handle = NULL; in FCOE_GetPortList() 818 if (handle != NULL) { in FCOE_GetPortList() 819 dladm_close(handle); in FCOE_GetPortList() [all …]
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | certop.c | 124 if (handle == NULL) in kmf_find_prikey_by_cert() 257 if (handle == NULL) in kmf_find_cert() 530 if (handle == NULL) in kmf_sign_cert() 681 if (handle == NULL) in kmf_sign_data() 854 if (handle == NULL) in kmf_verify_data() 1197 if (handle == NULL) in kmf_decrypt() 1297 if (handle == NULL) in kmf_store_cert() 1334 if (handle == NULL) in kmf_import_cert() 1369 if (handle == NULL) in kmf_delete_cert_from_keystore() 1478 if (handle == NULL) in check_crl_validity() [all …]
|
H A D | pk11tokens.c | 116 if (handle != NULL) { in kmf_get_token_slots() 118 handle->lasterr.errcode = ck_rv; in kmf_get_token_slots() 146 if (handle != NULL) { in kmf_get_token_slots() 148 handle->lasterr.errcode = ck_rv; in kmf_get_token_slots() 315 if (handle == NULL) { in kmf_pk11_token_lookup() 453 if (handle == NULL) in kmf_set_token_pin() 456 CLEAR_ERROR(handle, ret); in kmf_set_token_pin() 510 CLEAR_ERROR(handle, kmf_rv); in kmf_select_token() 524 if (handle->pk11handle != 0) { in kmf_select_token() 546 handle->pk11handle = hSession; in kmf_select_token() [all …]
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | ldc.h | 170 int ldc_fini(ldc_handle_t handle); 171 int ldc_open(ldc_handle_t handle); 172 int ldc_close(ldc_handle_t handle); 173 int ldc_up(ldc_handle_t handle); 174 int ldc_down(ldc_handle_t handle); 175 int ldc_reg_callback(ldc_handle_t handle, 177 int ldc_unreg_callback(ldc_handle_t handle); 179 int ldc_chkq(ldc_handle_t handle, boolean_t *hasdata); 180 int ldc_read(ldc_handle_t handle, caddr_t buf, size_t *size); 182 int ldc_status(ldc_handle_t handle, ldc_status_t *status); [all …]
|
/illumos-gate/usr/src/uts/sun/io/audio/drv/audiocs/ |
H A D | audio_4231_eb2dma.c | 251 ddi_acc_handle_t handle = eng->ce_regsh; in eb2_start_engine() local 272 csr = ddi_get32(handle, ®s->eb2csr); in eb2_start_engine() 275 csr = ddi_get32(handle, ®s->eb2csr); in eb2_start_engine() 322 ddi_acc_handle_t handle = eng->ce_regsh; in eb2_stop_engine() local 329 csr = ddi_get32(handle, ®s->eb2csr); in eb2_stop_engine() 332 csr = ddi_get32(handle, ®s->eb2csr); in eb2_stop_engine() 339 csr = ddi_get32(handle, ®s->eb2csr); in eb2_stop_engine() 342 csr = ddi_get32(handle, ®s->eb2csr); in eb2_stop_engine() 390 ddi_acc_handle_t handle = eng->ce_regsh; in eb2_reload() local 404 ddi_put32(handle, ®s->eb2acr, in eb2_reload() [all …]
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpcsec_gss_if.c | 65 void *handle; in rpcgss_calls_init() local 79 if ((handle = dlopen(RPCSEC, RTLD_LAZY)) == NULL) in rpcgss_calls_init() 82 if ((calls.rpc_gss_seccreate = (AUTH *(*)()) dlsym(handle, in rpcgss_calls_init() 109 if ((calls.rpc_gss_getcred = (bool_t (*)()) dlsym(handle, in rpcgss_calls_init() 112 if ((calls.rpc_gss_mech_to_oid = (bool_t (*)()) dlsym(handle, in rpcgss_calls_init() 116 if ((calls.rpc_gss_qop_to_num = (bool_t (*)()) dlsym(handle, in rpcgss_calls_init() 122 if ((calls.__rpc_gss_wrap = (bool_t (*)()) dlsym(handle, in rpcgss_calls_init() 125 if ((calls.__rpc_gss_unwrap = (bool_t (*)()) dlsym(handle, in rpcgss_calls_init() 134 if ((calls.rpc_gss_get_error = (void (*)()) dlsym(handle, in rpcgss_calls_init() 140 if (handle != NULL) in rpcgss_calls_init() [all …]
|
H A D | fdsync.c | 60 static mutex_t *search(const void *handle, int fd); 61 static rpcfd_block_t *create_block(const void *handle, int fd); 85 rpc_fd_lock(const void *handle, int fd) in rpc_fd_lock() argument 92 mp = search(handle, fd); in rpc_fd_lock() 94 p = create_block(handle, fd); in rpc_fd_lock() 106 rpc_fd_unlock(const void *handle, int fd) in rpc_fd_unlock() argument 111 mp = search(handle, fd); in rpc_fd_unlock() 119 create_block(const void *handle, int fd) in create_block() argument 135 for (l = (rpcfd_block_t *)handle; l; l = l->next) { in create_block() 155 search(const void *handle, int fd) in search() argument [all …]
|
/illumos-gate/usr/src/lib/smhba/common/ |
H A D | smhbaapi.h | 389 HBA_HANDLE handle, 394 HBA_HANDLE handle, 399 HBA_HANDLE handle, 405 HBA_HANDLE handle, 411 HBA_HANDLE handle, 418 HBA_HANDLE handle, 425 HBA_HANDLE handle, 432 HBA_HANDLE handle, 439 HBA_HANDLE handle, 446 HBA_HANDLE handle, [all …]
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_pfc.c | 73 hpi_handle_t handle; in hxge_tcam_dump_entry() local 170 hpi_handle_t handle; in hxge_tcam_default_add_entry() local 464 hpi_handle_t handle; in hxge_pfc_set_mac_address() local 513 hpi_handle_t handle; in hxge_pfc_set_hash() local 537 hpi_handle_t handle; in hxge_pfc_config_tcam_enable() local 561 hpi_handle_t handle; in hxge_pfc_config_tcam_disable() local 588 hpi_handle_t handle; in hxge_cfg_tcam_ip_class_get() local 647 hpi_handle_t handle; in hxge_pfc_config_init() local 686 hpi_handle_t handle; in hxge_pfc_tcam_invalidate_all() local 713 hpi_handle_t handle; in hxge_pfc_tcam_init() local [all …]
|
H A D | hpi_vmac.h | 36 hpi_status_t hpi_tx_vmac_reset(hpi_handle_t handle); 37 hpi_status_t hpi_rx_vmac_reset(hpi_handle_t handle); 38 hpi_status_t hpi_vmac_tx_config(hpi_handle_t handle, config_op_t op, 40 hpi_status_t hpi_vmac_rx_config(hpi_handle_t handle, config_op_t op, 42 hpi_status_t hpi_vmac_clear_rx_int_stat(hpi_handle_t handle); 43 hpi_status_t hpi_vmac_clear_tx_int_stat(hpi_handle_t handle); 44 hpi_status_t hpi_pfc_set_rx_int_stat_mask(hpi_handle_t handle, 46 hpi_status_t hpi_pfc_set_tx_int_stat_mask(hpi_handle_t handle, 48 hpi_status_t hpi_vmac_rx_set_framesize(hpi_handle_t handle,
|
H A D | hxge_pfc.h | 49 HXGE_REG_WR64((handle), (offset), (value)) 51 HXGE_REG_RD64((handle), (offset), (val_p)) 60 #define WRITE_TCAM_REG_CTL(handle, ctl) \ argument 61 REG_PIO_WRITE64(handle, PFC_TCAM_CTRL, ctl) 63 #define READ_TCAM_REG_CTL(handle, val_p) \ argument 66 #define WRITE_TCAM_REG_KEY0(handle, key) \ argument 68 #define WRITE_TCAM_REG_KEY1(handle, key) \ argument 75 #define READ_TCAM_REG_KEY0(handle, val_p) \ argument 77 #define READ_TCAM_REG_KEY1(handle, val_p) \ argument 79 #define READ_TCAM_REG_MASK0(handle, val_p) \ argument [all …]
|
/illumos-gate/usr/src/cmd/fs.d/zfs/fstyp/ |
H A D | fstyp.c | 52 void fstyp_mod_fini(fstyp_mod_handle_t handle); 53 int fstyp_mod_ident(fstyp_mod_handle_t handle); 54 int fstyp_mod_get_attr(fstyp_mod_handle_t handle, nvlist_t **attrp); 57 fstyp_mod_init(int fd, off_t offset, fstyp_mod_handle_t *handle) in fstyp_mod_init() argument 70 *handle = (fstyp_mod_handle_t)h; in fstyp_mod_init() 75 fstyp_mod_fini(fstyp_mod_handle_t handle) in fstyp_mod_fini() argument 77 struct fstyp_zfs *h = (struct fstyp_zfs *)handle; in fstyp_mod_fini() 86 fstyp_mod_ident(fstyp_mod_handle_t handle) in fstyp_mod_ident() argument 88 struct fstyp_zfs *h = (struct fstyp_zfs *)handle; in fstyp_mod_ident() 129 fstyp_mod_get_attr(fstyp_mod_handle_t handle, nvlist_t **attrp) in fstyp_mod_get_attr() argument [all …]
|
/illumos-gate/usr/src/lib/libstmf/common/ |
H A D | store.c | 573 if (handle != NULL) { in iPsAddRemoveGroupMember() 883 if (handle != NULL) { in iPsAddRemoveLuViewEntry() 1247 if (handle != NULL) { in iPsAddViewEntry() 1351 if (handle != NULL) { in psClearProviderData() 1645 if (handle != NULL) { in iPsCreateDeleteGroup() 1825 if (handle != NULL) { in iPsGetGroupList() 1992 if (handle != NULL) { in iPsGetGroupMemberList() 2032 if (handle != NULL) { in psGetServicePersist() 2059 if (handle != NULL) { in psSetServicePersist() 2520 if (handle != NULL) { in iPsGetSetStmfProp() [all …]
|
/illumos-gate/usr/src/lib/libsmedia/plugins/blkdev/common/ |
H A D | b_generic.c | 77 _m_get_media_info(rmedia_handle_t *handle, void *ip) in _m_get_media_info() argument 85 if (handle == NULL) { in _m_get_media_info() 92 LIBSMEDIA_SIGNATURE, handle->sm_signature); in _m_get_media_info() 97 if (ioctl(handle->sm_fd, DKIOCSTATE, &state) < 0) { in _m_get_media_info() 115 ret_val = ioctl(handle->sm_fd, DKIOCGGEOM, &dkg); in _m_get_media_info() 135 _m_get_device_info(rmedia_handle_t *handle, void *ip) in _m_get_device_info() argument 140 if (handle == NULL) { in _m_get_device_info() 147 LIBSMEDIA_SIGNATURE, handle->sm_signature); in _m_get_device_info() 186 _m_free_device_info(rmedia_handle_t *handle, void *ip) in _m_free_device_info() argument 191 if (handle == NULL) { in _m_free_device_info() [all …]
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 1503 handle = tmphandle; in initialize() 1798 handle = tmphandle; in create_func() 5722 info_brand(handle, fp); in info_func() 5726 info_pool(handle, fp); in info_func() 5746 info_pset(handle, fp); in info_func() 5748 info_mcap(handle, fp); in info_func() 5764 info_brand(handle, fp); in info_func() 5770 info_pool(handle, fp); in info_func() 5779 info_sched(handle, fp); in info_func() 5824 info_pset(handle, fp); in info_func() [all …]
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_fzc.c | 54 npi_handle_t handle; in nxge_test_and_set() local 69 npi_handle_t handle; in nxge_set_fzc_multi_part_ctl() local 98 npi_handle_t handle; in nxge_get_fzc_multi_part_ctl() local 155 npi_handle_t handle; in nxge_fzc_intr_ldg_num_set() local 204 npi_handle_t handle; in nxge_fzc_intr_tmres_set() local 223 npi_handle_t handle; in nxge_fzc_intr_sid_set() local 287 npi_handle_t handle; in nxge_init_fzc_rdc() local 480 npi_handle_t handle; in nxge_init_fzc_rdc_pages() local 649 npi_handle_t handle; in nxge_init_fzc_tdc() local 763 npi_handle_t handle; in nxge_init_fzc_rx_common() local [all …]
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | secobj.c | 239 dladm_walk_secobj(dladm_handle_t handle, void *arg, in dladm_walk_secobj() argument 282 if (!func(handle, arg, objp->so_name)) in dladm_walk_secobj() 542 #define SECOBJ_RW_DB(handle, statep, writeop) \ argument 543 (i_dladm_rw_db(handle, "/etc/dladm/secobj.conf", \ 560 return (SECOBJ_RW_DB(handle, &state, B_TRUE)); in i_dladm_set_secobj_db() 576 return (SECOBJ_RW_DB(handle, &state, B_FALSE)); in i_dladm_get_secobj_db() 591 return (SECOBJ_RW_DB(handle, &state, B_TRUE)); in i_dladm_unset_secobj_db() 610 status = SECOBJ_RW_DB(handle, &state, B_FALSE); in i_dladm_walk_secobj_db() 618 cont = func(handle, arg, fsnp->sn_name); in i_dladm_walk_secobj_db() 626 dladm_init_secobj(dladm_handle_t handle) in dladm_init_secobj() argument [all …]
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_scf.c | 367 handle->pgrp) != 0) { in get_plugin_kva() 410 if (handle == NULL) { in scf_free() 444 if ((handle->inst = scf_instance_create(handle->hndl)) == NULL) { in scf_init() 447 if ((handle->pgrp = scf_pg_create(handle->hndl)) == NULL) { in scf_init() 450 if ((handle->prop = scf_property_create(handle->hndl)) == NULL) { in scf_init() 458 scf_free(handle); in scf_init() 1026 asi_scfhandle_t handle; in do_getpluginconfig_scf() local 1053 handle.inst, plugin_all ? NULL : handle.pgrp, NULL, in do_getpluginconfig_scf() 1056 scf_free(&handle); in do_getpluginconfig_scf() 1063 scf_free(&handle); in do_getpluginconfig_scf() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/ioat/ |
H A D | ioat_rs.c | 73 ioat_rs_hdl_t *handle) in ioat_rs_init() argument 80 ASSERT(handle != NULL); in ioat_rs_init() 112 *handle = rstruct; in ioat_rs_init() 123 ioat_rs_fini(ioat_rs_hdl_t *handle) in ioat_rs_fini() argument 128 ASSERT(handle != NULL); in ioat_rs_fini() 130 rstruct = (ioat_rs_t *)*handle; in ioat_rs_fini() 137 *handle = NULL; in ioat_rs_fini() 157 ASSERT(handle != NULL); in ioat_rs_alloc() 160 rstruct = (ioat_rs_t *)handle; in ioat_rs_alloc() 230 ASSERT(handle != NULL); in ioat_rs_free() [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | printer.c | 213 service_t *svc = handle; in papiPrintersList() 235 service_t *svc = handle; in papiPrinterQuery() 272 service_t *svc = handle; in _papi_printer_disable_or_pause() 293 service_t *svc = handle; in _papi_printer_enable_or_resume() 324 papiPrinterEnable(papi_service_t handle, char *name) in papiPrinterEnable() argument 331 papiPrinterResume(papi_service_t handle, char *name) in papiPrinterResume() argument 343 service_t *svc = handle; in _papi_printer_add_or_modify() 366 papiPrinterAdd(papi_service_t handle, char *name, in papiPrinterAdd() argument 386 service_t *svc = handle; in papiPrinterRemove() 406 service_t *svc = handle; in papiPrinterPurgeJobs() [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | printer.c | 51 papiPrinterQuery(papi_service_t handle, char *name, in papiPrinterQuery() argument 57 service_t *svc = handle; in papiPrinterQuery() 100 service_t *svc = handle; in papiPrinterPurgeJobs() 112 papiPrinterListJobs(papi_service_t handle, char *name, in papiPrinterListJobs() argument 117 service_t *svc = handle; in papiPrinterListJobs() 167 service_t *svc = handle; in papiPrinterDisable() 179 papiPrinterEnable(papi_service_t handle, char *name) in papiPrinterEnable() argument 181 service_t *svc = handle; in papiPrinterEnable() 194 papiPrinterResume(papi_service_t handle, char *name) in papiPrinterResume() argument 196 service_t *svc = handle; in papiPrinterResume() [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | job.c | 206 service_t *svc = handle; in internal_job_submit() 368 service_t *svc = handle; in papiJobStreamOpen() 394 papiJobStreamWrite(papi_service_t handle, in papiJobStreamWrite() argument 398 service_t *svc = handle; in papiJobStreamWrite() 403 handle, stream, buffer, buflen); in papiJobStreamWrite() 429 papiJobStreamClose(papi_service_t handle, in papiJobStreamClose() argument 434 service_t *svc = handle; in papiJobStreamClose() 478 service_t *svc = handle; in papiJobQuery() 526 service_t *svc = handle; in _job_cancel_hold_release_restart_promote() 592 service_t *svc = handle; in papiJobMove() [all …]
|
H A D | printer.c | 84 service_t *svc = handle; in papiPrintersList() 134 papiPrinterQuery(papi_service_t handle, char *name, in papiPrinterQuery() argument 140 service_t *svc = handle; in papiPrinterQuery() 187 service_t *svc = handle; in _printer_enable_disable_pause_resume_delete() 226 papiPrinterEnable(papi_service_t handle, char *name) in papiPrinterEnable() argument 233 papiPrinterResume(papi_service_t handle, char *name) in papiPrinterResume() argument 259 papiPrinterAdd(papi_service_t handle, char *name, in papiPrinterAdd() argument 266 papiPrinterModify(papi_service_t handle, char *name, in papiPrinterModify() argument 270 service_t *svc = handle; in papiPrinterModify() 319 service_t *svc = handle; in papiPrinterPurgeJobs() [all …]
|
/illumos-gate/usr/src/uts/common/sys/hotplug/ |
H A D | hpcsvc.h | 44 int (* callback)(dev_info_t *dip, hpc_slot_t handle, 48 extern int hpc_nexus_connect(hpc_slot_t handle, void *data, uint_t flags); 49 extern int hpc_nexus_disconnect(hpc_slot_t handle, void *data, uint_t flags); 50 extern int hpc_nexus_insert(hpc_slot_t handle, void *data, uint_t flags); 51 extern int hpc_nexus_remove(hpc_slot_t handle, void *data, uint_t flags); 52 extern int hpc_nexus_control(hpc_slot_t handle, int request, caddr_t arg); 53 extern int hpc_install_event_handler(hpc_slot_t handle, uint_t event_mask, 55 extern int hpc_remove_event_handler(hpc_slot_t handle);
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | fchba.c | 276 HBA_HANDLE handle; in fchba_display_port() local 517 HBA_HANDLE handle; in fchba_non_encl_probe() local 679 HBA_HANDLE handle; in fchba_inquiry() local 741 if (handle == 0) { in fchba_inquiry() 885 HBA_HANDLE handle; in fchba_dump_map() local 937 if (handle == 0) { in fchba_dump_map() 1095 HBA_HANDLE handle; in fchba_display_link_status() local 1138 if (handle == 0) { in fchba_display_link_status() 1506 HBA_HANDLE handle; in fchba_display_config() local 1585 if (handle == 0) { in fchba_display_config() [all …]
|