/titanic_41/usr/src/uts/common/inet/ip/ |
H A D | ipcsum.c | 76 uint8_t *startp = mp->b_rptr + offset; local 93 if ((endp - startp) < 10) { 95 while ((endp - startp) >= 2) { 97 sum += U16_FETCH(startp); 98 startp += 2; 100 if ((endp - startp) >= 1) { 103 sum += U8_FETCH_FIRST(startp); 109 if ((uint32_t)startp & 0x1) { 112 startp++; 113 sum = (sum << 8) + PREV_ONE(startp); [all …]
|
/titanic_41/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_mkupdate.c | 84 u_char *cp, *sp2, *startp, *endp; in res_nmkupdate() local 206 startp = rrecp->r_data; in res_nmkupdate() 207 endp = startp + rrecp->r_size - 1; in res_nmkupdate() 211 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate() 226 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate() 238 if (!getword_str(buf2, sizeof buf2, &startp, in res_nmkupdate() 250 while (isspace(*startp) || !*startp) in res_nmkupdate() 251 startp++; in res_nmkupdate() 252 if (*startp == '(') { in res_nmkupdate() 254 startp++; in res_nmkupdate() [all …]
|
/titanic_41/usr/src/cmd/bnu/ |
H A D | cntrl.c | 252 long startp; /* checkpoint restart point */ in cntrl() local 493 startp = stbuf.st_size - (stbuf.st_size % BUFSIZ); in cntrl() 494 if((stbuf.st_size >= 0) && (startp < 0)) in cntrl() 495 startp = 0; in cntrl() 497 if(startp) in cntrl() 499 if(startp < 0) in cntrl() 500 sprintf(tbuf,"start=0x%lx", startp); in cntrl() 502 sprintf(tbuf,"start=%ld", startp); in cntrl() 507 sprintf(fsize, "0x%lx", startp); in cntrl() 509 if (lseek(fileno(fp), startp, 0) == -1) { in cntrl() [all …]
|
/titanic_41/usr/src/cmd/ldmad/ |
H A D | mdesc_mutable.h | 55 _type *startp; \ 64 #define CHAIN_START(_name) ((_name).startp) 72 if ((_chain).startp == NULL) { \ 73 (_chain).startp = (_nodep); \
|
H A D | mdesc_lib.c | 353 mdp->string_list.startp = msp->nextp; in md_free_string() 367 mdp->data_block_list.startp = mdbp->nextp; in md_free_data_block()
|
/titanic_41/usr/src/uts/common/cpr/ |
H A D | cpr_stat.c | 274 cpr_time_t *startp, *shdnp, *endp; in cpr_convert_promtime() local 276 startp = &cpr_term.tm_cprboot_start; in cpr_convert_promtime() 280 cb_time = endp->tv_sec - startp->tv_sec; in cpr_convert_promtime() 283 startp->tv_sec = endp->tv_sec - cb_time; in cpr_convert_promtime() 292 pwroff_time = startp->tv_sec - shdnp->tv_sec - min_promtime; in cpr_convert_promtime() 296 pop->tv_sec = startp->tv_sec - min_promtime; in cpr_convert_promtime()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_http.c | 133 printable(const char *startp, const char *endp) in printable() argument 135 const char *p = startp; in printable() 140 return (p - startp); in printable()
|
/titanic_41/usr/src/lib/libsec/common/ |
H A D | aclsort.c | 162 aclent_t *startp; /* start of the desired entry type */ in sortid() local 168 startp = tp; in sortid() 173 qsort(startp, howmany, sizeof (aclent_t), in sortid()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 208 char *regexp, *startp, *endp = 0; in aname_do_match() local 223 startp = (*contextp) + 1; in aname_do_match() 224 endp = strchr(startp, ')'); in aname_do_match() 227 regexlen = (size_t) (endp - startp); in aname_do_match() 231 strncpy(regexp, startp, regexlen); in aname_do_match() 265 endp = startp; in aname_do_match()
|
/titanic_41/usr/src/cmd/fs.d/cachefs/fsck/ |
H A D | fsck.c | 1326 struct attrcache_index *startp = NULL; in process_fsgroup() local 1392 startp = (struct attrcache_index *)(ahp + 1); in process_fsgroup() 1393 bitp = (uchar_t *)((char *)startp + offlen); in process_fsgroup() 1416 aip = startp + index; in process_fsgroup() 1579 (startp[index].ach_written == 0)) { in process_fsgroup() 1590 aip = startp + index; in process_fsgroup() 1655 if (startp) { in process_fsgroup() 1658 aip = startp + index; in process_fsgroup()
|
/titanic_41/usr/src/lib/libgss/ |
H A D | oid_ops.c | 329 char *cp, *bp, *startp; local 361 startp = bp; 409 bp = startp;
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | oid_ops.c | 307 unsigned char *cp, *bp, *startp; local 339 startp = bp; 388 bp = startp;
|
/titanic_41/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_smr.c | 1804 int startp, starts; in smr_slab_reserve() local 1809 p = startp = SMR_SLABPOOL_HASH(domid); in smr_slab_reserve() 1813 while ((nextp != startp) && !foundone) { in smr_slab_reserve() 1889 int startp, starts; in smr_slab_unreserve() local 1894 p = startp = SMR_SLABPOOL_HASH(domid); in smr_slab_unreserve() 1897 while ((nextp != startp) && !foundit) { in smr_slab_unreserve()
|
/titanic_41/usr/src/cmd/ptools/pmap/ |
H A D | pmap.c | 1302 char *startp = input_str; in parse_addr_range() local 1320 if (startp != NULL) { in parse_addr_range() 1325 if ((*startp != '\0') && sscanf(startp, "%lx", &s) != 1) in parse_addr_range()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | ldterm.c | 2205 uchar_t *startp; in ldterm_tabcols() local 2218 startp = bp->b_datap->db_base; in ldterm_tabcols() 2251 u8[0] = *startp; in ldterm_tabcols() 2254 startp++; in ldterm_tabcols() 2255 if (startp >= bp->b_datap->db_lim) { in ldterm_tabcols() 2258 startp = in ldterm_tabcols() 2267 u8[i] = *startp; in ldterm_tabcols() 2284 ++startp; in ldterm_tabcols() 2285 if (startp >= bp->b_datap->db_lim) { in ldterm_tabcols() 2288 startp = bp->b_datap->db_base; in ldterm_tabcols() [all …]
|
H A D | ecpp.c | 3726 ecpp_putback_untransfered(struct ecppunit *pp, void *startp, uint_t len) in ecpp_putback_untransfered() argument 3743 bcopy(startp, new_mp->b_rptr, len); in ecpp_putback_untransfered()
|
/titanic_41/usr/src/uts/i86pc/io/apix/ |
H A D | apix_utils.c | 225 apix_vector_t *vecp, *startp = NULL; in apix_alloc_nvectors_oncpu() local 277 startp = vecp; in apix_alloc_nvectors_oncpu() 280 return (startp); in apix_alloc_nvectors_oncpu()
|
/titanic_41/usr/src/lib/libkmf/libkmf/common/ |
H A D | generalop.c | 1574 char *cp, *bp, *startp; in kmf_string_to_oid() local 1592 startp = bp; in kmf_string_to_oid() 1634 bp = startp; in kmf_string_to_oid()
|