Home
last modified time | relevance | path

Searched refs:hap (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dhc.c1693 struct hc_args *hap = (struct hc_args *)pdata; in hc_is_present() local
1702 TOPO_METH_PRESENT_VERSION, hap->ha_fmri, &hap->ha_nvl, in hc_is_present()
1722 if (hc_auth_changed(hap->ha_fmri, rsrc, in hc_is_present()
1724 hc_auth_changed(hap->ha_fmri, rsrc, in hc_is_present()
1730 if (topo_mod_nvalloc(mod, &hap->ha_nvl, NV_UNIQUE_NAME) != 0) in hc_is_present()
1733 if (nvlist_add_uint32(hap->ha_nvl, in hc_is_present()
1735 nvlist_free(hap->ha_nvl); in hc_is_present()
1736 hap->ha_nvl = NULL; in hc_is_present()
1750 struct hc_args *hap; in hc_fmri_present() local
1755 if ((hap = topo_mod_alloc(mod, sizeof (struct hc_args))) == NULL) in hc_fmri_present()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl_ho.c217 char **hap; in ho_byname2() local
233 for (hap = hp->h_aliases; *hap; hap++) { in ho_byname2()
234 nn = ns_namelen(*hap); in ho_byname2()
235 if (strncasecmp(*hap, name, Max(n, nn)) == 0) in ho_byname2()
290 char **hap; in ho_byaddr() local
292 for (hap = hp->h_addr_list; *hap; hap++) { in ho_byaddr()
293 const u_char *taddr = (const u_char *)*hap; in ho_byaddr()
H A Dgethostent.c144 char **hap; in gethostbyname2_p() local
152 for (hap = net_data->ho_last->h_aliases; hap && *hap; hap++) in gethostbyname2_p()
153 if (ns_samename(name, *hap) == 1) in gethostbyname2_p()
176 char **hap; in gethostbyaddr_p() local
182 for (hap = net_data->ho_last->h_addr_list; in gethostbyaddr_p()
183 hap && *hap; in gethostbyaddr_p()
184 hap++) in gethostbyaddr_p()
185 if (!memcmp(addr, *hap, len)) in gethostbyaddr_p()
H A Ddns_ho.c167 static int add_hostent(struct pvt *pvt, char *bp, char **hap,
689 char *bp, *ep, **ap, **hap; in gethostans() local
764 hap = pvt->h_addr_ptrs; in gethostans()
765 *hap = NULL; in gethostans()
950 m = add_hostent(pvt, bp, hap, aip); in gethostans()
957 if (hap < &pvt->h_addr_ptrs[MAXADDRS]) in gethostans()
958 hap++; in gethostans()
959 *hap = NULL; in gethostans()
977 *hap = NULL; in gethostans()
979 if (pvt->res->nsort && hap != pvt->h_addr_ptrs && in gethostans()
[all …]
H A Dgetaddrinfo.c637 for (hap = net_data->ho_last->h_aliases; hap && *hap; hap++)
638 if (ns_samename(name, *hap) == 1)
/illumos-gate/usr/src/lib/libresolv/
H A Dres_gethost.c95 char **hap; local
132 hap = h_addr_ptrs;
206 memcpy((void *)(*hap++ = bp), (void *)cp, n);
208 bcopy(cp, *hap++ = bp, n);
217 *hap = NULL;
/illumos-gate/usr/src/stand/lib/inet/
H A Dibd.c225 ibd_arp(struct in_addr *ip, void *hap, uint32_t timeout) in ibd_arp() argument
227 ipoib_mac_t *ep = (ipoib_mac_t *)hap; in ibd_arp()
H A Dethernet.c210 ether_arp(struct in_addr *ip, void *hap, uint32_t timeout) in ether_arp() argument
212 ether_addr_t *ep = (ether_addr_t *)hap; in ether_arp()
/illumos-gate/usr/src/cmd/spell/
H A Dlist10455 hap
/illumos-gate/usr/src/cmd/look/
H A Dwords10457 hap