/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/ |
H A D | fksmb_sign_pkcs.c | 37 CK_SESSION_HANDLE hdl; in find_mech() local 40 rv = SUNW_C_GetMechSession(mid, &hdl); in find_mech() 46 (void) C_CloseSession(hdl); in find_mech()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | ndievents.c | 158 ndi_event_print(struct ndi_event_hdl *hdl, uint_t flags) in ndi_event_print() argument 166 if (!hdl) in ndi_event_print() 169 cookie_list = hdl->ndi_evthdl_cookie_list; in ndi_event_print()
|
/illumos-gate/usr/src/test/util-tests/tests/smbios/ |
H A D | smbios_test_errors.c | 74 smbios_test_verify_badids(smbios_hdl_t *hdl) in smbios_test_verify_badids() argument 79 if (smbios_lookup_funcs[i].sif_func(hdl, SMB_ID_NOTSUP, NULL) != in smbios_test_verify_badids()
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/ |
H A D | sol_uverbs_hca.h | 71 ibt_hca_hdl_t hdl; member 126 sol_uverbs_hca_t *sol_uverbs_ibt_hdl_to_hca(ibt_hca_hdl_t hdl);
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_promio.c | 190 ihandle_t hdl = kmdb_prom_get_handle(name); in kmdb_promio_create() local 192 if (hdl == -1) in kmdb_promio_create() 199 pdp->pio_fd = hdl; in kmdb_promio_create()
|
/illumos-gate/usr/src/cmd/stmfadm/ |
H A D | stmfadm.c | 813 luResource hdl = NULL; in createLuFunc() local 819 stmfRet = stmfCreateLuResource(STMF_DISK, &hdl); in createLuFunc() 832 (void) stmfFreeLuResource(hdl); in createLuFunc() 843 (void) stmfFreeLuResource(hdl); in createLuFunc() 863 stmfRet = stmfCreateLu(hdl, &createdGuid); in createLuFunc() 946 (void) stmfFreeLuResource(hdl); in createLuFunc() 1237 setLuPropFromInput(luResource hdl, char *optarg) in setLuPropFromInput() argument 1260 ret = stmfSetLuProp(hdl, propId, propVal); in setLuPropFromInput() 2059 luResource hdl = NULL; in printExtLuProps() local 2064 if ((stmfRet = stmfGetLuResource(guid, &hdl)) in printExtLuProps() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_ofs/ |
H A D | sol_kverb_impl.h | 40 #define FIRE_QP_EVENT(clnt, hdl, ib_event, qpp, type) \ argument 51 #define FIRE_CQ_EVENT(clnt, hdl, ib_event, cqp, type) \ argument
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddifm.c | 520 struct i_ddi_fmhdl *hdl = DEVI(dip)->devi_fmhdl; in i_ddi_fm_handler_enter() local 522 mutex_enter(&hdl->fh_lock); in i_ddi_fm_handler_enter() 523 hdl->fh_lock_owner = curthread; in i_ddi_fm_handler_enter() 535 struct i_ddi_fmhdl *hdl = DEVI(dip)->devi_fmhdl; in i_ddi_fm_handler_exit() local 537 hdl->fh_lock_owner = NULL; in i_ddi_fm_handler_exit() 538 mutex_exit(&hdl->fh_lock); in i_ddi_fm_handler_exit() 544 struct i_ddi_fmhdl *hdl = DEVI(dip)->devi_fmhdl; in i_ddi_fm_handler_owned() local 546 return (hdl->fh_lock_owner == curthread); in i_ddi_fm_handler_owned()
|
/illumos-gate/usr/src/uts/sun4u/lw8/sys/ |
H A D | sgfru.h | 104 fru_hdl_t hdl; /* generic fru handle */ member 117 #define fru_hdl fru_info.hdl
|
/illumos-gate/usr/src/cmd/fm/schemes/mem/ |
H A D | mem.c | 57 fmd_agent_hdl_t *hdl; in page_isretired() local 60 if ((hdl = fmd_agent_open(FMD_AGENT_VERSION)) == NULL) in page_isretired() 62 rc = fmd_agent_page_isretired(hdl, fmri); in page_isretired() 63 err = fmd_agent_errno(hdl); in page_isretired() 64 fmd_agent_close(hdl); in page_isretired()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_changelist.c | 164 libzfs_handle_t *hdl; in changelist_postfix() local 189 hdl = cn->cn_handle->zfs_hdl; in changelist_postfix() 190 assert(hdl != NULL); in changelist_postfix() 191 zfs_uninit_libshare(hdl); in changelist_postfix() 203 zhandle_arr = zfs_alloc(hdl, in changelist_postfix() 213 errors = zfs_init_libshare_arg(hdl, SA_INIT_SHARE_API_SELECTIVE, in changelist_postfix()
|
/illumos-gate/usr/src/lib/libv12n/sparc/ |
H A D | libv12n.c | 80 static void v12n_ldma_register_handler(ds_hdl_t hdl, ds_cb_arg_t arg, 82 static void v12n_ldma_data_handler(ds_hdl_t hdl, ds_cb_arg_t arg, void *buf, 564 v12n_ldma_register_handler(ds_hdl_t hdl, ds_cb_arg_t arg, ds_ver_t *ver, in v12n_ldma_register_handler() argument 572 v12n_ldma_ctrl_hdl = hdl; in v12n_ldma_register_handler() 585 v12n_ldma_data_handler(ds_hdl_t hdl, ds_cb_arg_t arg, void *buf, in v12n_ldma_data_handler() argument 596 if (v12n_ldma_ctrl_hdl != hdl) in v12n_ldma_data_handler()
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_usb.c | 131 di_devlink_handle_t hdl; in devinfo_usb_add() local 177 if (hdl = di_devlink_init (devfs_path, DI_MAKE_LINK)) { in devinfo_usb_add() 178 di_devlink_fini (&hdl); in devinfo_usb_add() 226 if (hdl = di_devlink_init(devfs_path, DI_MAKE_LINK)) { in devinfo_usb_add() 227 di_devlink_fini(&hdl); in devinfo_usb_add() 231 if (hdl = di_devlink_init(devfs_path, DI_MAKE_LINK)) { in devinfo_usb_add() 232 di_devlink_fini(&hdl); in devinfo_usb_add()
|
/illumos-gate/usr/src/cmd/dlutil/ |
H A D | dlled.c | 171 dlled_get_led(dladm_handle_t hdl, datalink_id_t linkid, void *arg) in dlled_get_led() argument 178 if ((status = dladm_datalink_id2info(hdl, linkid, NULL, NULL, NULL, in dlled_get_led() 191 if (ioctl(dladm_dld_fd(hdl), DLDIOC_GETLED, &dil) != 0) { in dlled_get_led()
|
H A D | dltraninfo.c | 232 dltran_dump_transceivers(dladm_handle_t hdl, datalink_id_t linkid, void *arg) in dltran_dump_transceivers() argument 244 if ((status = dladm_datalink_id2info(hdl, linkid, NULL, NULL, NULL, in dltran_dump_transceivers() 257 if (ioctl(dladm_dld_fd(hdl), DLDIOC_GETTRAN, >) != 0) { in dltran_dump_transceivers() 279 if (ioctl(dladm_dld_fd(hdl), DLDIOC_GETTRAN, >) != 0) { in dltran_dump_transceivers()
|
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_cpu.c | 102 ao_procnode_scrubber_enable(cmi_hdl_t hdl, ao_ms_data_t *ao) in ao_procnode_scrubber_enable() argument 104 uint_t procnodeid = cmi_hdl_procnodeid(hdl); in ao_procnode_scrubber_enable()
|
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | elfedit.c | 1526 void *hdl; in load_module_dlopen() local 1545 return (hdl); in load_module_dlopen() 1734 void *hdl; in elfedit_load_module() local 1784 hdl = NULL; in elfedit_load_module() 1795 if (must_exist && (hdl == NULL)) in elfedit_load_module() 1800 if (hdl == NULL) { in elfedit_load_module() 1813 load_module_err(moddef, hdl, path, in elfedit_load_module() 1823 load_module_err(moddef, hdl, path, in elfedit_load_module() 1842 cmd->cmd_name[0], hdl, path); in elfedit_load_module() 1876 old_moddef->ml_dl_hdl = hdl; in elfedit_load_module() [all …]
|
/illumos-gate/usr/src/uts/common/sys/idm/ |
H A D | idm_so.h | 126 int idm_sotx_pdu_constructor(void *hdl, void *arg, int flags); 130 int idm_sorx_pdu_constructor(void *hdl, void *arg, int flags);
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_label.c | 542 fmd_agent_hdl_t *hdl; in get_num_chips() local 549 if ((hdl = fmd_agent_open(FMD_AGENT_VERSION)) == NULL) in get_num_chips() 551 if (fmd_agent_physcpu_info(hdl, &cpus, &ncpu) == -1) { in get_num_chips() 553 fmd_agent_errmsg(hdl)); in get_num_chips() 554 fmd_agent_close(hdl); in get_num_chips() 557 fmd_agent_close(hdl); in get_num_chips()
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_sign_pkcs.c | 37 CK_SESSION_HANDLE hdl; in find_mech() local 40 rv = SUNW_C_GetMechSession(mid, &hdl); in find_mech() 46 (void) C_CloseSession(hdl); in find_mech()
|
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/ |
H A D | hermon.c | 89 static int cnx_read_ioctl(ib_cnx_encap_ident_t *hdl, 91 static int cnx_write_ioctl(ib_cnx_encap_ident_t *hdl, 93 static int cnx_erase_sector_ioctl(ib_cnx_encap_ident_t *hdl, 1135 cnx_read_ioctl(ib_cnx_encap_ident_t *hdl, hermon_flash_ioctl_t *info) in cnx_read_ioctl() argument 1141 "af_sector_num(0x%x)\n", hdl->fd, info->af_type, in cnx_read_ioctl() 1146 ret = ioctl(hdl->fd, HERMON_IOCTL_FLASH_READ, info); in cnx_read_ioctl() 1155 cnx_write_ioctl(ib_cnx_encap_ident_t *hdl, hermon_flash_ioctl_t *info) in cnx_write_ioctl() argument 1162 hdl->fd, info->af_type, info->af_addr, info->af_sector_num, in cnx_write_ioctl() 1166 ret = ioctl(hdl->fd, HERMON_IOCTL_FLASH_WRITE, info); in cnx_write_ioctl() 1181 "af_sector_num(0x%x)\n", hdl->fd, info->af_type, in cnx_erase_sector_ioctl() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | diskmon_conf.c | 792 config_get(fmd_hdl_t *hdl, const fmd_prop_t *fmd_props) in config_get() argument 802 u64 = fmd_prop_get_int32(hdl, GLOBAL_PROP_LOG_LEVEL); in config_get() 805 err = update_configuration_from_topo(hdl, NULL); in config_get() 816 u64 = fmd_prop_get_int32(hdl, fmd_props[i].fmdp_name); in config_get() 821 u64 = fmd_prop_get_int64(hdl, fmd_props[i].fmdp_name); in config_get() 825 str = fmd_prop_get_string(hdl, fmd_props[i].fmdp_name); in config_get() 845 fmd_prop_free_string(hdl, str); in config_get()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/ |
H A D | quota.c | 110 void *hdl; in load_libzfs() local 115 if ((hdl = dlopen("libzfs.so", RTLD_LAZY)) != NULL) { in load_libzfs() 116 _libzfs_init = (libzfs_handle_t *(*)(void))dlsym(hdl, in load_libzfs() 118 _libzfs_fini = (void (*)())dlsym(hdl, "libzfs_fini"); in load_libzfs() 119 _zfs_open = (zfs_handle_t *(*)())dlsym(hdl, "zfs_open"); in load_libzfs() 120 _zfs_close = (void (*)())dlsym(hdl, "zfs_close"); in load_libzfs() 122 dlsym(hdl, "zfs_prop_get_userquota_int"); in load_libzfs()
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_prop.c | 88 vc_reg_handler(ds_cb_arg_t arg, ds_ver_t *ver, ds_svc_hdl_t hdl) in vc_reg_handler() argument 93 ds_primary_handle = hdl; in vc_reg_handler() 95 ds_backup_handle = hdl; in vc_reg_handler()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_module.c | 532 fmd_hdl_t *hdl = (fmd_hdl_t *)mp; in fmd_module_dispatch() local 563 ops->fmdo_recv(hdl, e, ep->ev_nvl, ep->ev_data); in fmd_module_dispatch() 568 ops->fmdo_timeout(hdl, t->mt_id, t->mt_arg); in fmd_module_dispatch() 571 ops->fmdo_close(hdl, ep->ev_data); in fmd_module_dispatch() 574 ops->fmdo_stats(hdl); in fmd_module_dispatch() 578 ops->fmdo_gc(hdl); in fmd_module_dispatch() 600 ops->fmdo_topo(hdl, mp->mod_topo_current->ft_hdl); in fmd_module_dispatch() 612 fmd_hdl_t *hdl = (fmd_hdl_t *)mp; in fmd_module_transport() local 615 return (mp->mod_info->fmdi_ops->fmdo_send(hdl, xp, e, ep->ev_nvl)); in fmd_module_transport() 1397 fmd_module_topo_rele(fmd_module_t *mp, struct topo_hdl *hdl) in fmd_module_topo_rele() argument [all …]
|