Searched defs:handle (Results 326 - 350 of 719) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Ddisks_private.h133 di_devlink_handle_t handle; member in struct:search_args
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlvnic.c104 i_dladm_vnic_create_sys(dladm_handle_t handle, dladm_vnic_attr_t *attr) argument
129 rc = ioctl(dladm_dld_fd(handle), VNIC_IOC_CREATE, &ioc);
157 i_dladm_vnic_info_active(dladm_handle_t handle, datalink_id_t linkid, argument
169 rc = ioctl(dladm_dld_fd(handle), VNIC_IOC_INFO, &ioc);
192 i_dladm_vnic_info_persist(dladm_handle_t handle, datalink_id_t linkid, argument
203 if ((status = dladm_getsnap_conf(handle, linkid, &conf)) !=
207 status = dladm_get_conf_field(handle, conf, FLINKOVER, linkover,
216 if ((status = dladm_name2info(handle, linkover,
221 if ((status = dladm_datalink_id2info(handle, linkid, NULL, &class,
233 status = dladm_get_conf_field(handle, con
290 dladm_vnic_info(dladm_handle_t handle, datalink_id_t linkid, dladm_vnic_attr_t *attrp, uint32_t flags) argument
305 i_dladm_vnic_delete_sys(dladm_handle_t handle, datalink_id_t linkid) argument
398 dladm_vnic_create(dladm_handle_t handle, const char *vnic, datalink_id_t linkid, vnic_mac_addr_type_t mac_addr_type, uchar_t *mac_addr, uint_t mac_len, int *mac_slot, uint_t mac_prefix_len, uint16_t vid, vrid_t vrid, int af, datalink_id_t *vnic_id_out, dladm_arg_list_t *proplist, uint32_t flags) argument
590 dladm_vnic_delete(dladm_handle_t handle, datalink_id_t linkid, uint32_t flags) argument
663 dladm_vnic_persist_conf(dladm_handle_t handle, const char *name, dladm_vnic_attr_t *attrp, datalink_class_t class) argument
762 i_dladm_vnic_up(dladm_handle_t handle, datalink_id_t linkid, void *arg) argument
798 dladm_vnic_up(dladm_handle_t handle, datalink_id_t linkid, uint32_t flags) argument
[all...]
H A Dpropfuncs.c119 process_prop_set(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, argument
212 process_prop_get(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, argument
258 process_prop_init(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, argument
285 status = (*lsp->ls_initop)(handle, lsp->ls_name, lip->li_name,
394 process_prop_line(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, argument
451 cont = (*lsp->ls_op)(handle, lsp, buf, lip, statusp);
470 process_prop_db(dladm_handle_t handle, void *arg, FILE *fp, FILE *nfp) argument
488 cont = process_prop_line(handle, lsp, buf, &status);
504 (void) (*lsp->ls_op)(handle, lsp, buf, NULL, &status);
516 i_dladm_get_prop_temp(dladm_handle_t handle, cons argument
580 i_dladm_set_one_prop_temp(dladm_handle_t handle, const char *name, fprop_desc_t *pdp, char **prop_val, uint_t val_cnt, uint_t flags) argument
621 i_dladm_set_prop_temp(dladm_handle_t handle, const char *name, const char *prop_name, char **prop_val, uint_t val_cnt, uint_t flags, char **errprop, prop_table_t *prop_tbl) argument
[all...]
/illumos-gate/usr/src/lib/libdll/common/
H A Ddlfcn.c87 shl_t handle; local
90 handle = dll == (void*)&all ? (shl_t)0 : (shl_t)dll;
91 if (shl_findsym(&handle, name, TYPE_UNDEFINED, &addr))
242 extern void* dlsym(void* handle, const char* name) argument
247 if (!(info = getinfo(handle)) || !(addr = getloc(info->ldinfo_textorg,info->ldinfo_dataorg,(char*)name)))
292 extern void* dlsym(void* handle, const char* name) argument
296 if (!(addr = (void*)dllqueryfn(handle, (char*)name)))
337 static const char e_handle[] = T("invalid handle");
419 extern int dlclose(void* handle) argument
421 Dll_t* dll = (Dll_t*)handle;
465 dlsym(void* handle, const char* name) argument
518 dlsym(void* handle, const char* name) argument
[all...]
/illumos-gate/usr/src/lib/libfcoe/common/
H A Dlibfcoe.c102 * handle - returned handle
103 * service - returned service handle
106 fcoe_cfg_scf_init(scf_handle_t **handle, scf_service_t **service, int is_target) argument
111 if ((*handle = scf_handle_create(SCF_VERSION)) == NULL) {
118 if (scf_handle_bind(*handle) == -1) {
125 if ((*service = scf_service_create(*handle)) == NULL) {
132 if ((scope = scf_scope_create(*handle)) == NULL) {
139 if (scf_handle_get_scope(*handle, SCF_SCOPE_LOCAL, scope) == -1) {
160 if (*handle !
178 scf_handle_t *handle = NULL; local
484 dladm_handle_t handle; local
620 dladm_handle_t handle; local
728 dladm_handle_t handle; local
833 scf_handle_t *handle = NULL; local
[all...]
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/
H A Ds_generic.c58 _m_get_media_info(rmedia_handle_t *handle, void *ip) argument
69 /* Check for valid handle */
70 if (handle == NULL) {
75 if (handle->sm_signature != (int32_t)LIBSMEDIA_SIGNATURE) {
76 DPRINTF("Invalid signature in handle.\n");
79 LIBSMEDIA_SIGNATURE, handle->sm_signature);
80 DPRINTF1("fd=%d\n", handle->sm_fd);
94 ret_val = door_call(handle->sm_door, &door_args);
115 _m_get_device_info(rmedia_handle_t *handle, void *ip) argument
126 /* Check for valid handle */
216 _m_free_device_info(rmedia_handle_t *handle, void *ip) argument
239 _m_raw_write(rmedia_handle_t *handle, void *i_p) argument
297 _m_raw_read(rmedia_handle_t *handle, void *i_p) argument
364 _m_media_format(rmedia_handle_t *handle, void *ip) argument
414 _m_get_media_status(rmedia_handle_t *handle, void *ip) argument
464 _m_set_media_status(rmedia_handle_t *handle, void *ip) argument
509 _m_reassign_block(rmedia_handle_t *handle, void *ip) argument
559 _m_eject(rmedia_handle_t *handle, void *ip) argument
597 _m_check_format_status(rmedia_handle_t *handle, void *ip) argument
646 _m_uscsi_cmd(rmedia_handle_t *handle, struct uscsi_cmd *ucmd) argument
786 remap_shared_buf(rmedia_handle_t *handle, size_t buf_size, char *buffer) argument
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_bcast.c116 void *handle; local
173 if ((handle = __rpc_setconf((char *)nettype)) == NULL)
175 while (nconf = __rpc_getconf(handle)) {
623 (void) __rpc_endconf(handle);
/illumos-gate/usr/src/lib/libcmd/common/
H A Dgrep.c322 record(void* handle, const char* s, size_t len) argument
324 record_handle *r_x = (record_handle *)handle;
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dcsrcrlop.c66 kmf_set_csr_pubkey(KMF_HANDLE_T handle, argument
75 CLEAR_ERROR(handle, ret);
84 plugin = FindPlugin(handle, KMFKey->kstype);
86 ret = plugin->funclist->EncodePubkeyData(handle,
361 sign_csr(KMF_HANDLE_T handle, argument
412 ret = kmf_sign_data(handle, i, attlist);
497 kmf_sign_csr(KMF_HANDLE_T handle, argument
505 CLEAR_ERROR(handle, err);
517 err = sign_csr(handle, &csrdata, Signkey,
538 * KMF_HANDLE_T handle
543 kmf_decode_csr(KMF_HANDLE_T handle, KMF_DATA *rawcsr, KMF_CSR_DATA *csrdata) argument
562 kmf_verify_csr(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist) argument
641 setup_crl_call(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist, KMF_PLUGIN **plugin) argument
686 kmf_import_crl(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist) argument
704 kmf_delete_crl(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist) argument
722 kmf_list_crl(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist) argument
739 kmf_find_crl(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist) argument
796 kmf_find_cert_in_crl(KMF_HANDLE_T handle, int numattr, KMF_ATTRIBUTE *attrlist) argument
815 kmf_verify_crl_file(KMF_HANDLE_T handle, char *crlfile, KMF_DATA *tacert) argument
839 kmf_check_crl_date(KMF_HANDLE_T handle, char *crlname) argument
868 kmf_is_crl_file(KMF_HANDLE_T handle, char *filename, KMF_ENCODE_FORMAT *pformat) argument
[all...]
/illumos-gate/usr/src/common/net/wanboot/
H A Dbootlog.c513 setup_con(http_handle_t handle, boolean_t https, boolean_t client_auth) argument
548 if (proxy_valid && http_set_proxy(handle, &proxy) != 0)
551 (void) http_set_keepalive(handle, 1);
552 (void) http_set_socket_read_timeout(handle, BOOTLOG_HTTP_TIMEOUT);
559 if (http_set_random_file(handle, "/dev/urandom") == -1)
573 if (http_set_client_certificate_file(handle,
578 if (http_set_private_key_file(handle,
584 if (http_set_password(handle, WANBOOT_PASSPHRASE) < 0)
589 if (http_srv_connect(handle) == 0)
592 (void) http_srv_disconnect(handle);
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_nswconfig.c193 void *handle = NULL; local
199 c = _nscd_per_src_lookup(handle, NULL, src, &handle);
224 c = (*bf->lookup)(handle, dbn, src, &handle);
229 be_info.finder_priv = handle;
767 _nscd_per_src_lookup(void *handle, const char *db_name, const char *src_name, argument
780 dlhandle = handle;
781 if ((dlhandle = handle) == NULL) {
792 if (handle
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcplugin/
H A Dpsvcplugin.c64 picl_prophdl_t handle; member in struct:proj_prop
74 extern struct handle { struct
189 if (prop_list[i].handle == proph) {
379 ptree_delete_prop(prop_list[i].handle);
380 ptree_destroy_prop(prop_list[i].handle);
441 prop_list[i].handle = src_prophdl;
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dbridge_rcm.c155 "Bridge: cannot open datalink handle: %s\n",
669 bridge_update(dladm_handle_t handle, datalink_id_t linkid, void *arg) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndd.c355 dladm_handle_t handle; local
361 if (dladm_open(&handle) != DLADM_STATUS_OK)
364 status = dladm_name2info(handle, ++link, &linkid, NULL, NULL, NULL);
367 status = dladm_get_linkprop(handle, linkid,
377 dladm_close(handle);
494 * See if libipadm can handle this request, i.e., properties on
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcadm-list.c75 * handle - returned handle
76 * service - returned service handle
79 cfgInit(scf_handle_t **handle, scf_service_t **service) argument
84 if ((*handle = scf_handle_create(SCF_VERSION)) == NULL) {
90 if (scf_handle_bind(*handle) == -1) {
96 if ((*service = scf_service_create(*handle)) == NULL) {
102 if ((scope = scf_scope_create(*handle)) == NULL) {
108 if (scf_handle_get_scope(*handle, SCF_SCOPE_LOCAL, scope) == -1) {
125 if (*handle !
141 scf_handle_t *handle = NULL; local
423 retrieveNPIVAttrs(HBA_HANDLE handle, HBA_WWN portWWN, HBA_PORTNPIVATTRIBUTES *npivattrs, HBA_UINT32 *portIndex) argument
509 HBA_HANDLE handle; local
622 HBA_HANDLE handle; local
781 HBA_HANDLE handle; local
844 scf_handle_t *handle = NULL; local
953 HBA_HANDLE handle; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/hsfs/fstyp/
H A Dfstyp.c77 int fstyp_mod_init(int fd, off_t offset, fstyp_mod_handle_t *handle);
78 void fstyp_mod_fini(fstyp_mod_handle_t handle);
79 int fstyp_mod_ident(fstyp_mod_handle_t handle);
80 int fstyp_mod_get_attr(fstyp_mod_handle_t handle, nvlist_t **attrp);
81 int fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr);
85 fstyp_mod_init(int fd, off_t offset, fstyp_mod_handle_t *handle) argument
87 fstyp_hsfs_t *h = (fstyp_hsfs_t *)handle;
98 *handle = (fstyp_mod_handle_t)h;
103 fstyp_mod_fini(fstyp_mod_handle_t handle) argument
105 fstyp_hsfs_t *h = (fstyp_hsfs_t *)handle;
115 fstyp_mod_ident(fstyp_mod_handle_t handle) argument
123 fstyp_mod_get_attr(fstyp_mod_handle_t handle, nvlist_t **attrp) argument
145 fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dsigncsr.c48 read_csrdata(KMF_HANDLE_T handle, char *csrfile, KMF_CSR_DATA *csrdata) argument
59 rv = kmf_read_input_file(handle, csrfile, &csrfiledata);
75 rv = kmf_decode_csr(handle, &rawcsr, csrdata);
207 pk_sign_cert(KMF_HANDLE_T handle, KMF_X509_CERTIFICATE *cert, argument
235 if ((rv = kmf_sign_cert(handle, numattr, attrlist)) != KMF_OK) {
245 pk_signcsr_files(KMF_HANDLE_T handle, argument
274 rv = read_csrdata(handle, csrfile, &csrdata);
287 rv = kmf_verify_csr(handle, numattr, attrlist);
328 rv = kmf_find_key(handle, numattr, attrlist);
335 rv = pk_sign_cert(handle,
352 pk_signcsr_pk11_nss(KMF_HANDLE_T handle, KMF_KEYSTORE_TYPE kstype, char *dir, char *prefix, char *token, KMF_CREDENTIAL *cred, char *signkey, char *csrfile, KMF_BIGINT *serial, char *certfile, char *issuer, char *subject, char *altname, KMF_GENERALNAMECHOICES alttype, int altcrit, uint16_t kubits, int kucrit, EKU_LIST *ekulist, uint32_t ltime, KMF_ENCODE_FORMAT fmt, int store, char *outlabel) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/
H A Dfstyp.c97 int fstyp_mod_init(int fd, off_t offset, fstyp_mod_handle_t *handle);
98 void fstyp_mod_fini(fstyp_mod_handle_t handle);
99 int fstyp_mod_ident(fstyp_mod_handle_t handle);
100 int fstyp_mod_get_attr(fstyp_mod_handle_t handle, nvlist_t **attrp);
101 int fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr);
105 fstyp_mod_init(int fd, off_t offset, fstyp_mod_handle_t *handle) argument
118 *handle = (fstyp_mod_handle_t)h;
123 fstyp_mod_fini(fstyp_mod_handle_t handle) argument
125 struct fstyp_ufs *h = (struct fstyp_ufs *)handle;
135 fstyp_mod_ident(fstyp_mod_handle_t handle) argument
143 fstyp_mod_get_attr(fstyp_mod_handle_t handle, nvlist_t **attrp) argument
164 fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr) argument
[all...]
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-shared.c71 mtab_open (gpointer *handle) argument
83 *handle = mtab;
86 *handle = fopen (MNTTAB, "r");
87 return *handle != NULL;
89 *handle = fopen ("/proc/mounts", "r");
90 return *handle != NULL;
95 mtab_next (gpointer handle, char **mount_point) argument
98 struct mtab_handle *mtab = handle;
108 if (getmntent (handle, &mnt) == 0) {
119 mnt = getmntent (handle);
133 mtab_close(gpointer handle) argument
145 fstab_open(gpointer *handle) argument
159 fstab_next(gpointer handle, char **mount_point) argument
190 fstab_close(gpointer handle) argument
[all...]
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventconfd/
H A Dsyseventconfd.c401 * Thread to handle in-coming signals
410 * SIGCHLD is ignored by default, and we need to handle this
723 sysevent_handle_t *handle; local
737 handle = sysevent_open_channel_alt(door_path);
738 if (handle == NULL) {
742 if (sysevent_bind_subscriber(handle, event_handler) != 0) {
744 sysevent_close_channel(handle);
748 if (sysevent_register_event(handle, EC_ALL, &subclass_list, 1)
751 (void) sysevent_unbind_subscriber(handle);
752 (void) sysevent_close_channel(handle);
[all...]
/illumos-gate/usr/src/uts/common/crypto/spi/
H A Dkcf_spi.c125 * and get back a handle. The crypto_provider_info structure contains a
132 crypto_kcf_provider_handle_t *handle)
162 /* provider-private handle, opaque to KCF */
256 * software queue is used for software providers. We handle ordering
362 *handle = prov_desc->pd_kcf_prov_handle;
444 crypto_unregister_provider(crypto_kcf_provider_handle_t handle) argument
452 if ((desc = kcf_prov_tab_lookup((crypto_provider_id_t)handle)) ==
498 if (kcf_prov_tab_rem_provider((crypto_provider_id_t)handle) !=
610 crypto_provider_notification(crypto_kcf_provider_handle_t handle, uint_t state) argument
614 /* lookup the provider from the given handle */
131 crypto_register_provider(crypto_provider_info_t *info, crypto_kcf_provider_handle_t *handle) argument
693 crypto_op_notification(crypto_req_handle_t handle, int error) argument
723 crypto_kmflag(crypto_req_handle_t handle) argument
983 crypto_provider_id_t handle; local
[all...]
/illumos-gate/usr/src/uts/common/inet/kssl/
H A Dksslfilter.c71 kssl_attach_passive_cb(sof_handle_t handle, sof_handle_t ph, argument
78 _NOTE(ARGUNUSED(handle, ph, faddrlen, laddr, laddrlen));
120 kssl_detach_cb(sof_handle_t handle, void *cookie, cred_t *cr) argument
124 _NOTE(ARGUNUSED(handle, cr));
130 kssl_release_ent(kssl->ksslf_ent, handle, kssl->ksslf_type);
142 kssl_bind_cb(sof_handle_t handle, void *cookie, struct sockaddr *name, argument
156 sof_bypass(handle);
162 type = kssl_check_proxy(name, *namelen, handle, &ent);
166 sof_bypass(handle);
179 if (sof_cas_cookie(handle, cooki
200 kssl_listen_cb(sof_handle_t handle, void *cookie, int *backlog, cred_t *cr) argument
224 kssl_connect_cb(sof_handle_t handle, void *cookie, struct sockaddr *name, socklen_t *namelen, cred_t *cr) argument
234 kssl_mblk_prop_cb(sof_handle_t handle, void *cookie, ssize_t *maxblk, ushort_t *wroff, ushort_t *tail) argument
263 kssl_getsockname_cb(sof_handle_t handle, void *cookie, struct sockaddr *addr, socklen_t *addrlen, cred_t *cr) argument
287 kssl_data_out_cb(sof_handle_t handle, void *cookie, mblk_t *mp, struct nmsghdr *msg, cred_t *cr, sof_rval_t *rv) argument
312 kssl_shutdown_cb(sof_handle_t handle, void *cookie, int *howp, cred_t *cr) argument
349 kssl_data_in_cb(sof_handle_t handle, void *cookie, mblk_t *mp, int flags, size_t *lenp) argument
463 kssl_data_in_proc_cb(sof_handle_t handle, void *cookie, mblk_t *mp, cred_t *cr, size_t *lenp) argument
508 sof_handle_t handle = (sof_handle_t)arg; local
530 sof_handle_t handle = (sof_handle_t)arg; local
[all...]
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksdp.c92 static void sdp_sock_connected(void *handle);
93 static void sdp_sock_disconnected(void *handle, int error);
94 static void sdp_sock_connfail(void *handle, int error);
95 static int sdp_sock_recv(void *handle, mblk_t *mp, int flags);
96 static void sdp_sock_xmitted(void *handle, int txqueued);
97 static void sdp_sock_urgdata(void *handle);
98 static void sdp_sock_ordrel(void *handle);
963 /* handle socket specific ioctls */
1234 sdp_sock_connected(void *handle) argument
1236 struct sonode *so = handle;
1256 sdp_sock_disconnected(void *handle, int error) argument
1276 sdp_sock_recv(void *handle, mblk_t *mp, int flags) argument
1292 sdp_sock_xmitted(void *handle, int writeable) argument
1318 sdp_sock_urgdata(void *handle) argument
1334 sdp_sock_ordrel(void *handle) argument
1348 sdp_sock_connfail(void *handle, int error) argument
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_main.c336 int BnxeCheckAccHandle(ddi_acc_handle_t handle) argument
340 ddi_fm_acc_err_get(handle, &de, DDI_FME_VERSION);
341 ddi_fm_acc_err_clear(handle, DDI_FME_VERSION);
347 int BnxeCheckDmaHandle(ddi_dma_handle_t handle) argument
351 ddi_fm_dma_err_get(handle, &de, DDI_FME_VERSION);
364 * access handle, we can just return the fme_status value.
/illumos-gate/usr/src/uts/common/os/
H A Dddi_intr_impl.c336 * is passed to retrieve a handle
355 * is passed to set a handle
552 i_ddi_set_pci_config_handle(dev_info_t *dip, ddi_acc_handle_t handle) argument
557 intr_p->devi_cfg_handle = handle;

Completed in 653 milliseconds

<<11121314151617181920>>