/titanic_41/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_hash.c | 197 _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 D | sd_hash.h | 83 _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 D | sd_ft.c | 694 _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_41/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent_r.c | 41 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_41/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_doorclt.c | 202 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 D | iscsi_ioctl.c | 429 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_41/usr/src/cmd/mail/ |
H A D | gendeliv.c | 42 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 D | sendmail.c | 53 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 D | dumprcv.c | 41 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 D | dumpaff.c | 41 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 D | copylet.c | 94 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 D | printhdr.c | 35 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_41/usr/src/cmd/dc/ |
H A D | dc.c | 1494 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 D | dc.h | 131 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_41/usr/src/uts/common/io/ |
H A D | ksyms.c | 83 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_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | tsol.c | 41 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_41/usr/src/cmd/iscsid/ |
H A D | iscsid.c | 461 struct hostent *hptr; in _getipnodebyname_req() local 488 hptr = getipnodebyname( in _getipnodebyname_req() 494 if (hptr) { in _getipnodebyname_req() 507 cnf->h_addrlen = (uint32_t)hptr->h_length; in _getipnodebyname_req() 508 cnf->h_addrtype = (uint32_t)hptr->h_addrtype; in _getipnodebyname_req() 511 if (*hptr->h_addr_list != NULL) { in _getipnodebyname_req() 514 *hptr->h_addr_list, in _getipnodebyname_req() 515 hptr->h_length); in _getipnodebyname_req() 518 cnf_len += hptr->h_length; in _getipnodebyname_req() 521 cnf->h_size_needed += hptr->h_length; in _getipnodebyname_req() [all …]
|
/titanic_41/usr/src/cmd/ipf/tools/ |
H A D | ippool.c | 387 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_41/usr/src/lib/libresolv2/include/ |
H A D | port_netdb.h | 88 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 D | port_before.h | 105 #define HOST_R_OK hptr
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 257 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_41/usr/src/uts/common/inet/ip/ |
H A D | ip_sadb.c | 664 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_41/usr/src/uts/common/sys/scsi/adapters/ |
H A D | iscsi_door.h | 137 struct hostent *hptr
|
/titanic_41/usr/src/lib/libsldap/common/ |
H A D | ns_config.c | 3021 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_41/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 699 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()
|