Home
last modified time | relevance | path

Searched refs:psum (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/include/net/
A Dchecksum.h174 __sum16 *psum = (__sum16 *)(ptr + offset); in remcsum_adjust() local
182 (__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() argument
190 *psum = csum_fold(csum_sub(delta, (__force __wsum)*psum)); in remcsum_unadjust()
A Dgro.h221 __wsum psum) in __skb_gro_checksum_validate_complete() argument
224 !csum_fold(csum_add(psum, NAPI_GRO_CB(skb)->csum))) in __skb_gro_checksum_validate_complete()
227 NAPI_GRO_CB(skb)->csum = psum; in __skb_gro_checksum_validate_complete()
/linux-6.3-rc2/arch/ia64/lib/
A Dcsum_partial_copy.c35 unsigned long do_csum_c(const unsigned char * buff, int len, unsigned int psum) in do_csum_c() argument
38 unsigned long result = (unsigned long)psum; in do_csum_c()
/linux-6.3-rc2/drivers/input/mouse/
A Dappletouch.c345 int pcum = 0, psum = 0; in atp_calculate_abs() local
420 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()
/linux-6.3-rc2/drivers/scsi/
A Dst.c3381 int psum = PP_MSK_PSUM_MB, units = 0; in partition_tape() local
3422 psum = PP_MSK_PSUM_UNITS; in partition_tape()
3427 if (psum == PP_MSK_PSUM_MB && size >= 65534) { in partition_tape()
3429 psum = PP_MSK_PSUM_UNITS; in partition_tape()
3476 bp[pgo + PP_OFF_FLAGS] = PP_BIT_IDP | psum | in partition_tape()
/linux-6.3-rc2/include/linux/
A Dskbuff.h4447 __wsum psum) in __skb_checksum_validate_complete() argument
4450 if (!csum_fold(csum_add(psum, skb->csum))) { in __skb_checksum_validate_complete()
4456 skb->csum = psum; in __skb_checksum_validate_complete()

Completed in 24 milliseconds