Searched defs:handle (Results 376 - 400 of 719) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpcb_clnt.c283 * This routine will return a client handle that is connected to the
296 * If tp is NULL, use default timeout to get a client handle.
325 * case where a client handle is created
326 * without a targaddr and the handle is
403 * This routine will return a client handle that is connected to the local
619 * returns the client handle that it uses to contact the remote rpcbind.
620 * The caller will re-purpose the client handle to contact the remote service.
629 * handle for COTS cases and hence in these cases we do not return the
630 * client handle. This code will change if t_connect() ever
644 void *handle; local
1224 void *handle; local
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dadt_token.c625 adt_write_text(int handle, char *main_text, const char *format) argument
630 (void) au_write(handle, au_to_text(main_text));
633 (void) au_write(handle, au_to_text(buffer));
H A Daudit_scf.c191 get_props_kva_all(asi_scfhandle_t *handle, asi_scfhandle_iter_t *handle_iter, argument
204 while (scf_iter_next_property(handle_iter->prop, handle->prop) == 1) {
205 if (scf_property_get_name(handle->prop, key_buf,
221 if (scf_property_get_value(handle->prop,
227 if (scf_property_type(handle->prop, &prop_type) == -1) {
318 get_plugin_kva(asi_scfhandle_t *handle, asi_scfhandle_iter_t *handle_iter, argument
329 if (scf_iter_instance_pgs_typed(handle_iter->pgrp, handle->inst,
335 while (scf_iter_next_pg(handle_iter->pgrp, handle->pgrp) == 1) {
336 if (scf_pg_get_name(handle->pgrp, plugin_str_tmp,
367 handle
408 scf_free(asi_scfhandle_t *handle) argument
436 scf_init(asi_scfhandle_t *handle) argument
487 scf_init_iter(asi_scfhandle_iter_t *handle_iter, asi_scfhandle_t *handle) argument
1026 asi_scfhandle_t handle; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnss_dbdefs.c1060 static void *handle = NULL; local
1065 if (handle == NULL) {
1069 if (handle == NULL) {
1075 handle = htmp;
1088 if ((sym = dlsym(handle, name)) == NULL)
1102 if ((sym = dlsym(handle, name)) == NULL)
/illumos-gate/usr/src/lib/libipadm/common/
H A Dlibipadm.c170 * Opens a handle to libipadm.
180 ipadm_open(ipadm_handle_t *handle, uint32_t flags) argument
188 if (handle == NULL)
190 *handle = NULL;
210 * We open a handle to libdladm here, to facilitate some daemons (like
211 * nwamd) which opens handle to libipadm before devfsadmd installs the
251 *handle = iph;
261 * Closes and frees the libipadm handle.
340 i_ipadm_dad_wait(ipadm_handle_t handle, const char *lifname, sa_family_t af, argument
357 retv = i_ipadm_get_index(handle, lifnam
[all...]
/illumos-gate/usr/src/lib/libipmp/common/
H A Dipmp_query.c220 * Using `handle', get the group list and store the results in a dynamically
224 ipmp_getgrouplist(ipmp_handle_t handle, ipmp_grouplist_t **grlistpp) argument
226 ipmp_state_t *statep = handle;
253 * Using `handle', get the group information associated with group `name' and
258 ipmp_getgroupinfo(ipmp_handle_t handle, const char *name, argument
261 ipmp_state_t *statep = handle;
302 * Using `handle', get the interface information associated with interface
307 ipmp_getifinfo(ipmp_handle_t handle, const char *name, ipmp_ifinfo_t **ifinfopp) argument
309 ipmp_state_t *statep = handle;
350 * Using `handle', ge
355 ipmp_getaddrinfo(ipmp_handle_t handle, const char *grname, struct sockaddr_storage *addrp, ipmp_addrinfo_t **adinfopp) argument
766 ipmp_setqcontext(ipmp_handle_t handle, ipmp_qcontext_t qcontext) argument
[all...]
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c182 * Perform a write that can handle EINTR.
481 kmf_get_encoded_ocsp_response(KMF_HANDLE_T handle, argument
491 CLEAR_ERROR(handle, ret);
663 kmf_download_crl(KMF_HANDLE_T handle, char *uri, char *proxy, int proxy_port, argument
673 CLEAR_ERROR(handle, ret);
711 if (kmf_is_crl_file(handle, tempfn, pformat) != KMF_OK) {
737 kmf_download_cert(KMF_HANDLE_T handle, char *uri, char *proxy, int proxy_port, argument
747 CLEAR_ERROR(handle, ret);
786 if (kmf_is_cert_file(handle, tempfn, pformat) != KMF_OK) {
811 kmf_get_ocsp_for_cert(KMF_HANDLE_T handle, argument
[all...]
H A Dpk11keys.c352 * - Public Key with handle:
353 * The handle is type converted and returned. Validity of the handle is
432 PKCS_VerifyData(KMF_HANDLE_T handle, argument
440 KMF_HANDLE *kmfh = (KMF_HANDLE *)handle;
488 rv = PKCS_DigestData(handle, ckSession,
791 PKCS_DigestData(KMF_HANDLE_T handle, argument
800 KMF_HANDLE *kmfh = (KMF_HANDLE *)handle;
H A Dpolicy.c932 * Set the policy record in the handle. This searches
938 kmf_set_policy(KMF_HANDLE_T handle, char *policyfile, char *policyname) argument
943 CLEAR_ERROR(handle, ret);
964 if (handle->policy != NULL) {
965 kmf_free_policy_record(handle->policy);
966 free(handle->policy);
969 handle->policy = newpolicy;
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyp_b_subr.c464 void *handle; local
551 if ((handle = __rpc_setconf("datagram_v")) == NULL) {
560 while (clnt2 == 0 && (nconf = __rpc_getconf(handle)) != 0) {
615 __rpc_endconf(handle);
638 __rpc_endconf(handle);
646 __rpc_endconf(handle);
672 __rpc_endconf(handle);
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cs.c101 /* Let driver handle creation of the new path */
678 cfga_flags_t flags, char **errstring, HBA_HANDLE handle,
758 status = getPortAttrsByWWN(handle,
786 status = HBA_ScsiInquiryV2(handle, portAttrs.PortWWN,
811 status = HBA_ScsiInquiryV2(handle, portAttrs.PortWWN,
884 status = getPortAttrsByWWN(handle, *((HBA_WWN *)(pwwn)),
944 status = getPortAttrsByWWN(handle, *((HBA_WWN *)(pwwn)),
1540 char **errstring, HBA_HANDLE handle, int portIndex,
1562 if (getDiscPortAttrs(handle, portIndex,
1586 flags, errstring, handle, portAttr
677 dev_change_state(cfga_cmd_t state_change_cmd, apid_t *apidt, la_wwn_t *pwwn, cfga_flags_t flags, char **errstring, HBA_HANDLE handle, HBA_PORTATTRIBUTES portAttrs) argument
1539 handle_devs(cfga_cmd_t cmd, apid_t *apidt, cfga_flags_t flags, char **errstring, HBA_HANDLE handle, int portIndex, HBA_PORTATTRIBUTES portAttrs) argument
1654 HBA_HANDLE handle; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dwpa_supplicant.c140 if (wpa_s->driver->scan(wpa_s->handle, wpa_s->linkid)) {
204 dladm_close(wpa_s->handle);
213 wpa_s->driver->set_key(wpa_s->handle, wpa_s->linkid, WPA_ALG_NONE,
215 wpa_s->driver->set_key(wpa_s->handle, wpa_s->linkid, WPA_ALG_NONE,
217 wpa_s->driver->set_key(wpa_s->handle, wpa_s->linkid, WPA_ALG_NONE,
219 wpa_s->driver->set_key(wpa_s->handle, wpa_s->linkid, WPA_ALG_NONE,
222 wpa_s->driver->set_key(wpa_s->handle, wpa_s->linkid,
357 wpa_s->driver->associate(wpa_s->handle, wpa_s->linkid,
371 wpa_s->driver->disassociate(wpa_s->handle, wpa_s->linkid,
454 num = wpa_s->driver->get_scan_results(wpa_s->handle, wpa_
789 dladm_handle_t handle; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dlgrp.c237 uintptr_t handle; local
276 handle = (uintptr_t)LGRP_NULL_HANDLE;
278 handle = (uintptr_t)LGRP_DEFAULT_HANDLE;
280 handle = mdb_strtoull(s_handle);
324 handle != (uintptr_t)lgrp.lgrp_plathand)
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcinfo-list.c48 static int processHBA(HBA_HANDLE handle, HBA_ADAPTERATTRIBUTES attrs,
51 static void processRemotePort(HBA_HANDLE handle, HBA_WWN portWWN,
53 static void handleRemotePort(HBA_HANDLE handle, HBA_WWN portWWN,
55 static void printLinkStat(HBA_HANDLE handle, HBA_WWN hbaportWWN,
57 static void handleScsiTarget(HBA_HANDLE handle, HBA_WWN hbaPortWWN,
59 static int retrieveAttrs(HBA_HANDLE handle, HBA_WWN hbaPortWWN,
62 HBA_WWN initiatorPortWWN, HBA_HANDLE handle, boolean_t verbose);
66 * portIndex for the given handle and hba port WWN.
69 * handle an HBA_HANDLE to a adapter
84 retrieveAttrs(HBA_HANDLE handle, HBA_WW argument
168 getTargetMapping(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_FCPTARGETMAPPINGV2 **mapping) argument
223 handleRemotePort(HBA_HANDLE handle, HBA_WWN portWWN, HBA_WWN remotePortWWN, HBA_PORTATTRIBUTES *discPort) argument
264 printLinkStat(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN destWWN) argument
283 printHBANPIVPortInfo(HBA_HANDLE handle, int portindex) argument
371 processHBA(HBA_HANDLE handle, HBA_ADAPTERATTRIBUTES attrs, int portIndex, HBA_PORTATTRIBUTES port, HBA_FCPTARGETMAPPINGV2 *map, int resourceType, int flags, int mode) argument
433 processRemotePort(HBA_HANDLE handle, HBA_WWN portWWN, HBA_FCPTARGETMAPPINGV2 *map, int wwnCount, char **wwn_argv, int flags) argument
493 handleScsiTarget(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN scsiTargetWWN, HBA_FCPTARGETMAPPINGV2 *map) argument
611 HBA_HANDLE handle; local
726 HBA_HANDLE handle; local
1051 searchDevice(discoveredDevice **devList, HBA_FCPSCSIENTRYV2 entry, HBA_WWN initiatorPortWWN, HBA_HANDLE handle, boolean_t verbose) argument
1263 HBA_HANDLE handle; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c139 int fstyp_mod_init(int fd, off_t offset, fstyp_mod_handle_t *handle);
140 void fstyp_mod_fini(fstyp_mod_handle_t handle);
141 int fstyp_mod_ident(fstyp_mod_handle_t handle);
142 int fstyp_mod_get_attr(fstyp_mod_handle_t handle, nvlist_t **attrp);
143 int fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr);
146 fstyp_mod_init(int fd, off_t offset, fstyp_mod_handle_t *handle) argument
156 *handle = (fstyp_mod_handle_t)h;
161 fstyp_mod_fini(fstyp_mod_handle_t handle) argument
163 struct fstyp_pcfs *h = (struct fstyp_pcfs *)handle;
173 fstyp_mod_ident(fstyp_mod_handle_t handle) argument
181 fstyp_mod_get_attr(fstyp_mod_handle_t handle, nvlist_t **attrp) argument
202 fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr) argument
[all...]
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dhermon.c72 static int cnx_get_guids(ib_cnx_encap_ident_t *handle);
75 static uint32_t cnx_get_log2_chunk_size_f_hdl(ib_cnx_encap_ident_t *handle,
83 static int cnx_read_image(ib_cnx_encap_ident_t *handle);
84 static int cnx_write_file(ib_cnx_encap_ident_t *handle, const char *filename);
85 static int cnx_verify_image(ib_cnx_encap_ident_t *handle, int type);
86 static int cnx_read_guids(ib_cnx_encap_ident_t *handle, int type);
87 static int cnx_set_guids(ib_cnx_encap_ident_t *handle, void *arg);
88 static int cnx_write_image(ib_cnx_encap_ident_t *handle, int type);
95 static int cnx_find_magic_n_chnk_sz(ib_cnx_encap_ident_t *handle, int type);
96 static int cnx_get_image_info(ib_cnx_encap_ident_t *handle);
472 cnx_read_image(ib_cnx_encap_ident_t *handle) argument
531 cnx_write_file(ib_cnx_encap_ident_t *handle, const char *filename) argument
569 cnx_verify_image(ib_cnx_encap_ident_t *handle, int type) argument
581 cnx_set_guids(ib_cnx_encap_ident_t *handle, void *arg) argument
658 cnx_write_image(ib_cnx_encap_ident_t *handle, int type) argument
1033 cnx_get_guids(ib_cnx_encap_ident_t *handle) argument
1086 ib_cnx_encap_ident_t *handle; local
1283 cnx_read_guids(ib_cnx_encap_ident_t *handle, int type) argument
1410 cnx_find_magic_n_chnk_sz(ib_cnx_encap_ident_t *handle, int type) argument
1469 cnx_check_for_magic_pattern(ib_cnx_encap_ident_t *handle, uint32_t addr) argument
1517 cnx_get_log2_chunk_size_f_hdl(ib_cnx_encap_ident_t *handle, int type) argument
1585 cnx_get_image_size_f_hdl(ib_cnx_encap_ident_t *handle, int type) argument
1608 cnx_get_image_info(ib_cnx_encap_ident_t *handle) argument
[all...]
H A Dses.c745 libscsi_hdl_t *handle; local
751 handle = libscsi_get_handle(target);
752 action = libscsi_action_alloc(handle, SPC3_CMD_WRITE_BUFFER,
H A Dtavor.c98 static int tavor_get_guids(struct ib_encap_ident *handle);
849 "%s-attached handle structure\n"),
1069 /* set hw part number, psid, and name in handle */
1181 tavor_get_guids(struct ib_encap_ident *handle) argument
1204 * Image GUIDs. handle->pps and handle->sps should be
1206 * on them being stashed in handle. Saves on an ioctl().
1211 handle->ibguids[i] = 0x00000000;
1230 bcopy(&handle->pps[0], &i, 4);
1231 handle
1401 struct ib_encap_ident *handle; local
[all...]
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-mount.c301 gpointer handle; local
308 if (! fstab_open (&handle)) {
312 while ((entry = fstab_next (handle, &_mount_point)) != NULL) {
388 fstab_close (handle);
394 gpointer handle; local
401 if (! mtab_open (&handle)) {
405 while (((entry = mtab_next (handle, mount_point)) != NULL) && (ret == FALSE)) {
419 mtab_close (handle);
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c438 kadm5_server_handle_t handle; local
1067 handle = global_server_handle;
1068 ctx = handle->context;
H A Dserver_stubs.c63 static int gss_to_krb5_name(kadm5_server_handle_t handle,
148 * Purpose: Check a server handle and return a com_err code if it is
153 * handle The server handle.
156 static int check_handle(void *handle) argument
158 CHECK_HANDLE(handle);
165 * Purpose: Constructs a server handle suitable for passing into the
167 * and calling principal into the server handle returned by
173 * handle (output) The returned handle
191 kadm5_server_handle_t handle; local
225 free_server_handle(kadm5_server_handle_t handle) argument
338 cmp_gss_krb5_name(kadm5_server_handle_t handle, gss_name_t gss_name, krb5_principal princ) argument
417 gss_to_krb5_name(kadm5_server_handle_t handle, gss_name_t gss_name, krb5_principal *princ) argument
509 kadm5_server_handle_t handle; local
616 kadm5_server_handle_t handle; local
715 kadm5_server_handle_t handle; local
791 kadm5_server_handle_t handle; local
867 kadm5_server_handle_t handle; local
985 kadm5_server_handle_t handle; local
1075 kadm5_server_handle_t handle; local
1150 kadm5_server_handle_t handle; local
1230 kadm5_server_handle_t handle; local
1311 kadm5_server_handle_t handle; local
1383 kadm5_server_handle_t handle; local
1453 kadm5_server_handle_t handle; local
1528 kadm5_server_handle_t handle; local
1621 kadm5_server_handle_t handle; local
1712 kadm5_server_handle_t handle; local
1785 kadm5_server_handle_t handle; local
1855 kadm5_server_handle_t handle; local
1930 kadm5_server_handle_t handle; local
2031 kadm5_server_handle_t handle; local
2103 kadm5_server_handle_t handle; local
2156 kadm5_server_handle_t handle; local
[all...]
/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_kapi.c76 /* Batch mapping handle structure */
150 * door handle after this routine returns. We only
222 * There is no door handle yet. Give
277 /* Stale door handle. See if smf restarts the daemon. */
820 * Create handle to get SID to UID/GID mapping entries
832 idmap_get_handle_t *handle; local
837 handle = kmem_zalloc(sizeof (idmap_get_handle_t), KM_SLEEP);
839 handle->mapping = kmem_zalloc((sizeof (idmap_mapping)) *
842 handle->result = kmem_zalloc((sizeof (idmap_get_res)) *
844 handle
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_ft.c1101 _sd_uncommit(_sd_buf_handle_t *handle, nsc_off_t fba_pos, nsc_size_t fba_len, argument
1112 cd = HANDLE_CD(handle);
1114 ASSERT_HANDLE_LIMITS(handle, fba_pos, fba_len);
1116 if ((handle->bh_flag & NSC_WRBUF) == 0) {
1129 cc_ent = handle->bh_centry;
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_csr.c34 * and destruction, as well as routines to handle the processing
1359 * is used to handle most of the CSR register requests. They are passed
1809 * By returning a Config ROM "handle", we can allow targets to remove
1815 uint_t size, void **handle, int *status)
1941 /* Return a handle to this block */
1942 *handle = curr_blk;
1954 * specifying the Config ROM "handle" that was given in the allocation,
1960 s1394_remove_config_rom_entry(s1394_hal_t *hal, void **handle, int *status) argument
1981 del_blk = (s1394_config_rom_t *)(*handle);
2105 /* Return a handle t
1814 s1394_add_config_rom_entry(s1394_hal_t *hal, uint8_t key, uint32_t *buffer, uint_t size, void **handle, int *status) argument
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audiots/
H A Daudiots.c648 ddi_acc_handle_t handle = state->ts_acch; local
653 ddi_put32(handle, &regs->aud_regs.ap_stop, TS_ALL_DMA_ENGINES);
654 ddi_put32(handle, &regs->aud_regs.ap_ainten, TS_ALL_DMA_OFF);
657 ddi_put32(handle, &regs->aud_regs.ap_volume, 0x0);
660 ddi_put32(handle, &regs->aud_regs.ap_cir_gc, AP_CIR_GC_ENDLP_IE);
668 ddi_put16(handle,
672 ddi_put16(handle,
683 ddi_put32(handle, &regs->aud_ram[str].eram.eram_ebuf1,
685 ddi_put32(handle, &regs->aud_ram[str].eram.eram_ebuf2,
689 ddi_put16(handle,
743 ddi_acc_handle_t handle = state->ts_acch; local
1149 ddi_acc_handle_t handle = state->ts_acch; local
1290 ddi_acc_handle_t handle = state->ts_acch; local
[all...]

Completed in 394 milliseconds

<<11121314151617181920>>