Searched refs:psum (Results 1 – 5 of 5) sorted by relevance
174 __sum16 *psum = (__sum16 *)(ptr + offset); in remcsum_adjust() local182 (__force __wsum)*psum); in remcsum_adjust()183 *psum = csum_fold(csum); in remcsum_adjust()188 static __always_inline void remcsum_unadjust(__sum16 *psum, __wsum delta) in remcsum_unadjust() argument190 *psum = csum_fold(csum_sub(delta, (__force __wsum)*psum)); in remcsum_unadjust()
238 __wsum psum) in __skb_gro_checksum_validate_complete() argument241 !csum_fold(csum_add(psum, NAPI_GRO_CB(skb)->csum))) in __skb_gro_checksum_validate_complete()244 NAPI_GRO_CB(skb)->csum = psum; in __skb_gro_checksum_validate_complete()
345 int pcum = 0, psum = 0; in atp_calculate_abs() local420 psum += dev->smooth[i]; in atp_calculate_abs()424 if (psum > 0) { in atp_calculate_abs()425 *z = psum >> ATP_SCALE; /* Scale down pressure output. */ in atp_calculate_abs()426 return pcum * fact / psum; in atp_calculate_abs()
3383 int psum = PP_MSK_PSUM_MB, units = 0; in partition_tape() local3424 psum = PP_MSK_PSUM_UNITS; in partition_tape()3429 if (psum == PP_MSK_PSUM_MB && size >= 65534) { in partition_tape()3431 psum = PP_MSK_PSUM_UNITS; in partition_tape()3478 bp[pgo + PP_OFF_FLAGS] = PP_BIT_IDP | psum | in partition_tape()
4620 __wsum psum) in __skb_checksum_validate_complete() argument4623 if (!csum_fold(csum_add(psum, skb->csum))) { in __skb_checksum_validate_complete()4629 skb->csum = psum; in __skb_checksum_validate_complete()