Home
last modified time | relevance | path

Searched refs:hp (Results 201 – 225 of 388) sorted by relevance

12345678910>>...16

/illumos-gate/usr/src/cmd/th_tools/
H A Dth_manage.c204 struct handle_info *hip, *hp; in main() local
237 for (i = 0, hp = hip; i < hdli.count; hp++, i++) { in main()
239 if (hp->instance == instp[j]) in main()
242 instp[j] = hp->instance; in main()
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dchangepw.c101 struct hostent *hp; local
131 if ((hp = gethostbyname(params->kpasswd_server)) == NULL) {
137 sin_p->sin_family = hp->h_addrtype;
139 memcpy((char *)&sin_p->sin_addr, (char *)hp->h_addr, hp->h_length);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c125 struct hostent *hp; in gethostbyname_p() local
132 if (hp) in gethostbyname_p()
133 return (hp); in gethostbyname_p()
142 struct hostent *hp; in gethostbyname2_p() local
159 if ((hp = fakeaddr(name, af, net_data)) != NULL) in gethostbyname2_p()
160 return (hp); in gethostbyname2_p()
197 struct hostent *hp; in gethostent_p() local
201 while ((hp = (*ho->next)(ho)) != NULL && in gethostent_p()
202 hp->h_addrtype == AF_INET6 && in gethostent_p()
205 net_data->ho_last = hp; in gethostent_p()
[all …]
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dcache.c611 head_t *hp = hdp[j]; in print_cache_data() local
616 printf(" max size %d\n", hp->maxblks); in print_cache_data()
617 printf(" actual size %d\n", hp->count); in print_cache_data()
618 printf(" total searches %d\n", hp->searches); in print_cache_data()
619 printf(" cache hits %d\n", hp->hits); in print_cache_data()
620 printf(" cache purges %d\n", hp->purges); in print_cache_data()
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_dma.c1386 px_dump_dma_handle(uint64_t flag, dev_info_t *dip, ddi_dma_impl_t *hp) in px_dump_dma_handle() argument
1389 hp, hp->dmai_inuse, hp->dmai_mapping, hp->dmai_size); in px_dump_dma_handle()
1391 hp->dmai_ndvmapages, hp->dmai_roffset, hp->dmai_rflags, in px_dump_dma_handle()
1392 hp->dmai_nwin); in px_dump_dma_handle()
1394 hp->dmai_winsize, hp->dmai_tte, hp->dmai_pfnlst, hp->dmai_pfn0); in px_dump_dma_handle()
1396 hp->dmai_winlst, &hp->dmai_object, &hp->dmai_attr, in px_dump_dma_handle()
1397 hp->dmai_cookie); in px_dump_dma_handle()
/illumos-gate/usr/src/uts/common/os/
H A Dsunddi.c946 hp->ah_dip = dip; in ddi_device_mapping_check()
949 hp->ah_len = 0; in ddi_device_mapping_check()
7093 if (hp->dmai_curcookie >= hp->dmai_ncookies) { in ddi_dma_nextcookie()
7095 hp); in ddi_dma_nextcookie()
7127 base = hp->dmai_cookie - hp->dmai_curcookie; in ddi_dma_cookie_iter()
7156 base = hp->dmai_cookie - hp->dmai_curcookie; in ddi_dma_cookie_get()
7168 hp); in ddi_dma_cookie_one()
7172 base = hp->dmai_cookie - hp->dmai_curcookie; in ddi_dma_cookie_one()
7317 ASSERT(hp); in ddi_regs_map_free()
7330 (void) ddi_map(hp->ah_dip, &mr, hp->ah_offset, in ddi_regs_map_free()
[all …]
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_cpu.c103 sbdp_disconnect_cpu(sbdp_handle_t *hp, dev_info_t *dip, processorid_t cpuid) in sbdp_disconnect_cpu() argument
177 sbdp_set_err(hp->h_err, ESGT_STOPCPU, NULL); in sbdp_disconnect_cpu()
184 sbdp_connect_cpu(sbdp_handle_t *hp, dev_info_t *dip, processorid_t cpuid) in sbdp_connect_cpu() argument
195 sep = hp->h_err; in sbdp_connect_cpu()
483 sbdp_get_cpuid(sbdp_handle_t *hp, dev_info_t *dip) in sbdp_get_cpuid() argument
497 sep = hp->h_err; in sbdp_get_cpuid()
525 sbdp_cpu_get_impl(sbdp_handle_t *hp, dev_info_t *dip) in sbdp_cpu_get_impl() argument
539 sep = hp->h_err; in sbdp_cpu_get_impl()
/illumos-gate/usr/src/lib/libsasl/lib/
H A Ddlopen.c113 shl_t *hp = NULL; in dlopen() local
116 hp = (shl_t *)malloc(sizeof (shl_t)); in dlopen()
117 if (!hp) { in dlopen()
120 *hp = h; in dlopen()
124 return (dll_handle)hp; in dlopen()
130 shl_t hp = *((shl_t *)h); in dlclose() local
131 if (hp != NULL) free(hp); in dlclose()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dtimers.c206 Handler_t *hp = (Handler_t*)malloc(sizeof(Handler_t)); in sh_timeradd() local
207 if(hp) in sh_timeradd()
209 *hp = fn; in sh_timeradd()
210 sh_timeradd((long)(1000*t), 0, oldalrm, (void*)hp); in sh_timeradd()
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_getrhent.c220 struct hostent *hp; in tsol_getrhtype() local
226 if ((hp = getipnodebyname(rhost, AF_INET6, in tsol_getrhtype()
232 (void) memcpy(&in6, hp->h_addr, hp->h_length); in tsol_getrhtype()
/illumos-gate/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_log.c535 fmd_log_header(fmd_log_t *lp, fmd_log_header_t *hp) in fmd_log_header() argument
540 hp->log_creator = creator ? creator : ""; in fmd_log_header()
541 hp->log_hostname = hostname ? hostname : ""; in fmd_log_header()
542 hp->log_label = lp->log_label ? lp->log_label : ""; in fmd_log_header()
543 hp->log_version = lp->log_version ? lp->log_version : ""; in fmd_log_header()
544 hp->log_osrelease = lp->log_osrelease ? lp->log_osrelease : ""; in fmd_log_header()
545 hp->log_osversion = lp->log_osversion ? lp->log_osversion : ""; in fmd_log_header()
546 hp->log_platform = lp->log_platform ? lp->log_platform : ""; in fmd_log_header()
548 hp->log_uuid = lp->log_uuid ? lp->log_uuid : ""; in fmd_log_header()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.c373 struct hostent *hp; in ihost() local
378 hp = gethostbyaddr((const char *)&sin, sizeof (sin), AF_INET); in ihost()
379 if (hp != NULL) in ihost()
380 return (hp->h_name); in ihost()
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_index_entry.cc128 db_index_entry_p np, next_np, *hp; in relocate() local
132 hp = &new_tab[np->hashval % hashsize]; in relocate()
133 np->next = *hp; in relocate()
134 *hp = np; in relocate()
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_agents.h88 #define TAVOR_DRMAD_SET_HOPPOINTER(madhdrp, hp) \ argument
89 (((sm_dr_mad_hdr_t *)(madhdrp))->HopPointer = (hp))
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_agents.h88 #define HERMON_DRMAD_SET_HOPPOINTER(madhdrp, hp) \ argument
89 (((sm_dr_mad_hdr_t *)(madhdrp))->HopPointer = (hp))
/illumos-gate/usr/src/lib/libmapid/common/
H A Dmapid.c382 HEADER *hp; in resolv_decode() local
407 hp = (HEADER *)&answer.hdr; in resolv_decode()
409 if (hp->rcode != NOERROR) { in resolv_decode()
416 qd_cnt = ntohs(hp->qdcount); in resolv_decode()
417 an_cnt = ntohs(hp->ancount); in resolv_decode()
418 ns_cnt = ntohs(hp->nscount); in resolv_decode()
419 ar_cnt = ntohs(hp->arcount); in resolv_decode()
/illumos-gate/usr/src/cmd/ipcs/
H A Dipcs.c97 static void hp(char, char *, struct ipc_perm64 *, int);
238 hp('q', "SRrw-rw-rw-", &qds.msgx_perm, id); in main()
299 hp('m', "--rw-rw-rw-", &mds.shmx_perm, id); in main()
362 hp('s', "--ra-ra-ra-", &sds.semx_perm, id); in main()
384 hp(char type, char *modesp, struct ipc_perm64 *permp, int slot) in hp() function
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_sendsigned.c38 HEADER *hp; in res_nsendsigned() local
146 hp = (HEADER *) answer; in res_nsendsigned()
147 if (hp->tc && !usingTCP && (statp->options & RES_IGNTC) == 0U) { in res_nsendsigned()
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfcpci.c1697 ddi_acc_hdl_t *hp; in pci_map_phys() local
1703 hp->ah_dip = dip; in pci_map_phys()
1704 hp->ah_rnumber = 0; in pci_map_phys()
1705 hp->ah_offset = 0; in pci_map_phys()
1706 hp->ah_len = 0; in pci_map_phys()
1714 mr.map_handlep = hp; in pci_map_phys()
1733 ddi_acc_hdl_t *hp; in pci_unmap_phys() local
1736 ASSERT(hp); in pci_unmap_phys()
1743 mr.map_handlep = hp; in pci_unmap_phys()
1746 (void) ddi_map(hp->ah_dip, &mr, hp->ah_offset, in pci_unmap_phys()
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_targets.c140 SLPError slp_new_target_list(slp_handle_impl_t *hp, const char *scopes, in slp_new_target_list() argument
185 if (hp->force_multicast) { in slp_new_target_list()
223 hp->internal_call = SLP_TRUE; in slp_new_target_list()
225 (void) slp_unpackSrvReply(hp, reply, collect_DAs, in slp_new_target_list()
229 (void) slp_unpackSrvReply(hp, NULL, collect_DAs, in slp_new_target_list()
233 hp->internal_call = SLP_FALSE; in slp_new_target_list()
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddof.c643 dof_hdr_t h, *hp; in dof_sec_walk_init() local
652 hp = mdb_alloc(size, UM_SLEEP); in dof_sec_walk_init()
654 if (mdb_vread(hp, size, wsp->walk_addr) != size) { in dof_sec_walk_init()
656 mdb_free(hp, size); in dof_sec_walk_init()
661 wsp->walk_data = hp; in dof_sec_walk_init()
671 dof_hdr_t *hp = wsp->walk_data; in dof_sec_walk_step() local
672 dof_sec_t *sp = (dof_sec_t *)((uintptr_t)hp + off); in dof_sec_walk_step()
674 if (i >= hp->dofh_secnum) in dof_sec_walk_step()
684 dof_hdr_t *hp = wsp->walk_data; in dof_sec_walk_fini() local
685 mdb_free(hp, sizeof (dof_hdr_t) + sizeof (dof_sec_t) * hp->dofh_secnum); in dof_sec_walk_fini()
/illumos-gate/usr/src/cmd/tsol/tninfo/
H A Dtninfo.c226 struct hostent *hp; in print_rh() local
231 if ((hp = getipnodebyname(rh_name, AF_INET6, in print_rh()
242 (void) memcpy(&in6, hp->h_addr, hp->h_length); in print_rh()
/illumos-gate/usr/src/cmd/bnu/
H A Dcallers.c582 struct hostent *hp; local
613 hp = gethostbyname(flds[F_NAME]);
619 hp = gethostbyname(flds[F_PHONE]);
622 if (hp == NULL) {
627 DEBUG(4, "tcpdial host %s, ", hp->h_name);
637 sin.sin_family = hp->h_addrtype;
639 bcopy(hp->h_addr, (caddr_t)&sin.sin_addr, hp->h_length);
641 memcpy((caddr_t)&sin.sin_addr, hp->h_addr, hp->h_length);
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dsm_gethost.c90 static struct hostent hp; local
94 h = _switch_gethostbyname_r(name, &hp, buf, sizeof(buf), &h_errno);
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c1626 dump_dma_handle(uint64_t flag, dev_info_t *dip, ddi_dma_impl_t *hp) in dump_dma_handle() argument
1629 hp, hp->dmai_inuse, hp->dmai_mapping, hp->dmai_size); in dump_dma_handle()
1631 hp->dmai_ndvmapages, hp->dmai_roffset, hp->dmai_rflags, in dump_dma_handle()
1632 hp->dmai_nwin); in dump_dma_handle()
1634 hp->dmai_winsize, hp->dmai_tte, hp->dmai_pfnlst, hp->dmai_pfn0); in dump_dma_handle()
1636 hp->dmai_winlst, &hp->dmai_object, &hp->dmai_attr, in dump_dma_handle()
1637 hp->dmai_cookie); in dump_dma_handle()

12345678910>>...16