Home
last modified time | relevance | path

Searched refs:adler (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/net/sctp/
Dadler32.c83 unsigned long update_adler32(unsigned long adler, in update_adler32() argument
86 __u32 s1 = adler & 0xffff; in update_adler32()
87 __u32 s2 = (adler >> 16) & 0xffff; in update_adler32()
134 __u32 adler = 1L; in sctp_start_cksum() local
138 adler = update_adler32(adler, ptr, in sctp_start_cksum()
141 adler = update_adler32(adler, (unsigned char *) &zero, in sctp_start_cksum()
147 adler = update_adler32(adler, ptr, count); in sctp_start_cksum()
149 return adler; in sctp_start_cksum()
152 __u32 sctp_update_cksum(__u8 *ptr, __u16 count, __u32 adler) in sctp_update_cksum() argument
154 adler = update_adler32(adler, ptr, count); in sctp_update_cksum()
[all …]
/linux-2.4.37.9/include/linux/
Dzutil.h98 static inline uLong zlib_adler32(uLong adler, in zlib_adler32() argument
102 unsigned long s1 = adler & 0xffff; in zlib_adler32()
103 unsigned long s2 = (adler >> 16) & 0xffff; in zlib_adler32()
Dzlib.h83 uLong adler; /* adler32 value of the uncompressed data */ member
/linux-2.4.37.9/lib/zlib_inflate/
Dinfutil.c47 z->adler = s->check = (*s->checkfn)(s->check, q, n);
73 z->adler = s->check = (*s->checkfn)(s->check, q, n);
Dinfblock.c82 z->adler = s->check = (*s->checkfn)(0L, (const Bytef *)Z_NULL, 0);
Dinflate.c177 z->adler = z->state->sub.check.need;
/linux-2.4.37.9/lib/zlib_deflate/
Ddeflate.c273 strm->adler = zlib_adler32(strm->adler, dictionary, dictLength);
320 strm->adler = 1;
446 putShortMSB(s, (uInt)(strm->adler >> 16));
447 putShortMSB(s, (uInt)(strm->adler & 0xffff));
449 strm->adler = 1L;
533 putShortMSB(s, (uInt)(strm->adler >> 16));
534 putShortMSB(s, (uInt)(strm->adler & 0xffff));
639 strm->adler = zlib_adler32(strm->adler, strm->next_in, len);
/linux-2.4.37.9/arch/ppc/platforms/
Dpmac_nvram.c47 u32 adler; member
126 if (hdr99->adler != core99_calc_adler(datas)) { in core99_check()
303 hdr99->adler = core99_calc_adler(nvram_image); in pmac_nvram_update()
/linux-2.4.37.9/arch/ppc64/boot/
Dzlib.h411 extern uLong adler32 OF((uLong adler, Bytef *buf, uInt len));
Dzlib.c2141 uLong adler32(adler, buf, len) in adler32() argument
2142 uLong adler; in adler32()
2146 unsigned long s1 = adler & 0xffff;
2147 unsigned long s2 = (adler >> 16) & 0xffff;
/linux-2.4.37.9/arch/ppc/boot/include/
Dzlib.h409 extern uLong adler32 OF((uLong adler, Bytef *buf, uInt len));
/linux-2.4.37.9/arch/ppc/boot/lib/
Dzlib.c2125 uLong adler32(adler, buf, len) in adler32() argument
2126 uLong adler; in adler32()
2130 unsigned long s1 = adler & 0xffff;
2131 unsigned long s2 = (adler >> 16) & 0xffff;