Searched defs:dh (Results 1 - 23 of 23) sorted by relevance

/osnet-11/usr/src/lib/libuuid/common/
H A Detheraddr.c125 dlpi_handle_t dh; local
128 if (dlpi_open(linkname, &dh, 0) != DLPI_SUCCESS)
132 retval = dlpi_get_physaddr(dh, DL_CURR_PHYS_ADDR,
135 dlpi_close(dh);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dparted_io.c110 struct ext2_dev_handle *dh; local
113 if ((dh = ped_malloc(sizeof(struct ext2_dev_handle))) == NULL)
119 dh->ops = &ops;
120 dh->cookie = monster;
124 return dh;
127 free(dh);
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddrti.c96 dof_helper_t dh; local
133 dh.dofhp_dof = (uintptr_t)dof;
134 dh.dofhp_addr = elf->e_type == ET_DYN ? lmp->l_addr : 0;
137 (void) snprintf(dh.dofhp_mod, sizeof (dh.dofhp_mod),
140 (void) snprintf(dh.dofhp_mod, sizeof (dh.dofhp_mod),
165 if ((gen = ioctl(fd, DTRACEHIOC_ADDDOF, &dh)) == -1)
H A Ddt_pid.c518 dof_helper_t dh; local
549 dh.dofhp_dof = sym.st_value;
550 dh.dofhp_addr = (e_type == ET_EXEC) ? 0 : pmp->pr_vaddr;
552 dt_pid_objname(dh.dofhp_mod, sizeof (dh.dofhp_mod),
562 if (pr_ioctl(P, fd, DTRACEHIOC_ADDDOF, &dh, sizeof (dh)) < 0)
563 dt_dprintf("DOF was rejected for %s\n", dh.dofhp_mod);
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_hash.c47 did_hash_t *dh = did_hash_create(hdl); local
49 if (dh != NULL) {
50 topo_mod_setspecific(hdl, (void *) dh);
60 did_hash_t *dh = (did_hash_t *)topo_mod_getspecific(mod); local
63 if (dh == NULL)
65 did_hash_destroy(dh);
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dgptsync.c41 grub_uint8_t *dh)
52 *cl = *ch = *dh = 0xff;
58 *dh = head;
40 lba_to_chs(int lba, grub_uint8_t *cl, grub_uint8_t *ch, grub_uint8_t *dh) argument
/osnet-11/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c138 dlpi_handle_t dh = NULL; local
147 if (dlpi_open(physintf, &dh, 0) == DLPI_SUCCESS &&
148 dlpi_info(dh, &dlinfo, DLPI_INFO_VERSION) == DLPI_SUCCESS &&
155 dlpi_close(dh);
165 dlpi_close(dh);
168 if (dh != NULL)
169 dlpi_close(dh);
/osnet-11/usr/src/grub/grub2/grub-core/video/
H A Dbitmap_scale.c157 int dh = dst->mode_info.height; local
166 for (dy = 0; dy < dh; dy++)
180 sy = sh * dy / dh;
240 int dh = dst->mode_info.height; local
249 for (dy = 0; dy < dh; dy++)
263 sy = sh * dy / dh;
279 int v = (256 * sh * dy / dh) - (sy * 256);
/osnet-11/usr/src/lib/libnsl/nis/gen/
H A Dnis_misc_proc.c116 void *dh; local
127 if ((dh = dlopen(LIBGSS, RTLD_NOLOAD)) == NULL) {
132 OIDptr = (gss_OID *)dlsym(dh, "GSS_C_NT_EXPORT_NAME");
138 g_import_name = (gss_fptr)dlsym(dh, "gss_import_name");
142 g_display_name = (gss_fptr)dlsym(dh, "gss_display_name");
146 g_release_name = (gss_fptr)dlsym(dh, "gss_release_name");
150 g_release_buffer = (gss_fptr)dlsym(dh, "gss_release_buffer");
154 g_release_oid = (gss_fptr)dlsym(dh, "gss_release_oid");
164 if ((dh = dlopen(MECHDH, RTLD_LAZY)) != NULL) {
166 OIDptr = (gss_OID *)dlsym(dh, "__DH_GSS_C_NT_NETNAM
[all...]
/osnet-11/usr/src/lib/libilb/common/
H A Dilb_subr.c172 * 5. (dh == 1 and l_sign <= 0) or (dh == -1 and l_sign > 0),
173 * ie, dh == +/- 2^64
177 * we need to express (for dh == 1):
184 * for dh == -1, all we have is
193 int64_t dh; local
203 dh = signed_diff64(i1h, i2h);
207 if (dh == 0) {
213 } else if (l_sign == sign64(dh) || abs(dh) >
[all...]
/osnet-11/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c278 i_ipadm_ngz_persist_if(dladm_handle_t dh, dladm_datalink_info_t *di, void *arg) argument
H A Dipadm_addr.c3792 dlpi_handle_t dh = NULL; local
3805 if (dlpi_open(addr->ipadm_ifname, &dh, 0) != DLPI_SUCCESS) {
3809 if (dlpi_bind(dh, ETHERTYPE_IP, NULL) != DLPI_SUCCESS ||
3810 dlpi_info(dh, &dlinfo, DLPI_INFO_VERSION) != DLPI_SUCCESS) {
3811 dlpi_close(dh);
3815 dlpi_close(dh);
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.h39 #include <openssl/dh.h>
127 DH *dh; member in struct:_pkinit_req_crypto_context
H A Dpkinit_crypto_openssl.c518 ctx->dh = NULL;
535 if (req_cryptoctx->dh != NULL)
536 DH_free(req_cryptoctx->dh);
2347 if (cryptoctx->dh == NULL) {
2348 if ((cryptoctx->dh = DH_new()) == NULL)
2350 if ((cryptoctx->dh->g = BN_new()) == NULL ||
2351 (cryptoctx->dh->q = BN_new()) == NULL)
2357 cryptoctx->dh->p = get_rfc2409_prime_1024(NULL);
2361 cryptoctx->dh->p = BN_bin2bn(pkinit_2048_dhprime,
2366 cryptoctx->dh
2530 DH *dh = NULL; local
2597 DH *dh = NULL, *dh_server = NULL; local
3204 DH *dh = NULL; local
6865 print_dh(DH * dh, char *msg) argument
[all...]
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Dsysevent.c623 DevinfoDevHandler *dh; local
625 dh = &devinfo_cpu_handler;
631 dh->add (NULL, node, devfs_path, device_type);
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dargs.c585 register struct dolnod *dh; local
587 if(dh=ap->dolh)
588 dh->dolrefcnt++;
589 return(dh);
/osnet-11/usr/src/cmd/sendmail/src/
H A Dtls.c66 DH *dh = NULL; local
68 if ((dh = DH_new()) == NULL)
70 dh->p = BN_bin2bn(dh512_p, sizeof(dh512_p), NULL);
71 dh->g = BN_bin2bn(dh512_g, sizeof(dh512_g), NULL);
72 if ((dh->p == NULL) || (dh->g == NULL))
74 return dh;
526 static DH *dh = NULL; local
953 dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
955 if (dh
[all...]
/osnet-11/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.c282 dladm_handle_t dh; local
284 if (dladm_open(&dh, NETADM_ACTIVE_PROFILE) != DLADM_STATUS_OK)
288 dladm_close(dh);
291 (*vh)->vh_dh = dh;
685 lookup_vnic(dladm_handle_t dh, datalink_id_t vnicid, void *arg) argument
696 if (dladm_datalink_id2info(dh, vnicid, NULL, NULL, NULL,
/osnet-11/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c477 dlpi_handle_t dh; local
484 if (dlpi_open(str, &dh, 0) != DLPI_SUCCESS) {
512 if (dlpi_info(dh, &dlinfo, DLPI_INFO_VERSION) !=
514 dlpi_close(dh);
519 dlpi_close(dh);
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dsquash4.c506 struct grub_squash_dirent_header dh; local
509 err = read_chunk (dir->data, &dh, sizeof (dh),
514 off += sizeof (dh);
515 for (i = 0; i < (unsigned) grub_le_to_cpu32 (dh.nelems) + 1; i++)
533 + grub_le_to_cpu32 (dh.ino_chunk),
560 node->ino_chunk = grub_le_to_cpu32 (dh.ino_chunk);
/osnet-11/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c245 dlpi_close(dlpi_handle_t dh) argument
247 dlpi_impl_t *dip = (dlpi_impl_t *)dh;
267 dlpi_info(dlpi_handle_t dh, dlpi_info_t *infop, uint_t version) argument
275 dlpi_impl_t *dip = (dlpi_impl_t *)dh;
474 dlpi_bind(dlpi_handle_t dh, uint_t sap, uint_t *boundsap) argument
480 dlpi_impl_t *dip = (dlpi_impl_t *)dh;
519 if (dlpi_unbind(dh) != DLPI_SUCCESS)
530 dlpi_unbind(dlpi_handle_t dh) argument
533 dlpi_impl_t *dip = (dlpi_impl_t *)dh;
549 i_dlpi_multi(dlpi_handle_t dh, t_uscalar_ argument
574 dlpi_enabmulti(dlpi_handle_t dh, const void *addrp, size_t addrlen) argument
580 dlpi_disabmulti(dlpi_handle_t dh, const void *addrp, size_t addrlen) argument
591 i_dlpi_promisc(dlpi_handle_t dh, t_uscalar_t op, uint_t level) argument
610 dlpi_promiscon(dlpi_handle_t dh, uint_t level) argument
616 dlpi_promiscoff(dlpi_handle_t dh, uint_t level) argument
622 dlpi_get_physaddr(dlpi_handle_t dh, uint_t type, void *addrp, size_t *addrlenp) argument
671 dlpi_set_physaddr(dlpi_handle_t dh, uint_t type, const void *addrp, size_t addrlen) argument
697 dlpi_send(dlpi_handle_t dh, const void *daddrp, size_t daddrlen, const void *msgbuf, size_t msglen, const dlpi_sendinfo_t *sendp) argument
754 dlpi_recv(dlpi_handle_t dh, void *saddrp, size_t *saddrlenp, void *msgbuf, size_t *msglenp, int msec, dlpi_recvinfo_t *recvp) argument
850 dlpi_enabnotify(dlpi_handle_t dh, uint_t notes, dlpi_notifyfunc_t *funcp, void *arg, dlpi_notifyid_t *id) argument
909 dlpi_disabnotify(dlpi_handle_t dh, dlpi_notifyid_t id, void **argp) argument
933 dlpi_fd(dlpi_handle_t dh) argument
941 dlpi_set_timeout(dlpi_handle_t dh, int sec) argument
953 dlpi_linkname(dlpi_handle_t dh) argument
966 dlpi_style(dlpi_handle_t dh) argument
[all...]
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlstat.c1203 i_dlstat_resolve_kstat_link_names(dladm_handle_t dh, datalink_id_t linkid, argument
1211 dladm_query_primary_linkid(dh, linkid, &ulinkid);
1214 if (dladm_datalink_id2info(dh, ulinkid, NULL, &class, NULL, modname,
1220 if (dladm_datalink_id2info(dh, linkid, NULL, &class, NULL,
1226 if (dladm_phys_info(dh, ulinkid, &dpa, DLADM_OPT_ACTIVE) !=
1237 i_dlstat_resolve_kstat_phys_names(dladm_handle_t dh, datalink_id_t linkid, argument
1250 if (dladm_datalink_id2info(dh, linkid, NULL, &class, NULL, modname,
1257 if (dladm_phys_info(dh, linkid, &dpa, DLADM_OPT_ACTIVE) !=
1421 i_dlstat_get_idlist(dladm_handle_t dh, datalink_id_t linkid, argument
1434 dladm_get_ring_counts(dh, linki
1673 i_dlstat_rx_hwlane_stats(dladm_handle_t dh, datalink_id_t linkid) argument
1777 dlstat_rx_lane_stats(dladm_handle_t dh, datalink_id_t linkid) argument
1946 i_dlstat_tx_hwlane_stats(dladm_handle_t dh, datalink_id_t linkid) argument
2043 dlstat_tx_lane_stats(dladm_handle_t dh, datalink_id_t linkid) argument
2082 dlstat_rx_lane_total_stats(dladm_handle_t dh, datalink_id_t linkid) argument
2156 dlstat_tx_lane_total_stats(dladm_handle_t dh, datalink_id_t linkid) argument
2267 dlstat_rx_ring_stats(dladm_handle_t dh, datalink_id_t linkid) argument
2337 dlstat_tx_ring_stats(dladm_handle_t dh, datalink_id_t linkid) argument
2392 i_dlstat_ring_total_stats(dladm_handle_t dh, datalink_id_t linkid, dladm_stat_type_t stattype) argument
2468 dlstat_rx_ring_total_stats(dladm_handle_t dh, datalink_id_t linkid) argument
2476 dlstat_tx_ring_total_stats(dladm_handle_t dh, datalink_id_t linkid) argument
2509 dlstat_link_total_stats(dladm_handle_t dh, datalink_id_t linkid) argument
2566 dlstat_phys_total_stats(dladm_handle_t dh, datalink_id_t linkid) argument
2730 dlstat_aggr_port_stats(dladm_handle_t dh, datalink_id_t linkid) argument
2797 dlstat_link_stats(dladm_handle_t dh, datalink_id_t linkid) argument
2857 dlstat_vdp_stats(dladm_handle_t dh, datalink_id_t linkid) argument
2967 dlstat_ecp_stats(dladm_handle_t dh, datalink_id_t linkid) argument
3037 dladm_link_stat_query(dladm_handle_t dh, datalink_id_t linkid, dladm_stat_type_t stattype) argument
3203 dladm_link_stat_query_all(dladm_handle_t dh, datalink_id_t linkid, dladm_stat_type_t stattype) argument
[all...]
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dbuiltins.c3800 auto void lba_to_chs (int lba, int *cl, int *ch, int *dh);
3801 void lba_to_chs (int lba, int *cl, int *ch, int *dh)
3814 *dh = head;
3763 lba_to_chs(int lba, int *cl, int *ch, int *dh) argument

Completed in 96 milliseconds