Searched refs:startp (Results 1 - 22 of 22) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipcsum.c76 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...]
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkupdate.c84 u_char *cp, *sp2, *startp, *endp; local
206 startp = rrecp->r_data;
207 endp = startp + rrecp->r_size - 1;
211 if (!getword_str(buf2, sizeof buf2, &startp, endp))
226 if (!getword_str(buf2, sizeof buf2, &startp, endp))
238 if (!getword_str(buf2, sizeof buf2, &startp,
250 while (isspace(*startp) || !*startp)
251 startp++;
252 if (*startp
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_http.c127 * Return the length of the initial string starting with "startp" and
133 printable(const char *startp, const char *endp) argument
135 const char *p = startp;
140 return (p - startp);
/illumos-gate/usr/src/cmd/ldmad/
H A Dmdesc_mutable.h55 _type *startp; \
64 #define CHAIN_START(_name) ((_name).startp)
72 if ((_chain).startp == NULL) { \
73 (_chain).startp = (_nodep); \
H A Dmdesc_lib.c353 mdp->string_list.startp = msp->nextp;
367 mdp->data_block_list.startp = mdbp->nextp;
/illumos-gate/usr/src/lib/libsec/common/
H A Daclsort.c162 aclent_t *startp; /* start of the desired entry type */ local
168 startp = tp;
173 qsort(startp, howmany, sizeof (aclent_t),
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_stat.c274 cpr_time_t *startp, *shdnp, *endp; local
276 startp = &cpr_term.tm_cprboot_start;
280 cb_time = endp->tv_sec - startp->tv_sec;
283 startp->tv_sec = endp->tv_sec - cb_time;
292 pwroff_time = startp->tv_sec - shdnp->tv_sec - min_promtime;
296 pop->tv_sec = startp->tv_sec - min_promtime;
/illumos-gate/usr/src/cmd/bnu/
H A Dcntrl.c252 long startp; /* checkpoint restart point */ local
493 startp = stbuf.st_size - (stbuf.st_size % BUFSIZ);
494 if((stbuf.st_size >= 0) && (startp < 0))
495 startp = 0;
497 if(startp)
499 if(startp < 0)
500 sprintf(tbuf,"start=0x%lx", startp);
502 sprintf(tbuf,"start=%ld", startp);
507 sprintf(fsize, "0x%lx", startp);
509 if (lseek(fileno(fp), startp,
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_lic.c46 __out uint32_t *startp
66 __out uint32_t *startp,
230 __out uint32_t *startp
250 __out uint32_t *startp,
458 __out uint32_t *startp
463 *startp = 0;
490 __out uint32_t *startp,
509 *startp = offset;
1106 __out uint32_t *startp
1111 return ef10_nvram_buffer_find_item_start(bufferp, buffer_size, startp);
484 efx_lic_v1v2_find_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __out uint32_t *startp, __out uint32_t *lengthp ) argument
1130 efx_lic_v3_find_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __out uint32_t *startp, __out uint32_t *lengthp ) argument
1545 efx_lic_find_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __out uint32_t *startp, __out uint32_t *lengthp ) argument
[all...]
H A Def10_nvram.c849 __out uint32_t *startp)
870 *startp = byte_offset(cursor.current, cursor.block);
930 __out uint32_t *startp,
951 *startp = byte_offset(cursor.current, cursor.block);
H A Def10_impl.h478 __out uint32_t *startp variable
496 __out uint32_t *startp, variable
H A Defx.h2318 __out uint32_t *startp
2338 __out uint32_t *startp,
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dan_to_ln.c208 char *regexp, *startp, *endp = 0; local
223 startp = (*contextp) + 1;
224 endp = strchr(startp, ')');
227 regexlen = (size_t) (endp - startp);
231 strncpy(regexp, startp, regexlen);
265 endp = startp;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Doid_ops.c307 unsigned char *cp, *bp, *startp; local
339 startp = bp;
388 bp = startp;
/illumos-gate/usr/src/lib/libgss/
H A Doid_ops.c329 char *cp, *bp, *startp; local
361 startp = bp;
409 bp = startp;
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dload_elf_obj.c68 const char *name, Elf_Addr *startp, Elf_Addr *stopp, int *countp);
424 const char* name, Elf_Addr *startp, Elf_Addr *stopp, int *countp)
443 *startp = shdr[i].sh_addr;
445 *countp = (*stopp - *startp) / sizeof(Elf_Addr);
423 obj_lookup_set(struct preloaded_file *fp __unused, elf_file_t ef, const char* name, Elf_Addr *startp, Elf_Addr *stopp, int *countp) argument
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Didn_smr.c1804 int startp, starts; local
1809 p = startp = SMR_SLABPOOL_HASH(domid);
1813 while ((nextp != startp) && !foundone) {
1889 int startp, starts; local
1894 p = startp = SMR_SLABPOOL_HASH(domid);
1897 while ((nextp != startp) && !foundit) {
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap.c1302 char *startp = input_str; local
1320 if (startp != NULL) {
1325 if ((*startp != '\0') && sscanf(startp, "%lx", &s) != 1)
/illumos-gate/usr/src/uts/common/io/
H A Dldterm.c2205 uchar_t *startp; local
2218 startp = bp->b_datap->db_base;
2251 u8[0] = *startp;
2254 startp++;
2255 if (startp >= bp->b_datap->db_lim) {
2258 startp =
2267 u8[i] = *startp;
2284 ++startp;
2285 if (startp >= bp->b_datap->db_lim) {
2288 startp
[all...]
H A Decpp.c3726 ecpp_putback_untransfered(struct ecppunit *pp, void *startp, uint_t len) argument
3743 bcopy(startp, new_mp->b_rptr, len);
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_utils.c225 apix_vector_t *vecp, *startp = NULL; local
277 startp = vecp;
280 return (startp);
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c1574 char *cp, *bp, *startp; local
1592 startp = bp;
1634 bp = startp;

Completed in 142 milliseconds