Home
last modified time | relevance | path

Searched refs:hptr (Results 1 – 25 of 36) sorted by relevance

12

/titanic_50/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_hash.c197 _sd_hash_hd_t *hptr; in _sd_hash_search() local
208 for (hptr = bucket->hb_head; hptr; hptr = hnext) { in _sd_hash_search()
212 hnext = hptr->hh_next; in _sd_hash_search()
232 if ((hptr->hh_cd == cd) && (hptr->hh_blk_num == block_num)) in _sd_hash_search()
234 if (hptr->hh_blk_num > block_num) { in _sd_hash_search()
236 _sd_hash_hd_t *, hptr); in _sd_hash_search()
242 _sd_hash_hd_t *, hptr); in _sd_hash_search()
243 return (hptr); in _sd_hash_search()
251 for (hptr = bucket->hb_head; hptr; hptr = hptr->hh_next) { in _sd_hash_search()
252 if ((hptr->hh_cd == cd) && (hptr->hh_blk_num == block_num)) in _sd_hash_search()
[all …]
H A Dsd_hash.h83 _sd_hash_hd_t *hptr, _sd_hash_table_t *table);
84 extern int _sd_hash_delete(_sd_hash_hd_t *hptr, _sd_hash_table_t *table);
H A Dsd_ft.c694 _sd_hash_hd_t *hptr; in _sd_hash_invalidate_cd() local
703 hptr = bucket->hb_head; in _sd_hash_invalidate_cd()
704 while (hptr) { in _sd_hash_invalidate_cd()
705 cc_ent = (_sd_cctl_t *)hptr; in _sd_hash_invalidate_cd()
716 hptr = hptr->hh_next; in _sd_hash_invalidate_cd()
755 hptr = bucket->hb_head; in _sd_hash_invalidate_cd()
/titanic_50/usr/src/lib/libresolv2/common/irs/
H A Dgethostent_r.c41 gethostbyname_r(const char *name, struct hostent *hptr, HOST_R_ARGS) { in gethostbyname_r() argument
52 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0) in gethostbyname_r()
55 *answerp = hptr; in gethostbyname_r()
62 return (copy_hostent(he, hptr, HOST_R_COPY)); in gethostbyname_r()
68 struct hostent *hptr, HOST_R_ARGS) { in gethostbyaddr_r() argument
79 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0) in gethostbyaddr_r()
82 *answerp = hptr; in gethostbyaddr_r()
89 return (copy_hostent(he, hptr, HOST_R_COPY)); in gethostbyaddr_r()
100 gethostent_r(struct hostent *hptr, HOST_R_ARGS) { in gethostent_r() argument
111 if (he == NULL || (n = copy_hostent(he, hptr, HOST_R_COPY)) != 0) in gethostent_r()
[all …]
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_doorclt.c202 struct hostent *hptr in kfreehostent() argument
207 ASSERT(hptr != NULL); in kfreehostent()
208 if (hptr) { in kfreehostent()
209 buffer = (mybuffer_t *)((char *)hptr - sizeof (mybuffer_t)); in kfreehostent()
249 struct hostent *hptr; in kgetipnodebyname() local
284 hptr = (struct hostent *)((char *)buffer + sizeof (mybuffer_t)); in kgetipnodebyname()
285 req = (getipnodebyname_req_t *)((char *)hptr + hostent_size); in kgetipnodebyname()
286 cnf = (getipnodebyname_cnf_t *)((char *)hptr + hostent_size); in kgetipnodebyname()
298 hptr->h_length = sizeof (struct in_addr); in kgetipnodebyname()
301 hptr->h_length = sizeof (struct in6_addr); in kgetipnodebyname()
[all …]
H A Discsi_ioctl.c429 struct hostent *hptr; in iscsi_create_sendtgts_list() local
550 hptr = kgetipnodebyname(addr_str, type, in iscsi_create_sendtgts_list()
552 if (!hptr) { in iscsi_create_sendtgts_list()
569 kfreehostent(hptr); in iscsi_create_sendtgts_list()
578 curr_ste->ste_ipaddr.a_addr.i_insize = hptr->h_length; in iscsi_create_sendtgts_list()
579 bcopy(*hptr->h_addr_list, in iscsi_create_sendtgts_list()
582 kfreehostent(hptr); in iscsi_create_sendtgts_list()
/titanic_50/usr/src/cmd/mail/
H A Dgendeliv.c42 register struct hdrs *hptr; local
114 if ((hptr = hdrlines[H_DATE].head) != (struct hdrs *)NULL) {
115 Dout(pn, 0,"date from H_DATE = '%s'\n", hptr->value);
116 fprintf(outfile,"%s\n", hptr->value);
120 if ((hptr = hdrlines[H_FROM1].tail) == (struct hdrs *)NULL) {
121 hptr = hdrlines[H_FROM].tail;
123 Dout(pn, 0,"date from H_FROM = '%s'\n", hptr->value);
124 (void) strlcpy(buf, hptr->value, sizeof (buf));
157 if ((hptr = hdrlines[H_SUBJ].head) != (struct hdrs *)NULL) {
159 header[H_SUBJ].tag, hptr->value);
[all …]
H A Dsendmail.c53 struct hdrs *hptr; local
258 if ((hptr = hdrlines[H_MIMEVERS].head) !=
266 if ((hptr = hdrlines[H_CTYPE].head) !=
274 if ((hptr = hdrlines[H_CLEN].head) !=
294 if ((hptr = hdrlines[H_MIMEVERS].head) !=
302 if ((hptr = hdrlines[H_CTYPE].head) !=
310 if ((hptr = hdrlines[H_CLEN].head) !=
403 if ((hptr = hdrlines[H_MIMEVERS].head) != (struct hdrs *)NULL) {
404 if (strlen(hptr->value) == 0) {
405 (void) strlcpy(hptr->value, "1.0",
[all …]
H A Ddumprcv.c41 struct hdrs *hptr; local
66 for (hptr = hdrlines[H_RECEIVED].head;
67 hptr != (struct hdrs *)NULL;
68 hptr = hptr->next) {
69 printhdr(type, H_RECEIVED, hptr, f);
H A Ddumpaff.c41 struct hdrs *hptr; local
73 for (hptr = hdrlines[H_AFWDFROM].head;
74 hptr != (struct hdrs *)NULL;
75 hptr = hptr->next) {
76 printhdr(type, H_AFWDFROM, hptr, f);
H A Dcopylet.c94 struct hdrs *hptr; in xxxcopylet() local
126 if ((hptr = hdrlines[H_CLEN].head) != in xxxcopylet()
128 clen = atol (hptr->value); in xxxcopylet()
208 if ((hptr = hdrlines[H_TCOPY].head) != in xxxcopylet()
214 if ((hptr = hdrlines[H_RECEIVED].head) != in xxxcopylet()
221 if ((hptr = hdrlines[H_MIMEVERS].head) != in xxxcopylet()
225 if ((hptr = hdrlines[H_CTYPE].head) != in xxxcopylet()
229 if ((hptr = hdrlines[H_CLEN].head) != in xxxcopylet()
259 if (printhdr (type, htype, hptr, f) < 0) { in xxxcopylet()
316 hptr = hdrlines[htype].head; in xxxcopylet()
[all …]
H A Dprinthdr.c35 printhdr(int type, int hdrtype, struct hdrs *hptr, FILE *fp) in printhdr() argument
42 if (hptr == NULL) in printhdr()
49 header[hdrtype].tag, hptr->value); in printhdr()
57 contptr = hptr; in printhdr()
/titanic_50/usr/src/cmd/dc/
H A Ddc.c1494 print(struct blk *hptr) in print() argument
1500 rewind(hptr); in print()
1501 while (sfeof(hptr) == 0) { in print()
1502 if (sgetc(hptr) > 99) { in print()
1503 rewind(hptr); in print()
1504 while (sfeof(hptr) == 0) { in print()
1505 printf("%c", sgetc(hptr)); in print()
1511 fsfile(hptr); in print()
1512 sc = sbackc(hptr); /* read scale off end of blk */ in print()
1513 if (sfbeg(hptr) != 0) { in print()
[all …]
H A Ddc.h131 void print(struct blk *hptr);
134 void seekc(struct blk *hptr, int n);
137 void more(struct blk *hptr);
140 void sdump(char *s1, struct blk *hptr);
141 void salterwd(struct wblk *hptr, struct blk *n);
/titanic_50/usr/src/uts/common/io/
H A Dksyms.c83 ksyms_buflist_hdr_t *hptr = (ksyms_buflist_hdr_t *)ptr; in ksyms_bcopy() local
85 if (hptr->cur == NULL) in ksyms_bcopy()
89 sz = MIN(rsize, (BUF_SIZE - hptr->curbuf_off)); in ksyms_bcopy()
90 bcopy(src, (hptr->cur->buf + hptr->curbuf_off), sz); in ksyms_bcopy()
92 hptr->curbuf_off += sz; in ksyms_bcopy()
93 if (hptr->curbuf_off == BUF_SIZE) { in ksyms_bcopy()
94 hptr->curbuf_off = 0; in ksyms_bcopy()
95 hptr->cur = list_next(&hptr->blist, hptr->cur); in ksyms_bcopy()
96 if (hptr->cur == NULL) in ksyms_bcopy()
220 void *hptr = NULL; in ksyms_open() local
[all …]
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/
H A Dtsol.c41 tnrhc_hash_t **hptr; member
116 twp->hptr = twp->tnrhc_table; in tnrh_walk_init()
132 if (*twp->hptr == NULL || twp->idx >= TNRHC_SIZE) { in tnrh_walk_step()
133 twp->hptr++; in tnrh_walk_step()
134 if (twp->hptr == twp->tnrhc_table + in tnrh_walk_step()
136 twp->hptr = twp->tnrhc_table_v6; in tnrh_walk_step()
137 else if (twp->hptr == twp->tnrhc_table_v6 + in tnrh_walk_step()
142 wsp->walk_addr = (uintptr_t)(*twp->hptr)[twp->idx++]. in tnrh_walk_step()
/titanic_50/usr/src/cmd/iscsid/
H A Discsid.c460 struct hostent *hptr; in _getipnodebyname_req() local
487 hptr = getipnodebyname( in _getipnodebyname_req()
493 if (hptr) { in _getipnodebyname_req()
506 cnf->h_addrlen = (uint32_t)hptr->h_length; in _getipnodebyname_req()
507 cnf->h_addrtype = (uint32_t)hptr->h_addrtype; in _getipnodebyname_req()
510 if (*hptr->h_addr_list != NULL) { in _getipnodebyname_req()
513 *hptr->h_addr_list, in _getipnodebyname_req()
514 hptr->h_length); in _getipnodebyname_req()
517 cnf_len += hptr->h_length; in _getipnodebyname_req()
520 cnf->h_size_needed += hptr->h_length; in _getipnodebyname_req()
[all …]
/titanic_50/usr/src/cmd/ipf/tools/
H A Dippool.c387 iphtable_t *hptr; local
543 iphtable_t *hptr; local
589 hptr = tables[role];
590 while (hptr != NULL) {
591 hptr = printhash(hptr, kmemcpywrap,
596 hptr = tables[role];
597 while (hptr != NULL) {
598 hptr = printhash(hptr, kmemcpywrap,
/titanic_50/usr/src/lib/libresolv2/include/
H A Dport_netdb.h88 struct hostent *hptr, char *buf,
93 struct hostent *gethostbyname_r __P((const char *name, struct hostent *hptr,
98 struct hostent *gethostent_r __P((struct hostent *hptr, char *buf, int buflen,
H A Dport_before.h105 #define HOST_R_OK hptr
/titanic_50/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c257 uintptr_t hptr = NULL; in fake_elf64() local
355 hptr = d[DI_HASH]->d_un.d_ptr; in fake_elf64()
357 hptr += addr; in fake_elf64()
359 if (Pread(P, hash, sizeof (hash), hptr) != sizeof (hash)) { in fake_elf64()
361 (long)(hptr)); in fake_elf64()
632 hash = &((uint_t *)hptr)[2 + htmp]; in fake_elf64()
660 hash = &((uint_t *)hptr)[2 + hnbuckets + ndx]; in fake_elf64()
/titanic_50/usr/src/uts/common/inet/ip/
H A Dip_sadb.c664 isaf_t *hptr; in ipsec_inbound_ah_sa() local
727 hptr = INBOUND_BUCKET(sp, ah->ah_spi); in ipsec_inbound_ah_sa()
728 mutex_enter(&hptr->isaf_lock); in ipsec_inbound_ah_sa()
729 assoc = ipsec_getassocbyspi(hptr, ah->ah_spi, src_ptr, dst_ptr, af); in ipsec_inbound_ah_sa()
730 mutex_exit(&hptr->isaf_lock); in ipsec_inbound_ah_sa()
/titanic_50/usr/src/uts/common/sys/scsi/adapters/
H A Discsi_door.h137 struct hostent *hptr
/titanic_50/usr/src/lib/libsldap/common/
H A Dns_config.c3021 ns_hash_t *hptr; in __s_api_strValue() local
3201 for (hptr = cfg->llHead; hptr; hptr = hptr->h_llnext) { in __s_api_strValue()
3202 if (hptr->h_type != NS_HASH_AMAP) { in __s_api_strValue()
3216 mptr = hptr->h_map; in __s_api_strValue()
3232 for (hptr = cfg->llHead; hptr; hptr = hptr->h_llnext) { in __s_api_strValue()
3233 if (hptr->h_type != NS_HASH_OMAP) { in __s_api_strValue()
3247 mptr = hptr->h_map; in __s_api_strValue()
/titanic_50/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c699 char *hptr, **thisargv, *ebuf; in do_interactive() local
743 hptr = &(holder[strlen(holder)]); in do_interactive()
746 hptr[-2] = ' '; in do_interactive()
754 (void) strncpy(hptr, ibuf, in do_interactive()
755 (size_t)(&(holder[IBUF_SIZE]) - hptr)); in do_interactive()
762 if (hptr[strlen(hptr) - 2] == CONT_CHAR) { in do_interactive()
764 hptr += strlen(hptr); in do_interactive()
767 hptr[-2] = ' '; in do_interactive()

12