HomeSort by relevance Sort by last modified time
    Searched refs:hp (Results 1 - 25 of 402) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /netvirt/usr/src/lib/libslp/clib/
SLPOpen.c 39 slp_handle_impl_t *hp; local
46 if (!(hp = malloc(sizeof (*hp)))) {
52 hp->pending_outcall = SLP_FALSE;
53 (void) mutex_init(&(hp->outcall_lock), NULL, NULL);
54 (void) cond_init(&(hp->outcall_cv), NULL, NULL);
55 hp->close_on_end = SLP_FALSE;
56 hp->consumer_tid = 0;
59 if (!(hp->locale = SLPGetProperty(SLP_CONFIG_LOCALE))) {
60 hp->locale = pcLang
111 slp_handle_impl_t *hp = (slp_handle_impl_t *)hSLP; local
    [all...]
slp_ua_common.c 39 slp_handle_impl_t *hp; member in struct:thr_call_args
53 slp_handle_impl_t *hp; local
61 hp = (slp_handle_impl_t *)hSLP;
64 if ((err = slp_new_target_list(hp, scopes, &targets)) != SLP_OK)
66 if ((err = check_message_fit(hp, targets)) != SLP_OK) {
78 args->hp = hp;
88 hp->q = q;
98 hp->producer_tid = tid;
100 if (hp->async)
125 slp_handle_impl_t *hp; local
    [all...]
  /netvirt/usr/src/cmd/ipf/lib/common/
printhashdata.c 18 void printhashdata(hp, opts)
19 iphtable_t *hp;
24 if ((hp->iph_type & IPHASH_ANON) == IPHASH_ANON)
26 switch (hp->iph_type & ~IPHASH_ANON)
33 if (hp->iph_flags & FR_INQUE)
35 else if (hp->iph_flags & FR_OUTQUE)
41 PRINTF("%#x", hp->iph_type);
46 PRINTF("Hash Table Number: %s", hp->iph_name);
47 if ((hp->iph_type & IPHASH_ANON) == IPHASH_ANON)
53 switch (hp->iph_unit
    [all...]
hostname.c 19 struct hostent *hp; local
31 hp = gethostbyaddr(ip, 4, AF_INET);
32 if (hp != NULL && hp->h_name != NULL &&
33 *hp->h_name != '\0') {
34 strncpy(hostbuf, hp->h_name, sizeof(hostbuf));
printhash_live.c 20 iphtable_t *printhash_live(hp, fd, name, opts)
21 iphtable_t *hp;
31 if ((name != NULL) && strncmp(name, hp->iph_name, FR_GROUPLEN))
32 return hp->iph_next;
34 printhashdata(hp, opts);
48 iter.ili_unit = hp->iph_unit;
49 strncpy(iter.ili_name, hp->iph_name, FR_GROUPLEN);
66 (void) printhashnode(hp, node, bcopywrap, opts);
80 return hp->iph_next;
  /netvirt/usr/src/common/ctf/
ctf_hash.c 35 ctf_hash_create(ctf_hash_t *hp, ulong_t nelems)
45 bzero(hp, sizeof (ctf_hash_t));
46 hp->h_buckets = (ushort_t *)_CTF_EMPTY;
47 hp->h_nbuckets = 1;
51 hp->h_nbuckets = 211; /* use a prime number of hash buckets */
52 hp->h_nelems = nelems + 1; /* we use index zero as a sentinel */
53 hp->h_free = 1; /* first free element is index 1 */
55 hp->h_buckets = ctf_alloc(sizeof (ushort_t) * hp->h_nbuckets);
56 hp->h_chains = ctf_alloc(sizeof (ctf_helem_t) * hp->h_nelems)
    [all...]
  /netvirt/usr/src/lib/libdtrace/common/
dt_inttab.c 57 dt_inthash_t *hp, *np; local
59 for (hp = ip->int_head; hp != NULL; hp = np) {
60 np = hp->inh_next;
61 dt_free(ip->int_hdl, hp);
72 dt_inthash_t *hp; local
75 for (hp = ip->int_hash[h]; hp != NULL; hp = hp->inh_hash)
111 const dt_inthash_t *hp; local
    [all...]
  /netvirt/usr/src/uts/sun4u/sys/
sbd.h 85 int sbdp_assign_board(sbdp_handle_t *hp);
86 int sbdp_connect_board(sbdp_handle_t *hp);
87 int sbdp_disconnect_board(sbdp_handle_t *hp);
88 int sbdp_get_board_num(sbdp_handle_t *hp, dev_info_t *dip);
90 int sbdp_cancel_component_release(sbdp_handle_t *hp);
91 processorid_t sbdp_get_cpuid(sbdp_handle_t *hp, dev_info_t *dip);
95 int sbdp_get_mem_alignment(sbdp_handle_t *hp, dev_info_t *dip, uint64_t *align);
96 struct memlist *sbdp_get_memlist(sbdp_handle_t *hp, dev_info_t *dip);
97 int sbdp_del_memlist(sbdp_handle_t *hp, struct memlist *mlist);
98 int sbdp_get_unit_num(sbdp_handle_t *hp, dev_info_t *dip)
    [all...]
  /netvirt/usr/src/lib/libbc/libc/net/
getrpcport.c 38 struct hostent *hp; local
40 if ((hp = gethostbyname(host)) == NULL)
42 bcopy(hp->h_addr, (char *) &addr.sin_addr, hp->h_length);
  /netvirt/usr/src/cmd/getent/
dogethost.c 40 puthostent(const struct hostent *hp, FILE *fp)
45 if (hp == NULL) {
49 for (p = hp->h_addr_list; *p != 0; p++) {
55 inet_ntoa(in), hp->h_name) == EOF)
57 for (q = hp->h_aliases; *q != 0; q++) {
73 struct hostent *hp; local
77 while ((hp = gethostent()) != NULL)
78 (void) puthostent(hp, stdout);
84 hp = gethostbyaddr((char *)&addr,
87 hp = gethostbyname(*list)
    [all...]
dogetipnodes.c 39 puthostent(const struct hostent *hp, FILE *fp)
45 if (hp == NULL) {
49 for (p = hp->h_addr_list; *p != 0; p++) {
56 if (hp->h_addrtype == AF_INET6) {
75 if (fprintf(fp, "%s\t%s", res, hp->h_name) == EOF)
77 for (q = hp->h_aliases; q && *q; q++) {
93 struct hostent *hp; local
116 hp = getipnodebyaddr(addr, len, af, &err_ret);
118 hp = getipnodebyname(
123 if (hp == NULL
    [all...]
  /netvirt/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/
ex_dscp.c 76 exs_hdl_t *hp; local
78 hp = fmd_hdl_zalloc(hdl, sizeof (exs_hdl_t), FMD_SLEEP);
80 hp->h_endpt_id = fmd_hdl_strdup(hdl, endpoint_id, FMD_SLEEP);
81 hp->h_dom = dom;
82 hp->h_client.c_sd = EXS_SD_FREE;
83 hp->h_server.c_sd = EXS_SD_FREE;
84 hp->h_tid = EXS_TID_FREE;
85 hp->h_destroy = 0;
86 hp->h_hdl = hdl;
87 hp->h_cb_func = cb_func
264 exs_hdl_t *hp = (exs_hdl_t *)arg; local
311 exs_hdl_t *hp; local
493 exs_hdl_t *hp, *curr; local
542 exs_hdl_t *hp = (exs_hdl_t *)tlhdl; local
608 exs_hdl_t *hp = (exs_hdl_t *)tlhdl; local
    [all...]
  /netvirt/usr/src/cmd/cmd-inet/usr.bin/talk/
get_addrs.c 58 struct hostent *hp; local
65 hp = gethostbyname(my_machine_name);
67 if (hp == (struct hostent *) 0) {
73 if (hp->h_addrtype != AF_INET) {
79 bcopy(hp->h_addr, (char *)&my_machine_addr, hp->h_length);
94 hp = gethostbyname(rem_machine_name);
96 if (hp == (struct hostent *) 0) {
102 if (hp->h_addrtype != AF_INET) {
108 bcopy(hp->h_addr, (char *) &rem_machine_addr, hp->h_length)
    [all...]
  /netvirt/usr/src/cmd/csh/
sh.hist.c 32 struct Hist *hp, *np; local
54 for (hp = &Histlist; np = hp->Hnext;)
56 hp->Hnext = np->Hnext, hfree(np);
58 hp = np;
86 hfree(struct Hist *hp)
92 freelex(&hp->Hlex);
93 xfree( (tchar *)hp);
134 dohist1(struct Hist *hp, int *np, int rflg, int hflg)
141 if (hp == 0
    [all...]
  /netvirt/usr/src/lib/libshell/common/edit/
history.c 61 #define hist_ind(hp,c) ((int)((c)&(hp)->histmask))
185 register History_t *hp; local
205 if(hp=wasopen)
209 sh.hist_ptr = hist_ptr = hp;
210 if(strcmp(histname,hp->histname)==0)
263 if(!(hp=new_of(History_t,(--histmask)*sizeof(off_t))))
268 sh.hist_ptr = hist_ptr = hp;
269 hp->histsize = maxlines;
270 hp->histmask = histmask
690 register History_t *hp = (History_t*)handle; local
940 register History_t *hp = sh_getinterp()->hist_ptr; local
985 History_t *hp = hist_ptr; local
1079 History_t *hp = (History_t*)handle; local
    [all...]
  /netvirt/usr/src/cmd/xntpd/libntp/
numtohost.c 26 struct hostent *hp; local
36 || ((hp = gethostbyaddr((char *)&netnum, sizeof netnum, AF_INET))
43 (void) strncpy(bp, hp->h_name, LIB_BUFLENGTH-1);
  /netvirt/usr/src/ucblib/librpcsoc/
getrpcport.c 40 struct hostent *hp; local
42 if ((hp = gethostbyname(host)) == NULL)
44 memcpy((char *) &addr.sin_addr, hp->h_addr, hp->h_length);
  /netvirt/usr/src/uts/common/io/
bofi.c 929 struct bofi_shadow *hp; local
1735 struct bofi_shadow *hp; local
1823 struct bofi_shadow *hp; local
2638 struct bofi_shadow *hp; local
2665 struct bofi_shadow *hp; local
2692 struct bofi_shadow *hp; local
2719 struct bofi_shadow *hp; local
2749 struct bofi_shadow *hp; local
2770 struct bofi_shadow *hp; local
2791 struct bofi_shadow *hp; local
2812 struct bofi_shadow *hp; local
2847 struct bofi_shadow *hp; local
2874 struct bofi_shadow *hp; local
2901 struct bofi_shadow *hp; local
2928 struct bofi_shadow *hp; local
2968 struct bofi_shadow *hp; local
2999 struct bofi_shadow *hp; local
3030 struct bofi_shadow *hp; local
3061 struct bofi_shadow *hp; local
3093 struct bofi_shadow *hp; local
3343 struct bofi_shadow *hp, *xhp; local
3512 struct bofi_shadow *hp, *xhp; local
3619 struct bofi_shadow *hp; local
3679 struct bofi_shadow *hp; local
3806 struct bofi_shadow *hp; local
3885 struct bofi_shadow *hp; local
3964 struct bofi_shadow *hp; local
4008 struct bofi_shadow *hp; local
4159 struct bofi_shadow *hp; local
4269 struct bofi_shadow *hp; local
4358 struct bofi_shadow *hp; local
4429 struct bofi_shadow *hp; local
4514 struct bofi_shadow *hp; local
4607 struct bofi_shadow *hp; local
4636 struct bofi_shadow *hp; local
4679 struct bofi_shadow *hp; local
4730 struct bofi_shadow *hp; local
4800 struct bofi_shadow *hp; local
    [all...]
  /netvirt/usr/src/cmd/sendmail/db/db/
db_dispatch.c 208 DB_TXNHEAD *hp; local
216 hp = (DB_TXNHEAD *)listp;
217 LIST_INSERT_HEAD(&hp->head, elp, links);
218 if (txnid > hp->maxid)
219 hp->maxid = txnid;
220 elp->generation = hp->generation;
237 DB_TXNHEAD *hp; local
240 if ((hp = (DB_TXNHEAD *)listp) == NULL)
243 for (p = hp->head.lh_first; p != NULL; p = p->links.le_next)
244 if (p->txnid == txnid && hp->generation == p->generation
260 DB_TXNHEAD *hp; local
282 DB_TXNHEAD *hp; local
307 DB_TXNHEAD *hp; local
    [all...]
  /netvirt/usr/src/tools/ctf/cvt/
strtab.c 69 strhash_t *hp, *hq; local
73 for (hp = sp->str_hash[i]; hp != NULL; hp = hq) {
74 hq = hp->str_next;
75 free(hp);
107 strtab_compare(strtab_t *sp, strhash_t *hp, const char *str, size_t len)
109 ulong_t b = hp->str_buf;
110 const char *buf = hp->str_data;
157 strhash_t *hp; local
233 const strhash_t *hp; local
    [all...]
  /netvirt/usr/src/cmd/tcpd/
scaffold.c 44 static struct hostent *dup_hostent(hp)
45 struct hostent *hp;
56 for (count = 0; hp->h_addr_list[count] != 0; count++)
60 + (hp->h_length + sizeof(char *)) * count)) == 0) {
65 hb->host.h_addrtype = hp->h_addrtype;;
66 hb->host.h_length = hp->h_length;
71 for (count = 0; (addr = hp->h_addr_list[count]) != 0; count++) {
72 hb->host.h_addr_list[count] = data + hp->h_length * count;
73 memcpy(hb->host.h_addr_list[count], addr, hp->h_length);
84 struct hostent *hp; local
129 struct hostent *hp; local
    [all...]
  /netvirt/usr/src/cmd/ssh/libopenbsd-compat/common/
fake-getnameinfo.c 24 struct hostent *hp; local
43 hp = gethostbyaddr((char *)&sin->sin_addr,
45 if (hp == NULL)
48 if (strlen(hp->h_name) >= hostlen)
51 strcpy(host, hp->h_name);
  /netvirt/usr/src/lib/libshell/common/include/
history.h 56 #define hist_min(hp) ((_Hist=((int)((hp)->histind-(hp)->histsize)))>=0?_Hist:0)
57 #define hist_max(hp) ((int)((hp)->histind))
  /netvirt/usr/src/cmd/cmd-inet/usr.sbin/snoop/
snoop_ipaddr.c 96 struct hostent *hp = NULL; local
120 hp = getipnodebyaddr((char *)&ipaddr, sizeof (int),
122 if (hp == NULL && inet_lnaof(ipaddr) == 0) {
132 hp ? hp->h_name : inet_ntoa(ipaddr),
133 hp ? hp->h_aliases : NULL);
134 if (hp != NULL)
135 freehostent(hp);
143 struct hostent *hp = NULL local
189 struct hostdata **hp, *n = NULL; local
362 struct hostent *hp = &he; local
    [all...]
  /netvirt/usr/src/cmd/lastcomm/
lc_utils.c 219 struct devhash *hp, *nhp; local
235 for (hp = dev_hash[HASH(dev)]; hp; hp = hp->dev_nxt)
236 if (hp->dev_dev == dev) {
238 return (lastname = hp->dev_name);
241 for (hp = dev_chain; hp; hp = nhp)
    [all...]

Completed in 8708 milliseconds

1 2 3 4 5 6 7 8 91011>>