/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_util.c | 647 zfs_handle_t *hdl; in smb_getdataset() local 651 hdl = zfs_open(libhdl, dsname, ZFS_TYPE_FILESYSTEM); in smb_getdataset() 652 if (hdl != NULL) { in smb_getdataset() 653 if ((zfs_prop_get(hdl, ZFS_PROP_MOUNTPOINT, mountpnt, in smb_getdataset() 656 zfs_close(hdl); in smb_getdataset() 660 zfs_close(hdl); in smb_getdataset()
|
/illumos-gate/usr/src/uts/intel/io/vmm/intel/ |
H A D | vtd.c | 324 ddi_acc_handle_t hdl; in vtd_map() local 334 &hdl); in vtd_map() 339 ddi_set_driver_private(dip, hdl); in vtd_map() 347 ddi_acc_handle_t hdl = ddi_get_driver_private(dip); in vtd_unmap() local 349 if (hdl != NULL) in vtd_unmap() 350 ddi_regs_map_free(&hdl); in vtd_unmap()
|
/illumos-gate/usr/src/cmd/tzreload/ |
H A D | tzreload.c | 297 void *hdl; in walk_zones() local 299 if ((hdl = dlopen("libzonecfg.so.1", RTLD_NOW)) == NULL) { in walk_zones() 305 dlsym(hdl, "zone_get_rootpath"); in walk_zones()
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_encrypt_pkcs.c | 44 CK_SESSION_HANDLE hdl; in find_mech() local 47 rv = SUNW_C_GetMechSession(id, &hdl); in find_mech() 51 (void) C_CloseSession(hdl); in find_mech()
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus_hp.c | 92 static int cardbus_new_slot_state(dev_info_t *dip, hpc_slot_t hdl, 94 static int cardbus_list_occupants(dev_info_t *dip, void *hdl); 460 cardbus_new_slot_state(dev_info_t *dip, hpc_slot_t hdl, in cardbus_new_slot_state() argument 469 "cardbus_new_slot_state: slot_handle 0x%p", hdl); in cardbus_new_slot_state() 513 cbp->slot_handle = hdl; in cardbus_new_slot_state() 516 if (hpc_install_event_handler(hdl, -1, cardbus_event_handler, in cardbus_new_slot_state() 595 cardbus_list_occupants(dev_info_t *dip, void *hdl) in cardbus_list_occupants() argument 597 hpc_occupant_info_t *occupant = (hpc_occupant_info_t *)hdl; in cardbus_list_occupants() 854 cbus_configure(dev_info_t *dip, void *hdl) in cbus_configure() argument 858 struct cardbus_config_ctrl *ctrl = (struct cardbus_config_ctrl *)hdl; in cbus_configure()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_cm.c | 877 ibt_channel_hdl_t hdl; in rds_open_rc_channel() local 901 hdl = rds_ep_alloc_rc_channel(ep, hca_port); in rds_open_rc_channel() 902 if (hdl == NULL) { in rds_open_rc_channel() 926 ret = ibt_open_rc_channel(hdl, IBT_OCHAN_NO_FLAGS, in rds_open_rc_channel() 931 (void) ibt_flush_channel(hdl); in rds_open_rc_channel() 932 (void) ibt_free_channel(hdl); in rds_open_rc_channel() 946 *chanhdl = hdl; in rds_open_rc_channel()
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | sigfpe.c | 216 sigfpe(sigfpe_code_type code, sigfpe_handler_type hdl) in sigfpe() argument 233 sigfpe_handlers[i] = hdl; in sigfpe()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | mp_pc.c | 653 cmi_hdl_t hdl; in mp_cpu_poweroff() local 655 if ((hdl = cmi_init(CMI_HDL_NATIVE, cmi_ntv_hwchipid(cp), in mp_cpu_poweroff() 658 cmi_mca_init(hdl); in mp_cpu_poweroff() 659 cp->cpu_m.mcpu_cmi_hdl = hdl; in mp_cpu_poweroff()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs.c | 271 &mod_ctxt->hcas[hca_ndx].hdl); in sol_uverbs_hca_open() 302 status = ibt_query_hca(mod_ctxt->hcas[hca_ndx].hdl, in sol_uverbs_hca_open() 362 if (mod_ctxt->hcas[hca_ndx].hdl != NULL) { in sol_uverbs_hca_close() 368 hcas[hca_ndx].hdl); in sol_uverbs_hca_close() 993 (void) ibt_free_ah(uctxt->hca->hdl, uah->ah); in sol_uverbs_close() 1112 (void) ibt_deregister_mr(uctxt->hca->hdl, umr->mr); in sol_uverbs_close() 1537 (void) ibt_free_pd(uctxt->hca->hdl, upd->pd); in sol_uverbs_alloc_pd() 1553 rc = ibt_free_pd(uctxt->hca->hdl, upd->pd); in uverbs_upd_free() 1662 rc = ibt_query_hca(uctxt->hca->hdl, &hca_attr); in sol_uverbs_query_device() 2188 (void) ibt_deregister_mr(uctxt->hca->hdl, umr->mr); in sol_uverbs_reg_mr() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_rsrc.h | 339 uint_t num, uint_t sleepflag, tavor_rsrc_t **hdl); 340 void tavor_rsrc_free(tavor_state_t *state, tavor_rsrc_t **hdl);
|
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/ |
H A D | iser_ib.c | 71 static void iser_ib_handle_portup_event(ibt_hca_hdl_t hdl, 73 static void iser_ib_handle_portdown_event(ibt_hca_hdl_t hdl, 75 static void iser_ib_handle_hca_detach_event(ibt_hca_hdl_t hdl, 937 iser_ib_handle_portup_event(ibt_hca_hdl_t hdl, ibt_async_event_t *event) in iser_ib_handle_portup_event() argument 1041 iser_ib_handle_portdown_event(ibt_hca_hdl_t hdl, ibt_async_event_t *event) in iser_ib_handle_portdown_event() argument 1078 iser_ib_handle_hca_detach_event(ibt_hca_hdl_t hdl, ibt_async_event_t *event) in iser_ib_handle_hca_detach_event() argument 1135 iser_ib_async_handler(void *clntp, ibt_hca_hdl_t hdl, ibt_async_code_t code, in iser_ib_async_handler() argument 1140 iser_ib_handle_portup_event(hdl, event); in iser_ib_async_handler() 1144 iser_ib_handle_portdown_event(hdl, event); in iser_ib_async_handler() 1156 iser_ib_handle_hca_detach_event(hdl, event); in iser_ib_async_handler()
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip.c | 720 fmd_agent_hdl_t *hdl; in create_chips() local 729 if ((hdl = fmd_agent_open(FMD_AGENT_VERSION)) == NULL) in create_chips() 731 if (fmd_agent_physcpu_info(hdl, &cpus, &ncpu) != 0) { in create_chips() 733 "failed: %s\n", fmd_agent_errmsg(hdl)); in create_chips() 734 fmd_agent_close(hdl); in create_chips() 737 fmd_agent_close(hdl); in create_chips()
|
/illumos-gate/usr/src/uts/common/io/hotplug/hpcsvc/ |
H A D | hpcsvc.c | 133 int (* bus_callback)(dev_info_t *dip, hpc_slot_t hdl, 216 int (* callback)(dev_info_t *dip, hpc_slot_t hdl, 219 hpc_slot_t hdl; member 319 int (* callback)(dev_info_t *dip, hpc_slot_t hdl, in hpc_nexus_register_bus() argument 446 int (* callback)(dev_info_t *dip, hpc_slot_t hdl, in hpc_slot_register() 553 int (* callback)(dev_info_t *dip, hpc_slot_t hdl, in hpc_slot_unregister()
|
/illumos-gate/usr/src/lib/varpd/libvarpd/common/ |
H A D | libvarpd_arp.c | 63 libvarpd_plugin_proxy_arp(varpd_provider_handle_t *hdl, in libvarpd_plugin_proxy_arp() argument 67 varpd_instance_t *inst = (varpd_instance_t *)hdl; in libvarpd_plugin_proxy_arp() 231 libvarpd_plugin_proxy_ndp(varpd_provider_handle_t *hdl, in libvarpd_plugin_proxy_ndp() argument 241 varpd_instance_t *inst = (varpd_instance_t *)hdl; in libvarpd_plugin_proxy_ndp() 491 libvarpd_plugin_proxy_dhcp(varpd_provider_handle_t *hdl, in libvarpd_plugin_proxy_dhcp() argument 498 varpd_instance_t *inst = (varpd_instance_t *)hdl; in libvarpd_plugin_proxy_dhcp()
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_device.c | 173 acpidev_device_filter_usb(acpidev_walk_info_t *infop, ACPI_HANDLE hdl, in acpidev_device_filter_usb() argument 188 if (ACPI_FAILURE(acpica_get_devinfo(hdl, &dip))) { in acpidev_device_filter_usb()
|
H A D | acpidev_resource.c | 967 acpidev_resource_walk(ACPI_HANDLE hdl, char *method, in acpidev_resource_walk() argument 974 ASSERT(hdl != NULL); in acpidev_resource_walk() 977 if (hdl == NULL) { in acpidev_resource_walk() 992 if (ACPI_FAILURE(AcpiGetHandle(hdl, method, &mhdl))) { in acpidev_resource_walk() 993 char *objname = acpidev_get_object_name(hdl); in acpidev_resource_walk() 1004 rc = AcpiWalkResources(hdl, method, in acpidev_resource_walk() 1007 rc = AcpiWalkResources(hdl, method, in acpidev_resource_walk() 1016 char *objname = acpidev_get_object_name(hdl); in acpidev_resource_walk()
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | intel_nhm.c | 49 nhm_error_trap(cmi_hdl_t hdl, boolean_t ismc, boolean_t willpanic) in nhm_error_trap() argument
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_impl.h | 215 int zprop_expand_list(libzfs_handle_t *hdl, zprop_list_t **plp, 255 int zfs_validate_name(libzfs_handle_t *hdl, const char *path, int type,
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_define.c | 1232 errdef->instance = hdl->instance; in add_edef() 1235 if (hdl->access_type == 0) in add_edef() 1258 errdef->rnumber = hdl->rnumber; in add_edef() 1259 errdef->offset = hdl->offset; in add_edef() 1260 errdef->len = hdl->len; in add_edef() 1746 struct handle_info *hdls, *hdl; in test_driver() local 1833 for (i = 0, inst = -1, hdl = hdls; i < cnt; in test_driver() 1834 i++, hdl++) { in test_driver() 1835 if (inst != hdl->instance) { in test_driver() 1836 inst = hdl->instance; in test_driver() [all …]
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | ri_init.c | 96 rcm_handle_t *hdl; member 388 if (rcm->hdl != NULL) in rcm_fini() 389 rcm_free_handle(rcm->hdl); in rcm_fini() 639 (void) rcm_request_offline_list(rcm->hdl, rcm->rlist, in rcm_query_init() 726 (void) rcm_request_capacity_change(rcm->hdl, RCM_CPU_ALL, in cpu_cap_request() 806 (void) rcm_request_capacity_change(rcm->hdl, RCM_MEM_ALL, in mem_cap_request() 1034 if (rcm_get_info(rcm->hdl, buf, RCM_INCLUDE_DEPENDENT, in i_cpu_cm_info() 1248 if (rcm_get_info(rcm->hdl, pathbuf, in io_cm_info() 1762 ri_ap_alloc(char *ap_id, ri_hdl_t *hdl) in ri_ap_alloc() argument 1778 if ((tmp = hdl->aps) == NULL) { in ri_ap_alloc() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_utils.c | 821 devctl_hdl_t hdl = NULL; in devctl_cmd() local 881 hdl = devctl_bus_acquire(path, 0); in devctl_cmd() 883 hdl = devctl_device_acquire(path, 0); in devctl_cmd() 889 if (hdl == NULL) { in devctl_cmd() 896 rv = func(hdl); in devctl_cmd() 899 rv = state_func(hdl, statep); in devctl_cmd() 906 devctl_release(hdl); in devctl_cmd()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | intr.c | 855 invoke_softint(processorid_t cpuid, ulong_t hdl) in invoke_softint() argument 857 uint64_t inum = hdl; in invoke_softint() 866 remove_softint(ulong_t hdl) in remove_softint() argument 868 uint64_t inum = hdl; in remove_softint()
|
/illumos-gate/usr/src/lib/varpd/files/common/ |
H A D | libvarpd_files.c | 89 varpd_files_create(varpd_provider_handle_t *hdl, void **outp, in varpd_files_create() argument 105 vaf->vaf_hdl = hdl; in varpd_files_create() 415 varpd_files_restore(nvlist_t *nvp, varpd_provider_handle_t *hdl, in varpd_files_restore() argument 453 vaf->vaf_hdl = hdl; in varpd_files_restore()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | repval.c | 88 make_handle_bound(scf_handle_t *hdl) in make_handle_bound() argument 93 if ((scf_handle_bind(hdl) == 0) || in make_handle_bound() 303 add_tr_entry_values(scf_handle_t *hdl, scf_transaction_entry_t *entry, in add_tr_entry_values() argument 312 if ((rval->scf_val = scf_value_create(hdl)) == NULL) { in add_tr_entry_values()
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | topo_gather.h | 57 diskmon_t *dm_fmri_to_diskmon(fmd_hdl_t *hdl, nvlist_t *fmri);
|