/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc_simple.c | 80 * handle is created for all the services (actually one of each netid) 94 void *handle; local 107 if ((handle = __rpc_setconf((char *)nettype)) == NULL) { 113 while (nconf = __rpc_getconf(handle)) { 217 __rpc_endconf(handle);
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppinput.c | 354 dump(const char* name, char* v, void* handle) argument 361 NoP(handle);
|
H A D | ppop.c | 295 unguard(const char* name, char* v, void* handle) argument
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | attrat.c | 73 void *handle = dlopen("libnvpair.so.1", RTLD_LAZY); local 75 if (handle == NULL || 76 (packer = dlsym(handle, "nvlist_pack")) == NULL || 77 (sizer = dlsym(handle, "nvlist_size")) == NULL || 78 (unpacker = dlsym(handle, "nvlist_unpack")) == NULL || 79 (freer = dlsym(handle, "nvlist_free")) == NULL || 80 (looker = dlsym(handle, "nvlist_lookup_uint64")) == NULL) { 81 if (handle) 82 (void) dlclose(handle); 90 (void) dlclose(handle); [all...] |
H A D | klpdlib.c | 132 klpd_register_id(const priv_set_t *set, void *handle, idtype_t type, id_t id) argument 134 klpd_data_t *p = handle; 153 klpd_register(const priv_set_t *set, void *handle) argument 155 return (klpd_register_id(set, handle, P_PID, -1)); 159 klpd_unregister_id(void *handle, idtype_t type, id_t id) argument 161 klpd_data_t *p = handle; 173 klpd_unregister(void *handle) argument 175 return (klpd_unregister_id(handle, P_PID, -1));
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | pk11tokens.c | 95 kmf_get_token_slots(KMF_HANDLE *handle, CK_SLOT_ID_PTR *slot_list, argument 116 if (handle != NULL) { 117 handle->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; 118 handle->lasterr.errcode = ck_rv; 146 if (handle != NULL) { 147 handle->lasterr.kstype = KMF_KEYSTORE_PK11TOKEN; 148 handle->lasterr.errcode = ck_rv; 291 kmf_pk11_token_lookup(KMF_HANDLE_T handle, char *label, CK_SLOT_ID *slot_id) argument 315 if (handle == NULL) { 338 kmf_rv = kmf_get_token_slots(handle, 434 kmf_set_token_pin(KMF_HANDLE_T handle, int num_attr, KMF_ATTRIBUTE *attrlist) argument 502 kmf_select_token(KMF_HANDLE_T handle, char *label, int readonly) argument 558 kmf_pk11_init_token(KMF_HANDLE_T handle, char *currlabel, char *newlabel, CK_UTF8CHAR_PTR sopin, CK_ULONG sopinlen) argument [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_resolv.c | 65 static int getconf(char *netid, void **handle, struct netconfig **nconf); 161 syslog(LOG_ERR, "can't create resolv client handle.\n"); 265 static int getconf(char *netid, void **handle, struct netconfig **nconf) argument 269 if ((*handle = setnetconfig()) == NULL) 272 while (nc = getnetconfig((void*)*handle)) { 284 endnetconfig(*handle);
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_support/ |
H A D | s10_support.c | 101 zone_dochandle_t handle; local 104 if ((handle = zonecfg_init_handle()) == NULL) 107 if (zonecfg_get_xml_handle(xmlfile, handle) != Z_OK) { 108 zonecfg_fini_handle(handle); 122 if (zonecfg_setdevent(handle) != Z_OK) { 123 zonecfg_fini_handle(handle); 126 if (zonecfg_getdevent(handle, &devtab) == Z_OK) { 129 zonecfg_fini_handle(handle); 134 (void) zonecfg_enddevent(handle); 136 zonecfg_fini_handle(handle); [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_test.c | 89 if ((handle->max_errors != 0) &&\ 90 (handle->max_errors == total_errors)) {\ 91 mtest_message(handle, (END_MSG));\ 92 error_summary(handle, total_errors);\ 93 SET_CONDITION(handle, cond);\ 98 error_summary(mtest_handle_t handle, uint_t total_errors) argument 103 mtest_message(handle, msgbuf); 108 error_print(char *writebuf, char *readbuf, mtest_handle_t handle, long pageno, argument 114 (void) sprintf(msgbuf, pg_header_msg, PAGE_SIZE(handle) * pageno); 115 mtest_message(handle, msgbu 132 memory_test_normal( mtest_handle_t handle) argument 287 memory_test_quick( mtest_handle_t handle) argument 416 memory_test_extended( mtest_handle_t handle) argument [all...] |
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_menu.c | 79 extern int32_t verify(smedia_handle_t handle, int32_t fd, 86 void overwrite_metadata(int32_t fd, smedia_handle_t handle); 98 static void process_F_flag(smedia_handle_t handle, int32_t fd); 99 static void process_w_flag(smedia_handle_t handle); 100 static void process_W_flag(smedia_handle_t handle); 101 static void process_R_flag(smedia_handle_t handle); 102 void process_p_flag(smedia_handle_t handle, int32_t fd); 103 static void process_c_flag(smedia_handle_t handle); 104 static void process_V_flag(smedia_handle_t handle, int32_t fd); 106 static void process_e_flag(smedia_handle_t handle); 116 smedia_handle_t handle; local 309 process_F_flag(smedia_handle_t handle, int32_t fd) argument 486 process_w_flag(smedia_handle_t handle) argument 556 process_W_flag(smedia_handle_t handle) argument 648 process_R_flag(smedia_handle_t handle) argument 738 process_p_flag(smedia_handle_t handle, int32_t fd) argument 813 process_c_flag(smedia_handle_t handle) argument 834 process_V_flag(smedia_handle_t handle, int32_t fd) argument 984 process_s_flag(smedia_handle_t handle, int32_t fd) argument 1046 process_e_flag(smedia_handle_t handle) argument 1053 process_H_flag(smedia_handle_t handle, int32_t fd) argument 1084 process_D_flag(smedia_handle_t handle, int32_t fd) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | events.c | 140 set_vlan(dladm_handle_t handle, datalink_id_t linkid, void *arg) argument 148 status = dladm_vlan_info(handle, linkid, &vinfo, DLADM_OPT_ACTIVE); 322 update_link(dladm_handle_t handle, datalink_id_t linkid, void *arg) argument 329 status = dladm_bridge_getlink(handle, linkid, bridge, sizeof (bridge)); 331 status = dladm_datalink_id2info(handle, linkid, NULL, &class,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/ |
H A D | ksslcfg_create.c | 63 add_property_group_to_instance(scf_handle_t *handle, scf_instance_t *instance, argument 68 pg = scf_pg_create(handle); 99 add_new_property(scf_handle_t *handle, const char *prop_name, argument 106 entry = scf_entry_create(handle); 114 value = scf_value_create(handle); 149 set_method_context(scf_handle_t *handle, scf_transaction_t *tran, argument 152 if ((add_new_property(handle, SCF_PROPERTY_USE_PROFILE, 154 (add_new_property(handle, SCF_PROPERTY_USER, SCF_TYPE_ASTRING, 156 (add_new_property(handle, SCF_PROPERTY_GROUP, SCF_TYPE_ASTRING, 158 (add_new_property(handle, SCF_PROPERTY_LIMIT_PRIVILEGE 176 add_pg_method(scf_handle_t *handle, scf_instance_t *instance, const char *kssl_entry, const char *pg_name, const char *flags, const char *value_str) argument 299 create_instance(scf_handle_t *handle, scf_service_t *svc, const char *instance_name, const char *kssl_entry, const char *command, const char *username, char *inaddr_any_name) argument 382 scf_handle_t *handle; local [all...] |
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | support.c | 67 void *handle, (*fptr)(); local 74 if ((handle = dlopen(obj, (RTLD_LAZY | RTLD_FIRST))) == NULL) { 83 if ((fptr = (void (*)())dlsym(handle, 112 (void) dlclose(handle); 124 (void) dlclose(handle);
|
/illumos-gate/usr/src/cmd/acctadm/ |
H A D | aconf.c | 67 static scf_handle_t *handle = NULL; variable 141 * so we handle that case here by disabling the instance. 331 if ((pg = scf_pg_create(handle)) == NULL || 333 (tx = scf_transaction_create(handle)) == NULL) 428 if ((handle = scf_handle_create(SCF_VERSION)) == NULL || 429 scf_handle_bind(handle) == -1 || 430 (inst = scf_instance_create(handle)) == NULL || 431 scf_handle_decode_fmri(handle, fmri, NULL, NULL, inst, NULL, NULL, 443 (void) scf_handle_unbind(handle); 444 scf_handle_destroy(handle); [all...] |
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | delete.c | 41 pk_destroy_keys(void *handle, KMF_ATTRIBUTE *attrlist, int numattr) argument 128 rv = kmf_delete_key_from_keystore(handle, num, delete_attlist);
|
H A D | list.c | 159 pk_show_keys(void *handle, KMF_KEY_HANDLE *keys, int numkeys) argument 174 rv = kmf_get_sym_key_value(handle, &keys[i], 256 pk_list_keys(void *handle, KMF_ATTRIBUTE *attrlist, int numattr, char *label) argument 272 rv = kmf_find_key(handle, numattr, attrlist); 289 rv = kmf_find_key(handle, numattr, attrlist); 291 pk_show_keys(handle, keys, numkeys); 293 kmf_free_kmf_key(handle, &keys[i]);
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | objects.c | 225 nwamd_object_init(nwam_object_type_t type, const char *name, void *handle, argument 239 object->nwamd_object_handle = handle;
|
/illumos-gate/usr/src/cmd/fwflash/common/ |
H A D | fwflash.h | 65 * An opaque handle for dlopen()/dlclose() to use. 67 void *handle; member in struct:fw_plugin 274 * An opaque handle for dlopen()/dlclose() to use. 276 void *handle; member in struct:vrfyplugin
|
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/ |
H A D | sd.c | 149 libscsi_hdl_t *handle; local 165 if ((handle = libscsi_init(LIBSCSI_VERSION, &serr)) == NULL) { 171 if ((target = libscsi_open(handle, NULL, flashdev->access_devname)) 176 libscsi_fini(handle); 180 action = libscsi_action_alloc(handle, SPC3_CMD_WRITE_BUFFER, 205 libscsi_close(handle, target); 206 libscsi_fini(handle); 259 libscsi_hdl_t *handle; local 276 if ((handle = libscsi_init(LIBSCSI_VERSION, &serr)) == NULL) { 309 libscsi_fini(handle); [all...] |
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_rcm.c | 188 rcm_handle_t *handle; local 201 /* Allocate RCM handle */ 202 if (rcm_alloc_handle(NULL, 0, NULL, &handle) != RCM_SUCCESS) { 203 log_err("Cannot allocate RCM handle (%s)\n", strerror(errno)); 208 if (rcm_request_offline_list(handle, rsrcs, rcm_flags, 212 /* RCM handle is no longer needed */ 213 (void) rcm_free_handle(handle); 237 rcm_handle_t *handle; local 242 if (rcm_alloc_handle(NULL, 0, NULL, &handle) != RCM_SUCCESS) { 243 log_err("Cannot allocate RCM handle ( 263 rcm_handle_t *handle; local 289 rcm_handle_t *handle; local [all...] |
/illumos-gate/usr/src/cmd/krb5/kadmin/server/ |
H A D | ipropd_svc.c | 118 kadm5_server_handle_t handle = global_server_handle; local 129 if (!handle) { 131 gettext("%s: server handle is NULL"), 152 if (!kadm5int_acl_check(handle->context, 168 kret = ulog_get_entries(handle->context, *arg, &ret); 238 kadm5_server_handle_t handle = global_server_handle; local 247 if (!handle) { 249 gettext("%s: server handle is NULL"), 272 if (!kadm5int_acl_check(handle->context,
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sock_notsupp.c | 45 sock_bind_notsupp(sock_lower_handle_t handle, struct sockaddr *name, argument 53 sock_listen_notsupp(sock_lower_handle_t handle, int backlog, argument 61 sock_connect_notsupp(sock_lower_handle_t handle, argument 70 sock_getsockname_notsupp(sock_lower_handle_t handle, struct sockaddr *sa, argument 78 sock_getpeername_notsupp(sock_lower_handle_t handle, struct sockaddr *addr, argument 86 sock_getsockopt_notsupp(sock_lower_handle_t handle, int level, argument 94 sock_setsockopt_notsupp(sock_lower_handle_t handle, int level, argument 102 sock_send_notsupp(sock_lower_handle_t handle, mblk_t *mp, argument 110 sock_senduio_notsupp(sock_lower_handle_t handle, struct uio *uiop, argument 118 sock_recvuio_notsupp(sock_lower_handle_t handle, struc argument 126 sock_poll_notsupp(sock_lower_handle_t handle, short events, int anyyet, cred_t *cred) argument 134 sock_shutdown_notsupp(sock_lower_handle_t handle, int how, struct cred *cr) argument 147 sock_ioctl_notsupp(sock_lower_handle_t handle, int cmd, intptr_t arg, int mode, int32_t *rvalp, cred_t *cred) argument [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | arcfour.c | 496 rc4_crypt_atomic(crypto_provider_handle_t handle, crypto_session_id_t session, argument
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_kstats.c | 406 ddi_acc_handle_t handle; local 447 handle = bgep->cfg_handle; 449 (knp++)->value.ui64 = pci_config_get32(handle, PCI_CONF_BGE_MHCR); 450 (knp++)->value.ui64 = pci_config_get32(handle, PCI_CONF_BGE_PDRWCR); 451 (knp++)->value.ui64 = pci_config_get32(handle, PCI_CONF_BGE_PCISTATE);
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_agpsupport.c | 52 * this agpa_key as a handle returned to userland. Generally, 53 * 0 is not a valid value for a handle, so we add an offset 54 * to the key to get a handle. 58 extern int drm_supp_device_capability(void *handle, int capid); 243 entry->handle = (void*)(uintptr_t)(alloc.agpa_key + DRM_AGP_KEY_OFFSET); 255 request.handle = (unsigned long)entry->handle; 268 drm_agp_lookup_entry(drm_device_t *dev, void *handle) argument 273 if (entry->handle == handle) 449 drm_agp_free_memory(agp_allocate_t *handle, drm_device_t *dev) argument 474 drm_agp_unbind_memory(unsigned long handle, drm_device_t *dev) argument [all...] |