Home
last modified time | relevance | path

Searched refs:hp (Results 176 – 200 of 388) sorted by path

12345678910>>...16

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dcaps44 ceol_standout_glitch, "xhp" "xs" Standout not erased by overwriting (hp)
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo.c2539 di_hp_t hp; in di_walk_hp_callback() local
2542 for (hp = DI_HP_NIL; (hp = di_hp_next(node, hp)) != DI_HP_NIL; ) { in di_walk_hp_callback()
2620 if (hp != DI_HP_NIL) { in di_hp_next()
2622 return (DI_HP((caddr_t)hp - hp->self + hp->next)); in di_hp_next()
2651 di_hp_name(di_hp_t hp) in di_hp_name() argument
2658 if (hp == DI_HP_NIL) { in di_hp_name()
2663 pa = (caddr_t)hp - DI_HP(hp)->self; in di_hp_name()
2679 if (hp == DI_HP_NIL) { in di_hp_connection()
2722 di_hp_type(di_hp_t hp) in di_hp_type() argument
2748 pa = (caddr_t)hp - DI_HP(hp)->self; in di_hp_description()
[all …]
H A Dlibdevinfo.h335 int (*hp_callback)(di_node_t node, di_hp_t hp,
337 extern di_hp_t di_hp_next(di_node_t node, di_hp_t hp);
339 extern char *di_hp_name(di_hp_t hp);
340 extern int di_hp_connection(di_hp_t hp);
341 extern int di_hp_depends_on(di_hp_t hp);
342 extern int di_hp_state(di_hp_t hp);
343 extern int di_hp_type(di_hp_t hp);
344 extern char *di_hp_description(di_hp_t hp);
345 extern time_t di_hp_last_change(di_hp_t hp);
346 extern di_node_t di_hp_child(di_hp_t hp);
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_fs.c79 struct heuristic *hp; in inuse_fs() local
104 for (hp = hlist; hp; hp = hp->next) { in inuse_fs()
105 if (has_fs(hp->prog, slice)) { in inuse_fs()
107 libdiskmgt_add_str(attrs, DM_USED_NAME, hp->type, errp); in inuse_fs()
238 struct heuristic *hp; in load_heuristics() local
240 hp = (struct heuristic *) in load_heuristics()
243 if (hp == NULL) { in load_heuristics()
249 if ((hp->prog = strdup(progpath)) == NULL) { in load_heuristics()
255 if ((hp->type = strdup(dp->d_name)) == NULL) { in load_heuristics()
261 hp->next = hlist; in load_heuristics()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_dof.c603 bzero(hp, sizeof (dof_hdr_t)); in dof_hdr()
605 hp->dofh_ident[DOF_ID_MAG0] = DOF_MAG_MAG0; in dof_hdr()
606 hp->dofh_ident[DOF_ID_MAG1] = DOF_MAG_MAG1; in dof_hdr()
607 hp->dofh_ident[DOF_ID_MAG2] = DOF_MAG_MAG2; in dof_hdr()
608 hp->dofh_ident[DOF_ID_MAG3] = DOF_MAG_MAG3; in dof_hdr()
611 hp->dofh_ident[DOF_ID_MODEL] = DOF_MODEL_LP64; in dof_hdr()
613 hp->dofh_ident[DOF_ID_MODEL] = DOF_MODEL_ILP32; in dof_hdr()
616 hp->dofh_ident[DOF_ID_VERSION] = dofversion; in dof_hdr()
621 hp->dofh_hdrsize = sizeof (dof_hdr_t); in dof_hdr()
622 hp->dofh_secsize = sizeof (dof_sec_t); in dof_hdr()
[all …]
H A Ddt_inttab.c55 dt_inthash_t *hp, *np; in dt_inttab_destroy() local
57 for (hp = ip->int_head; hp != NULL; hp = np) { in dt_inttab_destroy()
58 np = hp->inh_next; in dt_inttab_destroy()
70 dt_inthash_t *hp; in dt_inttab_insert() local
73 for (hp = ip->int_hash[h]; hp != NULL; hp = hp->inh_hash) { in dt_inttab_insert()
74 if (hp->inh_value == value && hp->inh_flags == flags) in dt_inttab_insert()
83 hp->inh_next = NULL; in dt_inttab_insert()
88 ip->int_hash[h] = hp; in dt_inttab_insert()
92 ip->int_head = hp; in dt_inttab_insert()
96 ip->int_tail = hp; in dt_inttab_insert()
[all …]
H A Ddt_strtab.c99 dt_strhash_t *hp, *hq; in dt_strtab_destroy() local
103 for (hp = sp->str_hash[i]; hp != NULL; hp = hq) { in dt_strtab_destroy()
104 hq = hp->str_next; in dt_strtab_destroy()
105 free(hp); in dt_strtab_destroy()
207 dt_strhash_t *hp; in dt_strtab_index() local
216 for (hp = sp->str_hash[h]; hp != NULL; hp = hp->str_next) { in dt_strtab_index()
218 return (hp->str_off); in dt_strtab_index()
227 dt_strhash_t *hp; in dt_strtab_insert() local
247 hp->str_len = len; in dt_strtab_insert()
259 sp->str_hash[h] = hp; in dt_strtab_insert()
[all …]
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_comm.c54 ilb_open(ilb_handle_t *hp) in ilb_open() argument
62 if (hp == NULL) in ilb_open()
112 *hp = (ilb_handle_t)hi; in ilb_open()
115 *hp = ILB_INVALID_HANDLE; in ilb_open()
/illumos-gate/usr/src/lib/libinetutil/common/
H A Dinetutil.c48 struct in_addr hp, tp; in get_netmask4() local
53 hp.s_addr = htonl(n_addrp->s_addr); in get_netmask4()
54 if (getnetmaskbyaddr(hp, &tp) == 0) { in get_netmask4()
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_hash.c87 ipmi_hash_create(ipmi_handle_t *hp, size_t linkoffs, in ipmi_hash_create() argument
94 if ((ihp = ipmi_zalloc(hp, sizeof (ipmi_hash_t))) == NULL) in ipmi_hash_create()
97 ihp->ih_handle = hp; in ipmi_hash_create()
104 if ((ihp->ih_buckets = ipmi_zalloc(hp, in ipmi_hash_create()
106 ipmi_free(hp, ihp); in ipmi_hash_create()
171 ipmi_handle_t *hp = ihp->ih_handle; in ipmi_hash_resize() local
180 if ((nbuckets = ipmi_zalloc(hp, nsize * sizeof (void *))) == NULL) { in ipmi_hash_resize()
210 ipmi_free(hp, ihp->ih_buckets); in ipmi_hash_resize()
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c290 struct hostent *hp; in dump_sockaddr() local
347 hp = getipnodebyaddr((char *)addrptr, addrlen, in dump_sockaddr()
349 if (hp != NULL) { in dump_sockaddr()
351 " (%s)", hp->h_name) < 0) in dump_sockaddr()
353 freehostent(hp); in dump_sockaddr()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dclient.c65 struct hostent *hp, hrec; in init_socket() local
72 if ((hp = gethostbyname_r(host, &hrec, hostbuf, in init_socket()
76 (void) memcpy((char *)&sin.sin_addr, hp->h_addr, in init_socket()
77 hp->h_length); in init_socket()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdxbyname.c118 HEADER *hp; in decode_answer() local
131 hp = (HEADER *)answer; in decode_answer()
134 if ( ntohs( hp->qdcount ) != 1 ) { in decode_answer()
139 ancount = ntohs( hp->ancount ); in decode_answer()
H A Dos-ip.c549 struct hostent *hp; local
562 hp = NULL;
570 if (( hp = GETHOSTBYNAME( host, &hent, hbuf,
572 addrlist = hp->h_addr_list;
752 struct hostent *hp; local
769 if (( hp = gethostbyaddr((char *) &sin.sin_addr,
771 if ( hp->h_name != NULL ) {
772 return( nsldapi_strdup( hp->h_name ));
/illumos-gate/usr/src/lib/libm/common/C/
H A Dremainder.c50 int ix, hx, hp; in remainder() local
54 hp = ((int *)&p)[HIWORD] & ~0x80000000; in remainder()
56 if (hp > 0x7ff00000 || (hp == 0x7ff00000 && ((int *)&p)[LOWORD] != 0)) in remainder()
61 if ((hp | ((int *)&p)[LOWORD]) == 0 || hx == 0x7ff00000) in remainder()
65 if (hp < 0x7fe00000) in remainder()
68 if (hp < 0x00200000) { in remainder()
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dremainderl.c55 long double hp; in remainderl() local
77 hp = half * p; in remainderl()
78 if (x > hp) { in remainderl()
83 if (x >= hp) in remainderl()
/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/lib/libnisdb/
H A Ddb_dictionary.cc229 db_table_desc_p np, next_np, *hp; in relocate_bucket() local
233 hp = &new_tab[np->hashval % hashsize]; in relocate_bucket()
234 np->next = *hp; in relocate_bucket()
235 *hp = np; in relocate_bucket()
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/lib/libnsl/nss/
H A Dgetipnodeby.c361 if (hp != NULL) in getipnodebyname()
369 hp = buf6->result; in getipnodebyname()
391 hp = __mappedtov4(hp, error_num); in getipnodebyname()
451 return (hp); in getipnodebyname()
548 hp = res->result; in getipnodebyaddr()
553 return (hp); in getipnodebyaddr()
560 hp = buf->result; in getipnodebyaddr()
568 return (hp); in getipnodebyaddr()
612 hp = buf->result; in getipnodebyaddr()
619 return (hp); in getipnodebyaddr()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_soc.c423 struct hostent *hp; in getrpcport() local
425 if ((hp = gethostbyname(host)) == NULL) in getrpcport()
427 (void) memcpy(&addr.sin_addr, hp->h_addr, hp->h_length); in getrpcport()
H A Dxdr.c610 xdr_hyper(XDR *xdrs, longlong_t *hp) in xdr_hyper() argument
615 if (XDR_PUTINT32(xdrs, (int *)hp) == TRUE) in xdr_hyper()
621 if (XDR_PUTINT32(xdrs, (int *)((char *)hp + in xdr_hyper()
623 return (XDR_PUTINT32(xdrs, (int32_t *)hp)); in xdr_hyper()
630 (XDR_GETINT32(xdrs, (int *)((char *)hp + in xdr_hyper()
648 xdr_u_hyper(XDR *xdrs, u_longlong_t *hp) in xdr_u_hyper() argument
650 return (xdr_hyper(xdrs, (longlong_t *)hp)); in xdr_u_hyper()
654 xdr_longlong_t(XDR *xdrs, longlong_t *hp) in xdr_longlong_t() argument
656 return (xdr_hyper(xdrs, hp)); in xdr_longlong_t()
660 xdr_u_longlong_t(XDR *xdrs, u_longlong_t *hp) in xdr_u_longlong_t() argument
[all …]
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_enm.c190 enm_selectcb(struct nwam_handle *hp, uint64_t flags, void *data) in enm_selectcb() argument
192 nwam_enm_handle_t enmh = hp; in enm_selectcb()
H A Dlibnwam_loc.c300 loc_selectcb(struct nwam_handle *hp, uint64_t flags, void *data) in loc_selectcb() argument
302 nwam_loc_handle_t loch = hp; in loc_selectcb()
H A Dlibnwam_ncp.c667 ncu_selectcb(struct nwam_handle *hp, uint64_t flags, void *data) in ncu_selectcb() argument
669 nwam_ncu_handle_t ncuh = hp; in ncu_selectcb()

12345678910>>...16