/linux-6.12.1/net/ipv6/ |
D | ip6_checksum.c | 13 int carry; in csum_ipv6_magic() local 19 carry = (sum < (__force u32)saddr->s6_addr32[0]); in csum_ipv6_magic() 20 sum += carry; in csum_ipv6_magic() 23 carry = (sum < (__force u32)saddr->s6_addr32[1]); in csum_ipv6_magic() 24 sum += carry; in csum_ipv6_magic() 27 carry = (sum < (__force u32)saddr->s6_addr32[2]); in csum_ipv6_magic() 28 sum += carry; in csum_ipv6_magic() 31 carry = (sum < (__force u32)saddr->s6_addr32[3]); in csum_ipv6_magic() 32 sum += carry; in csum_ipv6_magic() 35 carry = (sum < (__force u32)daddr->s6_addr32[0]); in csum_ipv6_magic() [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_tcp_custom_syncookie.h | 89 int carry; in csum_ipv6_magic() local 95 carry = (sum < (__force u32)saddr->in6_u.u6_addr32[0]); in csum_ipv6_magic() 96 sum += carry; in csum_ipv6_magic() 99 carry = (sum < (__force u32)saddr->in6_u.u6_addr32[1]); in csum_ipv6_magic() 100 sum += carry; in csum_ipv6_magic() 103 carry = (sum < (__force u32)saddr->in6_u.u6_addr32[2]); in csum_ipv6_magic() 104 sum += carry; in csum_ipv6_magic() 107 carry = (sum < (__force u32)saddr->in6_u.u6_addr32[3]); in csum_ipv6_magic() 108 sum += carry; in csum_ipv6_magic() 111 carry = (sum < (__force u32)daddr->in6_u.u6_addr32[0]); in csum_ipv6_magic() [all …]
|
/linux-6.12.1/arch/alpha/lib/ |
D | csum_partial_copy.c | 88 unsigned long carry = 0; in csum_partial_cfu_aligned() local 94 checksum += carry; in csum_partial_cfu_aligned() 98 carry = checksum < word; in csum_partial_cfu_aligned() 103 checksum += carry; in csum_partial_cfu_aligned() 112 carry = checksum < word; in csum_partial_cfu_aligned() 114 checksum += carry; in csum_partial_cfu_aligned() 130 unsigned long word, carry; in csum_partial_cfu_dest_aligned() local 136 carry = 0; in csum_partial_cfu_dest_aligned() 146 checksum += carry; in csum_partial_cfu_dest_aligned() 152 carry = checksum < word; in csum_partial_cfu_dest_aligned() [all …]
|
D | checksum.c | 112 unsigned long carry = 0; in do_csum() local 117 result += carry; in do_csum() 119 carry = (w > result); in do_csum() 121 result += carry; in do_csum()
|
/linux-6.12.1/crypto/ |
D | ecc.c | 263 u64 carry = 0; in vli_lshift() local 269 result[i] = (temp << shift) | carry; in vli_lshift() 270 carry = temp >> (64 - shift); in vli_lshift() 273 return carry; in vli_lshift() 280 u64 carry = 0; in vli_rshift1() local 286 *vli = (temp >> 1) | carry; in vli_rshift1() 287 carry = temp << 63; in vli_rshift1() 295 u64 carry = 0; in vli_add() local 301 sum = left[i] + right[i] + carry; in vli_add() 303 carry = (sum < left[i]); in vli_add() [all …]
|
D | wp512.c | 1012 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()
|
D | streebog_generic.c | 937 u64 carry = 0; in streebog_add512() local 944 sum = left + le64_to_cpu(y->qword[i]) + carry; in streebog_add512() 946 carry = (sum < left); in streebog_add512()
|
/linux-6.12.1/arch/mips/include/asm/ |
D | checksum.h | 102 int carry; in ip_fast_csum() local 106 carry = (csum < word[1]); in ip_fast_csum() 107 csum += carry; in ip_fast_csum() 110 carry = (csum < word[2]); in ip_fast_csum() 111 csum += carry; in ip_fast_csum() 114 carry = (csum < word[3]); in ip_fast_csum() 115 csum += carry; in ip_fast_csum() 120 carry = (csum < *word); in ip_fast_csum() 121 csum += carry; in ip_fast_csum()
|
/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | pio_copy.c | 186 pbuf->carry.val64 = 0; in read_low_bytes() 187 jcopy(&pbuf->carry.val8[0], from, nbytes); in read_low_bytes() 202 jcopy(&pbuf->carry.val8[pbuf->carry_bytes], from, nbytes); in read_extra_bytes() 223 temp = pbuf->carry.val64 | (new << mshift(pbuf->carry_bytes)); in merge_write8() 225 pbuf->carry.val64 = new >> zshift(pbuf->carry_bytes); in merge_write8() 231 static inline void carry8_write8(union mix carry, void __iomem *dest) in carry8_write8() argument 233 writeq(carry.val64, dest); in carry8_write8() 245 writeq(pbuf->carry.val64, dest); in carry_write8() 459 carry8_write8(pbuf->carry, dest); in mid_copy_mix() 632 carry8_write8(pbuf->carry, dest); in seg_pio_copy_mid()
|
/linux-6.12.1/arch/sparc/lib/ |
D | udivdi3.S | 26 addx %i0,%i0,%i0 ! so this cannot give carry 38 ! Got carry from n. Subtract next step to cancel this carry. 64 addx %o4,%o4,%o4 ! so this cannot give carry 76 ! Got carry from n. Subtract next step to cancel this carry. 90 addx %i0,%i0,%i0 ! so this cannot give carry 102 ! Got carry from n. Subtract next step to cancel this carry. 169 addx %o4,%o4,%o4 ! so this cannot give carry 181 ! Got carry from n. Subtract next step to cancel this carry.
|
D | divdi3.S | 50 addx %i0,%i0,%i0 ! so this cannot give carry 62 ! Got carry from n. Subtract next step to cancel this carry. 86 addx %g3,%g3,%g3 ! so this cannot give carry 98 ! Got carry from n. Subtract next step to cancel this carry. 110 addx %i0,%i0,%i0 ! so this cannot give carry 122 ! Got carry from n. Subtract next step to cancel this carry. 185 addx %o2,%o2,%o2 ! so this cannot give carry 197 ! Got carry from n. Subtract next step to cancel this carry.
|
D | checksum_32.S | 50 addx %g0, %o2, %o2 ! add in final carry 57 addx %g0, %o2, %o2 ! add in final carry 74 addx %g0, %o2, %o0 ! add final carry into retval 116 andcc %o1, 0x70, %g1 ! clears carry flag too 121 addx %g0, %o2, %o2 ! sink in final carry 125 andcc %o1, 0x70, %g1 ! clears carry flag too 140 addx %g0, %o2, %o2 ! fetch final carry 328 addx %g0, %g7, %g7 ! add in last carry bit 335 andcc %g1, 0xf, %o3 ! get low bits of length (clears carry btw) 343 add %o1, %o2, %o1 ! advance dest ptr (carry is clear btw) [all …]
|
/linux-6.12.1/block/ |
D | blk-crypto.c | 161 unsigned int carry = bytes >> bc->bc_key->data_unit_size_bits; in bio_crypt_dun_is_contiguous() local 164 if (bc->bc_dun[i] + carry != next_dun[i]) in bio_crypt_dun_is_contiguous() 170 if ((bc->bc_dun[i] + carry) < carry) in bio_crypt_dun_is_contiguous() 171 carry = 1; in bio_crypt_dun_is_contiguous() 173 carry = 0; in bio_crypt_dun_is_contiguous() 177 return carry == 0; in bio_crypt_dun_is_contiguous()
|
/linux-6.12.1/lib/ |
D | checksum.c | 71 unsigned int carry = 0; in do_csum() local 75 result += carry; in do_csum() 77 carry = (w > result); in do_csum() 79 result += carry; in do_csum()
|
D | bitmap.c | 203 unsigned long keep = 0, carry; in bitmap_cut() local 216 carry = dst[i + 1] & 1UL; in bitmap_cut() 218 carry = 0; in bitmap_cut() 220 dst[i] = (dst[i] >> 1) | (carry << (BITS_PER_LONG - 1)); in bitmap_cut()
|
/linux-6.12.1/arch/riscv/lib/ |
D | csum.c | 93 unsigned long csum = 0, carry = 0; in do_csum_common() local 102 carry += csum < data; in do_csum_common() 117 carry += csum < data; in do_csum_common() 118 csum += carry; in do_csum_common() 119 csum += csum < carry; in do_csum_common()
|
/linux-6.12.1/tools/memory-model/ |
D | linux-kernel.bell | 61 let carry-srcu-data = (data ; [~ Srcu-unlock] ; rf)* 62 let srcu-rscs = ([Srcu-lock] ; carry-srcu-data ; data ; [Srcu-unlock]) & loc 81 let carry-dep = (data ; [~ Srcu-unlock] ; rfi)* 82 let addr = carry-dep ; addr 83 let ctrl = carry-dep ; ctrl 84 let data = carry-dep ; data
|
/linux-6.12.1/arch/m68k/math-emu/ |
D | multi_arith.h | 85 int carry; in fp_addmant() local 94 asm volatile ("addx.l %0,%0" : "=d" (carry) : "0" (0)); in fp_addmant() 96 return carry; in fp_addmant() 157 char carry; \ 162 asm ("subx.l %2,%1; scs %0" : "=d" (carry), "=d" (dest.m32[0]) \ 164 carry; \
|
/linux-6.12.1/lib/math/ |
D | div64.c | 248 bool carry; in mul_u64_u64_div_u64() local 251 carry = n_hi >> 63; in mul_u64_u64_div_u64() 252 shift = carry ? 1 : __builtin_clzll(n_hi); in mul_u64_u64_div_u64() 259 if (carry || (n_hi >= c)) { in mul_u64_u64_div_u64()
|
/linux-6.12.1/sound/firewire/digi00x/ |
D | amdtp-dot.c | 38 u8 carry; member 107 state->idx = data[MAGIC_DOT_BYTE] ^ state->carry; in dot_encode_step() 109 data[MAGIC_DOT_BYTE] ^= state->carry; in dot_encode_step() 110 state->carry = dot_scrt(state->idx, ++(state->off)); in dot_encode_step() 409 p->state.carry = 0x00; in amdtp_dot_reset()
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_panic_qr.rs | 400 carry: 0, in iter() 409 carry: u16, field 429 let out = (self.carry, NUM_CHARS_BITS[self.carry_len]); in next() 431 self.carry = 0; in next() 442 self.carry * POW10[new_chars - self.carry_len] in next() 446 self.carry = bits % POW10[self.carry_len]; in next() 450 self.carry * POW10[new_chars] + bits, in next() 457 let out = (self.carry, NUM_CHARS_BITS[self.carry_len]); in next()
|
D | drm_mipi_dbi.c | 917 u8 val, carry = 0; in mipi_dbi_spi1e_transfer() local 925 *dst++ = carry | BIT(8 - i) | (val >> i); in mipi_dbi_spi1e_transfer() 926 carry = val << (8 - i); in mipi_dbi_spi1e_transfer() 929 *dst++ = carry | BIT(8 - i) | (val >> i); in mipi_dbi_spi1e_transfer() 930 carry = val << (8 - i); in mipi_dbi_spi1e_transfer() 933 *dst++ = carry; in mipi_dbi_spi1e_transfer() 937 *dst++ = carry | BIT(8 - i) | (val >> i); in mipi_dbi_spi1e_transfer() 938 carry = val << (8 - i); in mipi_dbi_spi1e_transfer() 940 *dst++ = carry; in mipi_dbi_spi1e_transfer()
|
/linux-6.12.1/drivers/clk/ti/ |
D | clkt_dpll.c | 144 int r = 0, carry = 0; in _dpll_test_mult() local 148 carry = 1; in _dpll_test_mult() 149 *m = (*m / DPLL_SCALE_FACTOR) + carry; in _dpll_test_mult()
|
/linux-6.12.1/net/netfilter/ |
D | nft_bitwise.c | 42 u32 carry = 0; in nft_bitwise_eval_lshift() local 45 dst[i - 1] = (src[i - 1] << shift) | carry; in nft_bitwise_eval_lshift() 46 carry = src[i - 1] >> (BITS_PER_TYPE(u32) - shift); in nft_bitwise_eval_lshift() 55 u32 carry = 0; in nft_bitwise_eval_rshift() local 58 dst[i] = carry | (src[i] >> shift); in nft_bitwise_eval_rshift() 59 carry = src[i] << (BITS_PER_TYPE(u32) - shift); in nft_bitwise_eval_rshift()
|
/linux-6.12.1/arch/powerpc/boot/ |
D | devtree.c | 172 int i, carry = 0; in add_reg() local 175 u64 tmp = (u64)be32_to_cpu(reg[i]) + be32_to_cpu(add[i]) + carry; in add_reg() 176 carry = tmp >> 32; in add_reg() 180 return !carry; in add_reg()
|