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

123

/illumos-gate/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);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Dl2_packet.h27 dlpi_handle_t dh; /* dlpi handle for EAPOL frames */ member in struct:l2_packet_data
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Ddlpi_events.c82 dlpi_handle_t *dh = arg; local
85 rc = dlpi_recv(*dh, NULL, NULL, NULL, NULL, -1, NULL);
H A Dknown_wlans.c255 find_secobj_matching_prefix(dladm_handle_t dh, void *arg, argument
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddrctl_impl.c72 door_handle_t dh = drctl_dh; local
76 if (dh)
77 door_ki_hold(dh);
99 up_err = door_ki_upcall_limited(dh, &door_args, NULL, SIZE_MAX, 0);
132 door_ki_rele(dh);
151 door_ki_rele(dh);
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddlink_common.c105 dof_helper_t dh; local
126 dh.dofhp_dof = (uintptr_t)dof;
127 dh.dofhp_addr = elf->e_type == ET_DYN ? addr : 0;
130 (void) snprintf(dh.dofhp_mod, sizeof (dh.dofhp_mod),
133 (void) snprintf(dh.dofhp_mod, sizeof (dh.dofhp_mod),
158 if (ioctl(fd, DTRACEHIOC_ADDDOF, &dh) == -1) {
/illumos-gate/usr/src/uts/common/syscall/
H A Dsidsys.c47 door_handle_t dh; local
51 dh = idmap_get_door(zone);
53 if (dh == NULL)
56 if ((err = door_ki_info(dh, &di)) != 0) {
57 door_ki_rele(dh);
61 door_ki_rele(dh);
88 door_handle_t dh; local
95 dh = door_ki_lookup(did);
97 if (dh == NULL)
100 if ((err = idmap_reg_dh(crgetzone(cr), dh)) !
109 door_handle_t dh = door_ki_lookup(did); local
129 door_handle_t dh; local
[all...]
/illumos-gate/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);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncstat.c66 dlpi_handle_t dh; local
121 if ((retval = dlpi_open(sername, &dh, DLPI_SERIAL)) != DLPI_SUCCESS) {
130 fd = dlpi_fd(dh);
H A Dsyncinit.c114 dlpi_handle_t dh; local
140 retval = dlpi_open(cnambuf, &dh, DLPI_EXCL|DLPI_SERIAL);
150 fd = dlpi_fd(dh);
H A Dsyncloop.c108 dlpi_handle_t dh; local
193 if ((retval = dlpi_open(portname, &dh, DLPI_SERIAL)) != DLPI_SUCCESS) {
208 cfd = dlpi_fd(dh);
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c134 dlpi_handle_t dh = NULL; local
143 if (dlpi_open(physintf, &dh, 0) == DLPI_SUCCESS &&
144 dlpi_bind(dh, DLPI_ANY_SAP, NULL) == DLPI_SUCCESS &&
145 dlpi_info(dh, &dlinfo, 0) == DLPI_SUCCESS &&
152 dlpi_close(dh);
162 dlpi_close(dh);
165 if (dh != NULL)
166 dlpi_close(dh);
/illumos-gate/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...]
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_subr.c173 * 5. (dh == 1 and l_sign <= 0) or (dh == -1 and l_sign > 0),
174 * ie, dh == +/- 2^64
178 * we need to express (for dh == 1):
185 * for dh == -1, all we have is
194 int64_t dh; local
204 dh = signed_diff64(i1h, i2h);
208 if (dh == 0) {
214 } else if (l_sign == sign64(dh) || abs(dh) >
[all...]
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DSystemSolver.java103 private DecisionHistory dh; field in class:SystemSolver
266 dh = DecisionHistory.loadFromFile(newDhPath);
282 if (dh == null)
283 dh = new DecisionHistory();
290 dh.syncToFile(newDhPath);
372 dh.expireAndMeasureImprovements(mon);
636 dh.syncToFile(dhPath);
707 if (ignoreDH || !wdpInvolved || !dh.veto(move.getMove(),
725 dh.recordProcessorMove(
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Drevarp.c65 dlpi_handle_t dh; local
94 dh = rarp_open(linkname, &physaddrlen, my_macaddr, my_broadcast);
95 if (dh == NULL) {
105 dlpi_close(dh);
129 dlpi_close(dh);
149 retval = dlpi_send(dh, my_broadcast, physaddrlen, req,
160 retval = rarp_recv(dh, ans, ifrarplen, physaddrlen,
187 dlpi_close(dh);
204 dlpi_handle_t dh; local
209 if ((retval = dlpi_open(linkname, &dh,
272 rarp_recv(dlpi_handle_t dh, struct arphdr *ans, size_t msglen, size_t physaddrlen, int64_t waitms) argument
333 dlpi_handle_t dh; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/sppptun/
H A Dsppptun.c92 dlpi_handle_t dh; local
96 if ((retv = dlpi_open(linkname, &dh, 0)) != DLPI_SUCCESS) {
106 if ((retv = dlpi_bind(dh, adata->sap, NULL)) != DLPI_SUCCESS) {
110 dlpi_close(dh);
115 if ((retv = dlpi_get_physaddr(dh, DL_CURR_PHYS_ADDR, &adata->localaddr,
120 dlpi_close(dh);
129 dlpi_close(dh);
133 return (dlpi_fd(dh));
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_cmd.c86 door_handle_t dh; local
94 dh = nfscmd_dh;
95 if (dh != NULL)
96 door_ki_hold(dh);
99 if (dh == NULL) {
124 switch (door_ki_upcall(dh, &da)) {
130 door_ki_rele(dh);
135 if (!door_ki_info(dh, &di)) {
145 if (dh == nfscmd_dh)
148 door_ki_rele(dh);
[all...]
H A Dnfs4_idmap.c312 door_handle_t dh; local
341 dh = nig->nfsidmap_daemon_dh;
342 if (dh)
343 door_ki_hold(dh);
346 if (dh == NULL || nig->nfsidmap_pid == curproc->p_pid ||
348 if (dh)
349 door_ki_rele(dh);
363 door_ki_rele(dh);
381 error = door_ki_upcall_limited(dh, &door_args, NULL, SIZE_MAX, 0);
440 door_ki_rele(dh);
525 door_handle_t dh; local
691 door_handle_t dh; local
905 door_handle_t dh; local
[all...]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_time.c293 smb_dos2unixtime(uint_t dd, uint_t dt, uint_t dh, int tzoff, argument
310 + dh / 100;
339 tsp->tv_nsec = (dh % 100) * 10000000;
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Dpro_frame.c375 Dwarf_Half dh; local
420 dh = val1;
426 memcpy((void *) ptr, (const void *) &dh, 2);
/illumos-gate/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
/illumos-gate/usr/src/cmd/iconv/
H A Diconv_list.c192 scan_dir(DIR *dh, char sep, char *suffix) argument
197 while ((de = readdir(dh)) != NULL) {
260 DIR *dh; local
266 dh = opendir(PATH_LIBICONV);
267 if (dh == NULL) {
271 scan_dir(dh, '%', ".so");
272 rewinddir(dh);
273 scan_dir(dh, '.', ".t");
274 (void) closedir(dh);
276 dh
[all...]
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c371 i_ipadm_zone_network_attr(dladm_handle_t dh, datalink_id_t linkid, void *arg) argument
392 dlstatus = dladm_datalink_id2info(dh, linkid, NULL, NULL,
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Dsysevent.c588 DevinfoDevHandler *dh; local
590 dh = &devinfo_cpu_handler;
596 dh->add (NULL, node, devfs_path, device_type);

Completed in 246 milliseconds

123