Lines Matching refs:nbytes
18 __chksum_arm_simd(const void *ptr, unsigned int nbytes) in __chksum_arm_simd() argument
23 if (unlikely(nbytes < 40)) in __chksum_arm_simd()
25 uint64_t sum = slurp_small(ptr, nbytes); in __chksum_arm_simd()
31 Assert(nbytes >= 8); in __chksum_arm_simd()
47 nbytes -= 8 - off; in __chksum_arm_simd()
57 for (uint32_t i = 0; i < nbytes / 64; i++) in __chksum_arm_simd()
69 nbytes %= 64; in __chksum_arm_simd()
77 while (likely(nbytes >= 16)) in __chksum_arm_simd()
82 nbytes -= 16; in __chksum_arm_simd()
84 Assert(nbytes < 16); in __chksum_arm_simd()
101 if (nbytes & 8) in __chksum_arm_simd()
107 nbytes -= 8; in __chksum_arm_simd()
109 Assert(nbytes < 8); in __chksum_arm_simd()
112 if (likely(nbytes != 0)) in __chksum_arm_simd()
115 Assert(nbytes < 8); in __chksum_arm_simd()
119 int64x1_t vshiftr = vdup_n_s64(-CHAR_BIT * (8 - nbytes)); in __chksum_arm_simd()