/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | rpcsec_gss_if.c | 67 void *handle; local 81 if ((handle = dlopen(RPCSEC, RTLD_LAZY)) == NULL) 84 if ((calls.rpc_gss_seccreate = (AUTH *(*)()) dlsym(handle, 87 if ((calls.rpc_gss_set_defaults = (bool_t (*)()) dlsym(handle, 90 if ((calls.rpc_gss_get_principal_name = (bool_t (*)()) dlsym(handle, 93 if ((calls.rpc_gss_get_mechanisms = (char **(*)()) dlsym(handle, 96 if ((calls.rpc_gss_get_mech_info = (char **(*)()) dlsym(handle, 99 if ((calls.rpc_gss_get_versions = (bool_t (*)()) dlsym(handle, 102 if ((calls.rpc_gss_is_installed = (bool_t (*)()) dlsym(handle, 105 if ((calls.rpc_gss_set_svc_name = (bool_t (*)()) dlsym(handle, [all...] |
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);
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/ |
H A D | ext2.c | 672 struct ext2_fs *ext2_open(struct ext2_dev_handle *handle, int state) argument 680 handle->ops->set_blocksize(handle->cookie, 10); 682 if (!handle->ops->read(handle->cookie, &fs->sb, 1, 1) 738 fs->devhandle = handle; 740 handle->ops->set_blocksize(handle->cookie, fs->logsize);
|
H A D | interface.c | 149 struct ext2_dev_handle* handle; local 158 handle = ext2_make_dev_handle_from_parted_geometry(fs->geom); 159 if (!handle) goto error_free_fs; 161 fs_info = (struct ext2_fs*) ext2_open(handle, 0); 170 ext2_destroy_dev_handle(handle); 182 struct ext2_dev_handle* handle; local 190 handle = ext2_make_dev_handle_from_parted_geometry(fs->geom); 191 if (!handle) goto error_free_fs; 193 fs_info = ext2_mkfs (handle, 0, 0, 0, 0, -1, -1, timer); 202 ext2_destroy_dev_handle(handle); 212 struct ext2_dev_handle* handle; local [all...] |
/osnet-11/usr/src/lib/libdhcpsvc/modules/binfiles/ |
H A D | dhcptab.c | 173 lookup_dt(void *handle, boolean_t partial, uint_t query, int count, argument 179 dt_handle_t *dhp = (dt_handle_t *)handle; 200 * handle has been turned into a file descriptor. 338 add_dt(void *handle, dt_rec_t *addp) argument 346 dt_handle_t *dhp = (dt_handle_t *)handle; 426 modify_dt(void *handle, const dt_rec_t *origp, dt_rec_t *newp) argument 436 dt_handle_t *dhp = (dt_handle_t *)handle; 546 delete_dt(void *handle, const dt_rec_t *delp) argument 555 dt_handle_t *dhp = (dt_handle_t *)handle;
|
/osnet-11/usr/src/lib/libdhcpsvc/modules/files/ |
H A D | dhcptab.c | 142 * argument has been generalized into a `flags' field and the handle has 283 lookup_dt(void *handle, boolean_t partial, uint_t query, int count, argument 289 dt_handle_t *dhp = (dt_handle_t *)handle; 480 delete_dt(void *handle, const dt_rec_t *delp) argument 482 return (update_dt((dt_handle_t *)handle, delp, NULL)); 486 add_dt(void *handle, dt_rec_t *addp) argument 488 return (update_dt((dt_handle_t *)handle, NULL, addp)); 492 modify_dt(void *handle, const dt_rec_t *origp, dt_rec_t *newp) argument 494 return (update_dt((dt_handle_t *)handle, origp, newp));
|
/osnet-11/usr/src/lib/libdhcpsvc/modules/files0/ |
H A D | dhcptab.c | 108 * argument has been generalized into a `flags' field and the handle has 248 lookup_dt(void *handle, boolean_t partial, uint_t query, int count, argument 254 dt_handle_t *dhp = (dt_handle_t *)handle; 411 delete_dt(void *handle, const dt_rec_t *delp) argument 413 return (update_dt((dt_handle_t *)handle, delp, NULL)); 417 add_dt(void *handle, dt_rec_t *addp) argument 419 return (update_dt((dt_handle_t *)handle, NULL, addp)); 423 modify_dt(void *handle, const dt_rec_t *origp, dt_rec_t *newp) argument 425 return (update_dt((dt_handle_t *)handle, origp, newp));
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | flowprop.c | 96 dladm_set_flowprop(dladm_handle_t handle, const char *flow, argument 114 (void) dladm_read_flowconf(handle, fname, &onloan); 119 status = i_dladm_set_prop_temp(handle, fname, prop_name, 131 status = i_dladm_set_flowprop_db(handle, fname, prop_name, 156 dladm_get_flowprop(dladm_handle_t handle, const char *flow, uint32_t type, argument 168 return (i_dladm_get_flowprop_db(handle, flow, prop_name, 172 status = i_dladm_get_prop_temp(handle, flow, type, prop_name, 182 i_dladm_set_flowprop_db(dladm_handle_t handle, const char *flow, argument 188 status = dladm_read_flowconf(handle, flow, NULL); 199 status = dladm_set_flowconf_field(handle, flo 221 i_dladm_get_flowprop_db(dladm_handle_t handle, const char *flow, const char *prop_name, char **prop_val, uint_t *val_cntp) argument 262 dladm_flow_info(dladm_handle_t handle, const char *flow, dladm_flow_attr_t *attr) argument 317 do_get_maxbw(dladm_handle_t handle, const char *flow, char **prop_val, uint_t *val_cnt) argument 342 do_set_maxbw(dladm_handle_t handle, const char *flow, val_desc_t *vdp, uint_t val_cnt) argument [all...] |
H A D | libdlether.c | 108 i_dladm_get_spdx(dladm_handle_t handle, datalink_id_t linkid, argument 118 if ((status = dladm_get_single_mac_stat(handle, linkid, 268 dladm_ether_info(dladm_handle_t handle, datalink_id_t linkid, argument 278 status = dladm_datalink_id2info(handle, linkid, NULL, NULL, NULL, 291 if ((status = dladm_get_single_mac_stat(handle, linkid, "ifspeed", 295 if ((status = dladm_get_single_mac_stat(handle, linkid, "link_duplex", 302 status = dladm_get_state(handle, linkid, &eattr->lei_state); 309 status = dladm_get_single_mac_stat(handle, linkid, 314 status = dladm_get_single_mac_stat(handle, linkid, 319 status = dladm_get_single_mac_stat(handle, linki [all...] |
H A D | libdlib.c | 94 i_dladm_ib_ioctl(dladm_handle_t handle, int ioccmd, ibd_ioctl_t *iocp) argument 96 if (ioctl(dladm_dld_fd(handle), ioccmd, iocp) == 0) 110 i_dladm_part_info_active(dladm_handle_t handle, datalink_id_t linkid, argument 125 status = i_dladm_ib_ioctl(handle, IBD_INFO_IBPART, (ibd_ioctl_t *)&ioc); 159 i_dladm_part_info_persist(dladm_handle_t handle, datalink_id_t linkid, argument 170 if ((status = dladm_datalink_id2info(handle, linkid, NULL, &class, 176 if ((status = dladm_getsnap_conf(handle, linkid, &conf)) != 184 status = dladm_get_conf_field(handle, conf, FLINKOVER, linkover, 191 if ((status = dladm_name2info(handle, linkover, 198 status = dladm_get_conf_field(handle, con 236 dladm_part_info(dladm_handle_t handle, datalink_id_t linkid, dladm_part_attr_t *attrp, uint32_t flags) argument 253 dladm_ib_info(dladm_handle_t handle, datalink_id_t linkid, dladm_ib_attr_t *attrp, uint32_t flags) argument 340 i_dladm_part_create(dladm_handle_t handle, dladm_part_attr_t *pattr) argument 365 dladm_part_persist_conf(dladm_handle_t handle, const char *pname, dladm_part_attr_t *pattr) argument 430 dladm_part_create_zone(dladm_handle_t handle, zoneid_t zoneid, datalink_id_t physlinkid, ib_pkey_t pkey, uint32_t flags, char *pname, datalink_id_t *partlinkid, dladm_arg_list_t *proplist, boolean_t anet) argument 532 dladm_part_create(dladm_handle_t handle, datalink_id_t physlinkid, ib_pkey_t pkey, uint32_t flags, char *pname, datalink_id_t *partlinkid, dladm_arg_list_t *proplist) argument 545 i_dladm_part_delete(dladm_handle_t handle, datalink_id_t partid) argument 566 dladm_part_delete(dladm_handle_t handle, datalink_id_t partid, int flags) argument 625 i_dladm_part_up(dladm_handle_t handle, datalink_id_t plinkid, void *arg) argument 713 dladm_part_up(dladm_handle_t handle, datalink_id_t linkid, uint32_t flags) argument 733 i_dladm_part_down(dladm_handle_t handle, datalink_id_t plinkid, void *arg) argument 752 dladm_part_down(dladm_handle_t handle, datalink_id_t linkid, uint32_t flags) argument [all...] |
H A D | libdliptun.c | 64 i_iptun_ioctl(dladm_handle_t handle, int cmd, void *dp) argument 72 status = (ioctl(dladm_dld_fd(handle), cmd, dp) == 0) ? 85 i_iptun_kparams(dladm_handle_t handle, const iptun_params_t *params, argument 110 status = i_iptun_ioctl(handle, IPTUN_INFO, &tmpik); 221 i_iptun_get_sysparams(dladm_handle_t handle, iptun_params_t *params) argument 227 status = i_iptun_ioctl(handle, IPTUN_INFO, &ik); 240 i_iptun_get_dbparams(dladm_handle_t handle, iptun_params_t *params) argument 248 if ((status = dladm_datalink_id2info(handle, params->iptun_param_linkid, 254 if ((status = dladm_getsnap_conf(handle, params->iptun_param_linkid, 261 if ((status = dladm_get_conf_field(handle, con 283 i_iptun_create_sys(dladm_handle_t handle, iptun_params_t *params) argument 298 i_iptun_create_db(dladm_handle_t handle, const char *name, iptun_params_t *params, uint32_t media) argument 339 i_iptun_delete_sys(dladm_handle_t handle, datalink_id_t linkid) argument 351 i_iptun_modify_sys(dladm_handle_t handle, const iptun_params_t *params) argument 362 i_iptun_modify_db(dladm_handle_t handle, const iptun_params_t *params) argument 403 dladm_iptun_create(dladm_handle_t handle, const char *name, iptun_params_t *params, uint32_t flags) argument 455 dladm_iptun_delete(dladm_handle_t handle, datalink_id_t linkid, uint32_t flags) argument 491 dladm_iptun_modify(dladm_handle_t handle, const iptun_params_t *params, uint32_t flags) argument 533 dladm_iptun_getparams(dladm_handle_t handle, iptun_params_t *params, uint32_t flags) argument 545 i_iptun_up(dladm_handle_t handle, datalink_id_t linkid, void *arg) argument 573 i_iptun_down(dladm_handle_t handle, datalink_id_t linkid, void *arg) argument 586 dladm_iptun_up(dladm_handle_t handle, datalink_id_t linkid) argument 601 dladm_iptun_down(dladm_handle_t handle, datalink_id_t linkid) argument 616 dladm_iptun_set6to4relay(dladm_handle_t handle, struct in_addr *relay) argument 622 dladm_iptun_get6to4relay(dladm_handle_t handle, struct in_addr *relay) argument [all...] |
/osnet-11/usr/src/lib/libfstyp/common/ |
H A D | libfstyp.c | 58 fstyp_mod_handle_t *handle); 59 void (*fstyp_fini)(fstyp_mod_handle_t handle); 60 int (*fstyp_ident)(fstyp_mod_handle_t handle); 61 int (*fstyp_get_attr)(fstyp_mod_handle_t handle, 63 int (*fstyp_dump)(fstyp_mod_handle_t handle, 111 fstyp_init(int fd, off64_t offset, char *module_dir, fstyp_handle_t *handle) argument 144 *handle = h; 294 str = dgettext(TEXT_DOMAIN, "invalid handle");
|
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_scf.c | 59 * internal entry and value handles using the supplied SCF handle. 298 scf_handle_t *handle = NULL; local 305 if ((handle = scf_handle_create(SCF_VERSION)) == NULL || 306 ((err = scf_handle_bind(handle)) == -1) || 307 (service = scf_service_create(handle)) == NULL || 308 (instance = scf_instance_create(handle)) == NULL) { 315 handle, fmri, NULL, service, instance, NULL, NULL, 0)) == -1) { 320 if (NULL == (pg = scf_pg_create(handle))) { 334 if ((tx = scf_transaction_create(handle)) == NULL) { 349 if (asr_addprops(handle, t [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | read_pwd.c | 128 HANDLE handle; local 135 handle = GetStdHandle(STD_INPUT_HANDLE); 136 if (handle == INVALID_HANDLE_VALUE) 138 if (!GetConsoleMode(handle, &old_mode)) 145 if (!SetConsoleMode(handle, new_mode)) 194 (void) SetConsoleMode(handle, old_mode);
|
/osnet-11/usr/src/lib/krb5/kadm5/clnt/ |
H A D | client_principal.c | 43 #define eret() do { clnt_perror(handle->clnt, "null ret"); return KADM5_RPC_ERROR; } while (0) 55 kadm5_server_handle_t handle = server_handle; local 62 arg.api_version = handle->api_version; 81 r = create_principal_2(&arg, handle->clnt); 97 kadm5_server_handle_t handle = server_handle; local 104 arg.api_version = handle->api_version; 125 r = create_principal3_2(&arg, handle->clnt); 137 kadm5_server_handle_t handle = server_handle; local 144 arg.api_version = handle->api_version; 145 r = delete_principal_2(&arg, handle 157 kadm5_server_handle_t handle = server_handle; local 194 kadm5_server_handle_t handle = server_handle; local 218 kadm5_server_handle_t handle = server_handle; local 246 kadm5_server_handle_t handle = server_handle; local 267 kadm5_server_handle_t handle = server_handle; local 291 kadm5_server_handle_t handle = server_handle; local 317 kadm5_server_handle_t handle = server_handle; local 341 kadm5_server_handle_t handle = server_handle; local 368 kadm5_server_handle_t handle = server_handle; local 411 kadm5_server_handle_t handle = server_handle; local 458 kadm5_server_handle_t handle = server_handle; local [all...] |
/osnet-11/usr/src/lib/krb5/kadm5/srv/ |
H A D | server_kdb.c | 49 krb5_error_code kdb_init_master(kadm5_server_handle_t handle, argument 61 if ((ret = krb5_get_default_realm(handle->context, &realm))) 67 if ((ret = krb5_db_setup_mkey_name(handle->context, 68 handle->params.mkey_name, 72 master_keyblock.enctype = handle->params.enctype; 79 ret = krb5_db_fetch_mkey(handle->context, master_princ, 82 handle->params.stash_file, 95 if ((ret = krb5_db_verify_master_key(handle->context, master_princ, 97 krb5_db_fini(handle->context); 102 if ((ret = krb5_db_fetch_mkey_list(handle 135 kdb_init_hist(kadm5_server_handle_t handle, char *r) argument 209 kdb_get_hist_key(kadm5_server_handle_t handle, krb5_keyblock *hist_keyblock, krb5_kvno *hist_kvno) argument 262 kdb_get_entry(kadm5_server_handle_t handle, krb5_principal principal, krb5_db_entry *kdb, osa_princ_ent_rec *adb) argument 338 kdb_free_entry(kadm5_server_handle_t handle, krb5_db_entry *kdb, osa_princ_ent_rec *adb) argument 375 kdb_put_entry(kadm5_server_handle_t handle, krb5_db_entry *kdb, osa_princ_ent_rec *adb) argument 423 kdb_delete_entry(kadm5_server_handle_t handle, krb5_principal name) argument 449 kdb_iter_entry(kadm5_server_handle_t handle, char *match_entry, void (*iter_fct)(void *, krb5_principal), void *data) argument [all...] |
H A D | svr_iters.c | 213 kadm5_server_handle_t handle = server_handle; local 222 if ((ret = glob_to_regexp(exp, princ ? handle->params.realm : NULL, 253 data.context = handle->context; 254 ret = kdb_iter_entry(handle, exp, get_princs_iter, (void *) &data); 256 ret = krb5_db_iter_policy(handle->context, exp, get_pols_iter, (void *)&data);
|
/osnet-11/usr/src/grub/grub2/grub-core/disk/arc/ |
H A D | arcdisk.c | 105 grub_arc_fileno_t handle; local 119 if (GRUB_ARC_FIRMWARE_VECTOR->open (name, 0, &handle)) 127 last_handle = handle;
|
/osnet-11/usr/src/grub/grub2/grub-core/mmap/ |
H A D | mmap.c | 251 cur->handle = curhandle++; 261 return cur->handle; 265 grub_mmap_unregister (int handle) argument 270 if (handle == cur->handle) 273 if ((err = grub_machine_mmap_unregister (handle)))
|
/osnet-11/usr/src/grub/grub2/grub-core/net/drivers/efi/ |
H A D | efinet.c | 161 grub_dprintf("net", "Error closing protocol handle efnet: 0x%lx\n", 218 grub_efi_handle_t *handle; local 226 for (handle = handles; num_handles--; handle++) 235 /* We cannot ask for the exclusive handle here, otherwise we'd 238 net = grub_efi_open_protocol (*handle, &net_io_guid, 245 pxe = grub_efi_open_protocol (*handle, &pxe_io_guid, 287 card->efi_handle = *handle; 300 * a protocol handle for SNP.
|
/osnet-11/usr/src/grub/grub2/grub-core/net/drivers/ieee1275/ |
H A D | ofnet.c | 30 grub_ieee1275_ihandle_t handle; member in struct:grub_ofnetcard_data 44 status = grub_ieee1275_open (path, &(data->handle)); 57 if (data->handle) 58 grub_ieee1275_close (data->handle); 68 status = grub_ieee1275_write (data->handle, pack->data, 96 rc = grub_ieee1275_read (data->handle, nb->data, dev->mtu + 64, &actual);
|
/osnet-11/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...] |
/osnet-11/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...] |
/osnet-11/usr/src/lib/libast/common/disc/ |
H A D | sfkeyprintf.c | 45 void* handle; member in struct:__anon1132 208 h = (*fp->lookup)(fp->handle, &fp->fmt, a, &s, &n); 215 h = (*fp->lookup)(fp->handle, &fp->fmt, a, &s, &n); 328 if ((!fp->convert || !(value->s = (*fp->convert)(fp->handle, &fp->fmt, a, s, n))) && (!fp->tmp[0] && !(fp->tmp[0] = sfstropen()) || sfprintf(fp->tmp[0], "%%%c", fp->fmt.fmt) <= 0 || !(value->s = sfstruse(fp->tmp[0])))) 341 sfkeyprintf(Sfio_t* sp, void* handle, const char* format, Sf_key_lookup_t lookup, Sf_key_convert_t convert) argument 351 fmt.handle = handle; 373 sfkeyprintf_20000308(Sfio_t* sp, void* handle, const char* format, Sf_key_lookup_t lookup, Sf_key_convert_t convert) argument 384 fmt.handle = handle; [all...] |
/osnet-11/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...] |