Home
last modified time | relevance | path

Searched refs:carry (Results 1 – 25 of 50) sorted by relevance

12

/linux-2.4.37.9/include/net/
Dchecksum.h44 int carry; in csum_ipv6_magic() local
49 carry = (csum < saddr->s6_addr32[0]); in csum_ipv6_magic()
50 csum += carry; in csum_ipv6_magic()
53 carry = (csum < saddr->s6_addr32[1]); in csum_ipv6_magic()
54 csum += carry; in csum_ipv6_magic()
57 carry = (csum < saddr->s6_addr32[2]); in csum_ipv6_magic()
58 csum += carry; in csum_ipv6_magic()
61 carry = (csum < saddr->s6_addr32[3]); in csum_ipv6_magic()
62 csum += carry; in csum_ipv6_magic()
65 carry = (csum < daddr->s6_addr32[0]); in csum_ipv6_magic()
[all …]
/linux-2.4.37.9/arch/alpha/lib/
Dcsum_partial_copy.c106 unsigned long carry = 0; in csum_partial_cfu_aligned() local
112 checksum += carry; in csum_partial_cfu_aligned()
116 carry = checksum < word; in csum_partial_cfu_aligned()
121 checksum += carry; in csum_partial_cfu_aligned()
129 carry = checksum < word; in csum_partial_cfu_aligned()
131 checksum += carry; in csum_partial_cfu_aligned()
148 unsigned long word, carry; in csum_partial_cfu_dest_aligned() local
153 carry = 0; in csum_partial_cfu_dest_aligned()
162 checksum += carry; in csum_partial_cfu_dest_aligned()
168 carry = checksum < word; in csum_partial_cfu_dest_aligned()
[all …]
Dchecksum.c113 unsigned long carry = 0; in do_csum() local
118 result += carry; in do_csum()
120 carry = (w > result); in do_csum()
122 result += carry; in do_csum()
Dev6-csum_ipv6_magic.S120 addq $1,$3,$0 # E : Final carry
/linux-2.4.37.9/include/asm-mips/
Dchecksum.h100 int carry; in ip_fast_csum() local
104 carry = (csum < word[1]); in ip_fast_csum()
105 csum += carry; in ip_fast_csum()
108 carry = (csum < word[2]); in ip_fast_csum()
109 csum += carry; in ip_fast_csum()
112 carry = (csum < word[3]); in ip_fast_csum()
113 csum += carry; in ip_fast_csum()
118 carry = (csum < *word); in ip_fast_csum()
119 csum += carry; in ip_fast_csum()
/linux-2.4.37.9/include/asm-mips64/
Dchecksum.h103 int carry; in ip_fast_csum() local
107 carry = (csum < word[1]); in ip_fast_csum()
108 csum += carry; in ip_fast_csum()
111 carry = (csum < word[2]); in ip_fast_csum()
112 csum += carry; in ip_fast_csum()
115 carry = (csum < word[3]); in ip_fast_csum()
116 csum += carry; in ip_fast_csum()
121 carry = (csum < *word); in ip_fast_csum()
122 csum += carry; in ip_fast_csum()
/linux-2.4.37.9/arch/sh64/lib/
Dc-checksum.c121 unsigned long carry = 0;
127 result += carry;
129 carry = (w > result);
131 result += carry;
188 unsigned long carry = 0; in do_csum() local
193 result += carry; in do_csum()
195 carry = (w > result); in do_csum()
197 result += carry; in do_csum()
/linux-2.4.37.9/arch/parisc/lib/
Dchecksum.c57 unsigned int carry = 0; in do_csum() local
62 result += carry; in do_csum()
64 carry = (w > result); in do_csum()
66 result += carry; in do_csum()
/linux-2.4.37.9/arch/ia64/lib/
Dcsum_partial_copy.c64 unsigned long carry = 0; in do_csum_c() local
69 result += carry; in do_csum_c()
71 carry = (w > result); in do_csum_c()
73 result += carry; in do_csum_c()
/linux-2.4.37.9/arch/sparc/lib/
Dudivdi3.S38 addx %i0,%i0,%i0 ! so this cannot give carry
50 ! Got carry from n. Subtract next step to cancel this carry.
75 addx %o4,%o4,%o4 ! so this cannot give carry
87 ! Got carry from n. Subtract next step to cancel this carry.
101 addx %i0,%i0,%i0 ! so this cannot give carry
113 ! Got carry from n. Subtract next step to cancel this carry.
180 addx %o4,%o4,%o4 ! so this cannot give carry
192 ! Got carry from n. Subtract next step to cancel this carry.
Ddivdi3.S76 addx %i0,%i0,%i0 ! so this cannot give carry
88 ! Got carry from n. Subtract next step to cancel this carry.
111 addx %g3,%g3,%g3 ! so this cannot give carry
123 ! Got carry from n. Subtract next step to cancel this carry.
135 addx %i0,%i0,%i0 ! so this cannot give carry
147 ! Got carry from n. Subtract next step to cancel this carry.
210 addx %o2,%o2,%o2 ! so this cannot give carry
222 ! Got carry from n. Subtract next step to cancel this carry.
Dchecksum.S49 addx %g0, %o2, %o2 ! add in final carry
56 addx %g0, %o2, %o2 ! add in final carry
73 addx %g0, %o2, %o0 ! add final carry into retval
114 andcc %o1, 0x70, %g1 ! clears carry flag too
119 addx %g0, %o2, %o2 ! sink in final carry
123 andcc %o1, 0x70, %g1 ! clears carry flag too
138 addx %g0, %o2, %o2 ! fetch final carry
350 addx %g0, %g7, %g7 ! add in last carry bit
357 andcc %g1, 0xf, %o3 ! get low bits of length (clears carry btw)
365 add %o1, %o2, %o1 ! advance dest ptr (carry is clear btw)
[all …]
/linux-2.4.37.9/arch/m68k/math-emu/
Dmulti_arith.h324 int carry; in fp_addmant() local
333 asm volatile ("addx.l %0,%0" : "=d" (carry) : "0" (0)); in fp_addmant()
335 return carry; in fp_addmant()
396 char carry; \
401 asm ("subx.l %2,%1; scs %0" : "=d" (carry), "=d" (dest.m32[0]) \
403 carry; \
686 unsigned int carry[2];
688 carry[0] = a[LSW128] > (0xffffffff - b[LSW128]);
691 carry[1] = a[NLSW128] > (0xffffffff - b[NLSW128] - carry[0]);
692 b[NLSW128] = a[NLSW128] + b[NLSW128] + carry[0];
[all …]
/linux-2.4.37.9/drivers/isdn/tpam/
Dtpam_hdlc.c624 carry: in tpam_hdlc_encode()
693 goto carry; in tpam_hdlc_encode()
709 goto carry; in tpam_hdlc_encode()
720 goto carry; in tpam_hdlc_encode()
/linux-2.4.37.9/arch/cris/lib/
Dchecksum.S59 ;; fold the carry into the checksum, to avoid having to loop the carry
64 ax ; do it again, since we might have generated a carry
91 move.d $r12,$r13 ; do the same again, maybe we got a carry last add
Dchecksumcopy.S65 ;; fold the carry into the checksum, to avoid having to loop the carry
70 ax ; do it again, since we might have generated a carry
94 move.d $r13,$r9 ; do the same again, maybe we got a carry last add
/linux-2.4.37.9/crypto/
Dwp512.c1012 u32 b, carry; in wp512_update() local
1019 for (i = 31, carry = 0; i >= 0 && (carry != 0 || value != 0ULL); i--) { in wp512_update()
1020 carry += bitLength[i] + ((u32)value & 0xff); in wp512_update()
1021 bitLength[i] = (u8)carry; in wp512_update()
1022 carry >>= 8; in wp512_update()
/linux-2.4.37.9/arch/m68k/fpsp040/
Dbinstr.S33 | will be collected by the carry.
35 | A5. Add using the carry the 64-bit quantities in d2:d3 and d4:d5
96 | A4. Multiply d4:d5 by 2; add carry out to d1.
Dsrem_mod.S207 clrl %d6 | ...D6 := carry <- 0
224 tstl %d6 | ...test carry bit
227 |..At this point carry = 0, R = (D1,D2), Y = (D4,D5)
245 clrl %d6 | ...clear carry
255 roxll #1,%d1 | ...hi(R) = 2hi(R) + carry
/linux-2.4.37.9/Documentation/usb/
Dauerswald.txt14 /dev/usb/auer0..15. These devices carry a vendor-
/linux-2.4.37.9/arch/m68k/ifpsp060/src/
Dilsp.S400 bcc ldd2nd # no carry, do next quotient digit
466 addx.w %d4, %d3 # add any carry to m*m product
468 addx.w %d4, %d3 # add any carry to m*m product
564 addx.l %d4,%d3 # [4] + carry
566 addx.l %d4,%d3 # [4] + carry
690 addx.l %d4,%d3 # [4] + carry
692 addx.l %d4,%d3 # [4] + carry
/linux-2.4.37.9/arch/arm/lib/
Dcsumpartial.S70 .done: adc r0, sum, #0 @ collect up the last carry
/linux-2.4.37.9/Documentation/
Dlocks.txt17 been totally removed, so that we don't need to carry this baggage
/linux-2.4.37.9/arch/arm/nwfpe/
Dsoftfloat-macros340 any carry out is lost. The result is broken into two 64-bit pieces which
360 modulo 2^192, so any carry out is lost. The result is broken into three
399 2^128, so any borrow out (carry out) is lost. The result is broken into two
418 Subtraction is modulo 2^192, so any borrow out (carry out) is lost. The
/linux-2.4.37.9/arch/alpha/math-emu/
Dqrnnd.S148 cmpult n1,n0,tmp # tmp := carry from addq

12